Re: [Nmap-scanner-general] Scanner examples
Brought to you by:
perldork
From: Max <nm...@we...> - 2004-04-18 02:44:30
|
Ravi, On Fri, 16 Apr 2004 18:08:39 EDT, "Ravi Malghan" wrote: > Hi: I am trying to build a simple script which will ping a subnet and = > tell me all the IP addresses that are pingable in a variable inside the = > script. I am trying to get started using the pingscan.pl under the = > example directory. When I run nmap from command prompt, it gives me the = > hosts which are up > > Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-04-16 17:18 = > EDT > Host 137.45.171.66.subscriber.vzavenue.net (66.171.45.137) appears to be = > up. > Nmap run completed -- 256 IP addresses (1 host up) scanned in 63.600 = > seconds > > But when I run pingscan, I get no output > ./pingscan.pl 66.171.45.* > > Is the usage of the Nmap::Scanner->new(); described anywhere. perldoc Nmap::Scanner perldoc Nmap::Scanner::Scanner Also, when running a script from the shell, be sure to enclose wildcards in quotes: ./pingscan.pl '66.171.45.*' Thank you for trying out the module .. please let us know if that doesn't help or you need more help. Regards, Max |