Home page logo
/

nmap-dev logo Nmap Development mailing list archives

nmap from PHP script.
From: Daniel Cba. <danielcba () hotmail com>
Date: Tue, 15 Feb 2011 14:12:21 +0000


hello people
when I run nmap from a php script finds 26 hosts 
 
<?php
$output = shell_exec('nmap -sP 10.101.154.1-255');
echo "<pre>$output</pre>";
?> 
 
Nmap done: 255 IP addresses (26 hosts up) scanned in 8.62 seconds

and from command line finds 104 host
#root>nmap -sP 10.101.154.1-255
 
Nmap done: 255 IP addresses (104 hosts up) scanned in 5.43 seconds
 
this is the right forum? or should I consult a list of php?
thank you very much.-                                     
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault