removing code that's not used
the 'chop if' was not useful, as $kernel was not really used afterwards.
This commit is contained in:
parent
cccf805438
commit
ef1bfe921c
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ foreach my $key ( keys %exploits ) {
|
|||
|
||||
# printf "DEBUG:vuln:%s kernel:%s lk:%s\n", $key,$kernel,$khost;
|
||||
if ( $khost eq $kernel ) {
|
||||
chop($kernel) if ( $kernel =~ /.$/ );
|
||||
print "[+] " . $key;
|
||||
my $alt = $exploits{$key}{alt};
|
||||
my $cve = $exploits{$key}{cve};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue