Changeset 281


Ignore:
Timestamp:
01/27/2010 04:27:10 AM (3 years ago)
Author:
sullo
Message:

Added new LW evasions
Test for a bad osvdb id in db_tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/nikto_core.plugin

    r274 r281  
    443443 $NIKTO{'anti_ids'}{7}="Change the case of the URL"; 
    444444 $NIKTO{'anti_ids'}{8}="Use Windows directory separator (\\)"; 
     445 $NIKTO{'anti_ids'}{A}="Use a carriage return (0x0d) as a request spacer"; 
     446 $NIKTO{'anti_ids'}{B}="Use binary value 0x0b as a request spacer"; 
    445447 
    446448 $NIKTO{'mutate_opts'}{1}="Test all files with all root directories"; 
     
    10801082           if ($line !~ /^(\".*\",){11}\".*\"/) { print STDERR "\t+ ERROR: Invalid syntax ($#L): $line\n"; next; } 
    10811083           if (($L[3] =~ /^\@CG/) && ($L[3] !~ /^\@CGIDIRS/)) { print STDERR "\t+ ERROR: Possible \@CGIDIRS misspelling: $line"; } 
     1084           if ($L[1] =~ /[^0-9]/) { print STDERR "\t+ ERROR: Invalid OSVDB ID: $line"; } 
    10821085           $ENTRIES{"$L[3],$L[4],$L[5],$L[6],$L[7],$L[8],$L[9],$L[11],$L[12]"}++; 
    10831086           if ((count_fields($line, 1) ne 12) && (count_fields($line) ne '')) { print STDERR "\t+ ERROR: Invalid syntax: $line\n"; } 
Note: See TracChangeset for help on using the changeset viewer.