Skip to content

Commit

Permalink
Fix typo which caused additional bug in #843
Browse files Browse the repository at this point in the history
  • Loading branch information
Sullo committed Sep 30, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent fcc6ce8 commit a72f20b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions program/plugins/nikto_core.plugin
Original file line number Diff line number Diff line change
@@ -1252,7 +1252,6 @@ sub set_targets {
push(@checkhosts, $host);
}
}

# Now parse the list of checkhosts
foreach my $host (@checkhosts) {
$host =~ s/\s+//g;
@@ -1317,12 +1316,11 @@ sub set_targets {
foreach my $p (@ports) {
my $markhash = {
'port' => $p,
'root' => $ti,
'ident' => $th };
'root' => $tr,
'ident' => $ti };

$markhash->{'port'} = $p;
push(@marks, $markhash);

}
}
}

0 comments on commit a72f20b

Please sign in to comment.