2011-09-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Remove nmap warnings from output. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b439f6161b
commit
e11d6d5569
|
@ -1,3 +1,7 @@
|
|||
2011-09-06 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/NmapParser.pm: Remove nmap warnings from output.
|
||||
|
||||
2011-09-05 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* conf/pandora_server.conf: Disable ICMP and SNMP enterprise servers
|
||||
|
|
|
@ -145,7 +145,7 @@ sub parsescan {
|
|||
else {
|
||||
$cmd = "$nmap $args -v -v -v -oX - " . ( join ' ', @ips );
|
||||
open $FH,
|
||||
"$cmd |" || die "[Nmap-Parser] Could not perform nmap scan - $!";
|
||||
"$cmd 2>/dev/null |" || die "[Nmap-Parser] Could not perform nmap scan - $!";
|
||||
$self->parse($FH);
|
||||
close $FH;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue