Changeset 143
- Timestamp:
- 08/04/09 21:52:29 (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
docs/CHANGES.txt (modified) (1 diff)
-
plugins/nikto_core.plugin (modified) (2 diffs)
-
plugins/nikto_httpoptions.plugin (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/CHANGES.txt
r142 r143 1 1 2009-08-04 plugin/nikto_core 2 2 - Patch to actually report the URI when it works out a password 3 - Added test for DEBUG HTTP verb 3 4 2009-08-03 plugin/nikto.pl 4 5 - Put in a quick catch for port ranges (e.g. 80-90) if people use the -
trunk/plugins/nikto_core.plugin
r142 r143 461 461 -dbcheck check database and other key files for syntax errors (cannot be abbreviated) 462 462 -evasion+ ids evasion technique 463 -Format+ save file (-o) format464 -host+ target host465 -Help Extended help information463 -Format+ save file (-o) format 464 -host+ target host 465 -Help Extended help information 466 466 -id+ host authentication to use, format is userid:password 467 467 -mutate+ Guess additional file names 468 -mutate-options+ Provide extra information for mutations469 -output+ write output to this file470 -nossl disables using SSL471 -no404 disables 404 checks472 -port+ port to use (default 80)473 -Display+ turn on/off display outputs474 -ssl force ssl mode on port468 -mutate-options+ Provide extra information for mutations 469 -output+ Write output to this file 470 -nossl Disables using SSL 471 -no404 Disables 404 checks 472 -port+ Port to use (default 80) 473 -Display+ Turn on/off display outputs 474 -ssl Force ssl mode on port 475 475 -Single Single request mode 476 -timeout+ timeout (default 2 seconds)477 -Tuning+ scan tuning478 -update update databases and plugins from cirt.net (cannot be abbreviated)479 -Version print plugin and database versions480 -vhost+ virtual host (for Host header)476 -timeout+ Timeout (default 2 seconds) 477 -Tuning+ Scan tuning 478 -update Update databases and plugins from cirt.net (cannot be abbreviated) 479 -Version Print plugin and database versions 480 -vhost+ Virtual host (for Host header) 481 481 + requires a value 482 482 "; … … 484 484 $NIKTO{options}=" 485 485 Options: 486 -config+ use this config file487 -Cgidirs+ scan these CGI dirs: 'none', 'all', or values like \"/cgi/ /cgi-a/\"488 -Display+ turn on/off display outputs:\n";486 -config+ Use this config file 487 -Cgidirs+ Scan these CGI dirs: 'none', 'all', or values like \"/cgi/ /cgi-a/\" 488 -Display+ Turn on/off display outputs:\n"; 489 489 foreach my $k (sort keys %{$NIKTO{display}}) 490 490 { $NIKTO{options} .= " $k $NIKTO{display}{$k}\n"; } 491 491 492 $NIKTO{options}.=" -dbcheck check database and other key files for syntax errors (cannot be abbreviated)493 -evasion+ idsevasion technique:\n";492 $NIKTO{options}.=" -dbcheck Check database and other key files for syntax errors (cannot be abbreviated) 493 -evasion+ IDS evasion technique:\n"; 494 494 foreach my $k (sort keys %{$NIKTO{anti_ids}}) 495 495 { $NIKTO{options} .= " $k $NIKTO{anti_ids}{$k}\n"; } 496 496 497 $NIKTO{options}.=" -findonly find http(s) ports only, don't perform a full scan498 -Format+ save file (-o) format:497 $NIKTO{options}.=" -findonly Find http(s) ports only, don't perform a full scan 498 -Format+ Save file (-o) format: 499 499 htm HTML Format 500 500 csv Comma-separated-value 501 501 txt Plain text (default if not specified) 502 xml XML Format503 -host+ target host504 -Help Extended help information505 -id+ host authentication to use, format is userid:password506 -mutate+ Guess additional file names:\n";502 xml XML Format 503 -host+ Target host 504 -Help Extended help information 505 -id+ Host authentication to use, format is userid:password 506 -mutate+ Guess additional file names:\n"; 507 507 foreach my $k (sort keys %{$NIKTO{mutate_opts}}) 508 508 { $NIKTO{options} .= " $k $NIKTO{mutate_opts}{$k}\n"; } 509 509 510 510 $NIKTO{options}.=" -mutate-options Provide information for mutates 511 -nolookup skip name lookup512 -nossl disables using SSL513 -no404 disables nikto attempting to guess a 404 page514 -output+ write output to this file515 -port+ port to use (default 80)516 -Pause+ pause between tests (seconds)\n";517 518 $NIKTO{options}.=" -root+ prepend root value to all requests, format is /directory519 -ssl force ssl mode on port520 -Single Single request mode521 -timeout+ timeout (default 2 seconds)522 -Tuning+ scan tuning:\n";511 -nolookup Skip name lookup 512 -nossl Disables using SSL 513 -no404 Disables nikto attempting to guess a 404 page 514 -output+ Write output to this file 515 -port+ Port to use (default 80) 516 -Pause+ Pause between tests (seconds)\n"; 517 518 $NIKTO{options}.=" -root+ Prepend root value to all requests, format is /directory 519 -ssl Force ssl mode on port 520 -Single Single request mode 521 -timeout+ Timeout (default 2 seconds) 522 -Tuning+ Scan tuning:\n"; 523 523 foreach my $k (sort keys %{$NIKTO{tuning}}) 524 524 { $NIKTO{options} .= " $k $NIKTO{tuning}{$k}\n"; } 525 525 526 $NIKTO{options}.=" -useproxy use the proxy defined in config.txt527 -update update databases and plugins from cirt.net (cannot be abbreviated)528 -Version print plugin and database versions529 -vhost+ virtual host (for Host header)526 $NIKTO{options}.=" -useproxy Use the proxy defined in config.txt 527 -update Update databases and plugins from cirt.net (cannot be abbreviated) 528 -Version Print plugin and database versions 529 -vhost+ Virtual host (for Host header) 530 530 + requires a value 531 531 "; -
trunk/plugins/nikto_httpoptions.plugin
r134 r143 77 77 78 78 # Check for other weirdness 79 # IIS Debug 80 81 ($RES, $CONTENT) = fetch("/","DEBUG",); 82 if ($RES == 200) 83 { 84 add_vulnerability($mark,"DEBUG HTTP verb may show server debugging information",999972,0,"DEBUG"); 85 } 79 86 # IIS PROPFIND HEADER 80 87 my %headers=( … … 90 97 $ipfound =~ s/^.*<a:href>//g; 91 98 $ipfound =~ s/<\/a:href>.*$//g; 92 add_vulnerability($mark,"PROPFIND may show the server's internal IP address: $ipfound",999973,13431);99 add_vulnerability($mark,"PROPFIND HTTP verb may show the server's internal IP address: $ipfound",999973,13431); 93 100 } 94 101 } … … 109 116 if ($CONTENT =~ "Nikto") 110 117 { 111 add_vulnerability($mark,"HTTP $method method is active, suggesting the host is vulnerable to XST",99997 4,877);118 add_vulnerability($mark,"HTTP $method method is active, suggesting the host is vulnerable to XST",999971,877); 112 119 # now we know its vulnerable stop testing 113 120 last;
Note: See TracChangeset
for help on using the changeset viewer.