Skip to content

Commit

Permalink
Fixed indent style
Browse files Browse the repository at this point in the history
git-svn-id: http://svn2.assembla.com/svn/Nikto_2@753 cb301202-1dc0-4f3e-a0a0-cd5d3132b0a9
  • Loading branch information
jay.bahn committed May 31, 2012
1 parent 4abc34a commit fa5f86c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trunk/plugins/nikto_headers.plugin
Expand Up @@ -137,7 +137,7 @@ sub nikto_headers {
$request{'whisker'}->{'method'} = "GET";
$request{'whisker'}{'version'} = "1.0";
$request{'User-Agent'} = $VARIABLES{'useragent'};
$request{'User-Agent'} =~ s/\@TESTID/headers:\ IIS\ internal\ IP/;
$request{'User-Agent'} =~ s/\@TESTID/headers:\ IIS\ internal\ IP/;

LW2::http_do_request_timeout(\%request, \%result);
$COUNTERS{'totalrequests'}++;
Expand All @@ -160,7 +160,7 @@ sub nikto_headers {
$request{'whisker'}->{'method'} = "GET";
$request{'whisker'}{'version'} = "1.0";
$request{'User-Agent'} = $VARIABLES{'useragent'};
$request{'User-Agent'} =~ s/\@TESTID/headers:\ IIS\ internal\ IP/;
$request{'User-Agent'} =~ s/\@TESTID/headers:\ IIS\ internal\ IP/;
delete $request{'whisker'}{'Host'};
delete $request{'Host'};
sleeper();
Expand Down Expand Up @@ -193,7 +193,7 @@ sub nikto_headers {
$request{'whisker'}->{'method'} = "GET";
$request{'whisker'}{'version'} = "1.0";
$request{'User-Agent'} = $VARIABLES{'useragent'};
$request{'User-Agent'} =~ s/\@TESTID/headers:\ WebLogic\ internal\ IP/;
$request{'User-Agent'} =~ s/\@TESTID/headers:\ WebLogic\ internal\ IP/;
sleeper();
LW2::http_do_request_timeout(\%request, \%result);
$COUNTERS{'totalrequests'}++;
Expand Down

0 comments on commit fa5f86c

Please sign in to comment.