removing code that's not used

the 'chop if' was not useful, as $kernel was not really
used afterwards.
This commit is contained in:
Breno G. de Oliveira 2013-09-05 16:47:00 -03:00
commit ef1bfe921c

View file

@ -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};