[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix for sullo#737 in master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sullo committed Sep 17, 2021
1 parent 1b5fc65 commit c766d2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions program/plugins/nikto_tests.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sub nikto_tests_init {
sub nikto_tests {
return if $mark->{'terminate'};
my ($mark, $parameters) = @_;
my (@tids, $data);
my @tids;

if (defined $parameters->{'tids'}) {
@tids = expand_range($parameters->{'tids'});
Expand All @@ -61,8 +61,8 @@ sub nikto_tests {
# Now repeat for each uri
URI: foreach my $uri (@urilist) {
return if $mark->{'terminate'};
my %headrs;
my %flags;
my (%headrs, %flags, $data);

if ($TESTS{$checkid}{'headers'} ne '') {
my $header = unslash($TESTS{$checkid}{'headers'});
foreach my $h (split /\r\n/, $header) {
Expand Down

0 comments on commit c766d2e

Please sign in to comment.