Changeset 284
- Timestamp:
- 01/27/2010 05:28:56 AM (3 years ago)
- Location:
- trunk/plugins
- Files:
-
- 6 edited
-
nikto_cgi.plugin (modified) (2 diffs)
-
nikto_dictionary_attack.plugin (modified) (1 diff)
-
nikto_embedded.plugin (modified) (1 diff)
-
nikto_headers.plugin (modified) (4 diffs)
-
nikto_httpoptions.plugin (modified) (2 diffs)
-
nikto_user_enum_apache.plugin (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/nikto_cgi.plugin
r268 r284 41 41 my @POSSIBLECGI=(); 42 42 my @CFGCGI=(split(/ /,$VARIABLES{"\@CGIDIRS"})); 43 my ($res, $ possiblecgidir, $found) ="";43 my ($res, $content, $possiblecgidir, $found) =""; 44 44 45 45 if (defined $CLI{'forcecgi'} && $CLI{'forcecgi'} eq "all") # all possible CGI dirs to be "true" … … 62 62 foreach $possiblecgidir (@CFGCGI) 63 63 { 64 ($res, $ CONTENT)=nfetch($mark,$possiblecgidir,"GET");64 ($res, $content)=nfetch($mark,$possiblecgidir,"GET"); 65 65 nprint("Checked for CGI dir\t$possiblecgidir\tgot:$res","d"); 66 66 if (content_present($res) eq TRUE) -
trunk/plugins/nikto_dictionary_attack.plugin
r277 r284 67 67 my $dir=$_; 68 68 if (($ctr % 100) == 0) { nprint("- Directory enumeration guess $ctr ($dir): /$dir/", "v"); } 69 (my$result, $content) = nfetch($mark,"/$dir/", "HEAD");69 my ($result, $content) = nfetch($mark,"/$dir/", "HEAD"); 70 70 foreach my $found (split(/ /, $VARIABLES{"\@HTTPFOUND"})) 71 71 { -
trunk/plugins/nikto_embedded.plugin
r240 r284 64 64 $model =~ s/\+/ /g; 65 65 66 if ( model ne "")66 if ($model ne "") 67 67 { 68 68 add_vulnerability($mark, "$item->{message} $model",$item->{nikto_id}, 0, "GET", $item->{uri}); -
trunk/plugins/nikto_headers.plugin
r269 r284 50 50 { 51 51 (my $res, $content) = nfetch($mark,$f, "GET", "", \%headers); 52 if (defined $headers{ x-powered-by}) { $xpb{ $headers{x-powered-by} } = 1; }52 if (defined $headers{'x-powered-by'}) { $xpb{ $headers{'x-powered-by'} } = 1; } 53 53 } 54 54 … … 72 72 if ($res eq "200") 73 73 { 74 $transheaders{ Translate}="f";74 $transheaders{'Translate'}="f"; 75 75 ($res, $content) = nfetch($mark,$f . "\\", "GET", "", \%transheaders); 76 76 if ($res eq "200") … … 87 87 ####################################################################### 88 88 # Servlet-Engine info 89 if (defined $headers{ servlet-engine})90 { 91 my $x = $headers{ servlet-engine};89 if (defined $headers{'servlet-engine'}) 90 { 91 my $x = $headers{'servlet-engine'}; 92 92 $x = ~s/\(.*$//; 93 93 $x =~ s/\s+//g; … … 215 215 216 216 # Now we have a header, let's check ETag for inode 217 if (defined $headers{ etag})218 { 219 my $etag=$headers{ etag};217 if (defined $headers{'etag'}) 218 { 219 my $etag=$headers{'etag'}; 220 220 $etag =~ s/"//g; 221 221 my @fields = split("-",$etag); -
trunk/plugins/nikto_httpoptions.plugin
r240 r284 83 83 } 84 84 # IIS PROPFIND HEADER 85 my%headers=(85 %headers=( 86 86 "Host" => "", 87 87 "Content-Length" => "0", … … 100 100 101 101 # Special checks for TRACE/TRACK to see whether its vulnerable 102 my%headers=(102 %headers=( 103 103 "Host" => "Nikto", 104 104 ); -
trunk/plugins/nikto_user_enum_apache.plugin
r283 r284 123 123 { 124 124 if (($ctr % 500) eq 0) { nprint("- User enumeration guess $ctr ($text)", "v"); } 125 ( my$result, $content) = nfetch($mark, $url . $text, "HEAD");125 ($result, $content) = nfetch($mark, $url . $text, "HEAD"); 126 126 my $user = nikto_user_enum_apache_check($result, $text); 127 127 if (defined $user) … … 164 164 if ($_ eq "" ) { next }; 165 165 if (($ctr % 500) == 0) { nprint("- User enumeration guess $ctr ($_)", "v"); } 166 ( my$result, $content) = nfetch($mark, $url . $_, "HEAD");166 ($result, $content) = nfetch($mark, $url . $_, "HEAD"); 167 167 my $user = nikto_user_enum_apache_check($result, $_); 168 168 if ($user)
Note: See TracChangeset
for help on using the changeset viewer.