[go: nahoru, domu]

Skip to content

Commit

Permalink
lowercase headers from db_tests so they match what's already in %whisker
Browse files Browse the repository at this point in the history
  • Loading branch information
sullo committed Jul 25, 2019
1 parent 5c1ed54 commit 0c53cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions program/plugins/nikto_tests.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sub nikto_tests {
my $header = unslash($TESTS{$checkid}{'headers'});
foreach my $h (split /\r\n/, $header) {
my ($key, $value) = split(/: /, $h);
lc($key);
$headrs{$key} = $value;
}
$headrs{'host'} = $mark->{'hostname'} unless ($headrs{'host'}); # Kludge not to override host injection vectors
Expand Down

0 comments on commit 0c53cb5

Please sign in to comment.