Re: [Nmap-scanner-general] Scanner examples
Brought to you by:
perldork
From: Max <nm...@we...> - 2004-04-18 15:57:42
|
Ravi, What version of Nmap::Scanner are you using? It looks like you are not using the latest version, 0.7, as that has multiple host names per host .. I recommend you upgrade if this is the case .. please let me know. I suggest this because between version .5 (CPAN version) and .7 many bugs were fixed. I will be uploading .7 to CPAN shortly. Max On Sun, 17 Apr 2004, "Ravi Malghan" wrote: > Max: Thanks.The problem I am having is figuring out the structure of the > $results. I donot seem to be getting value for $host->name(). > > For example the perl script has the following lines: > ============ > my $hosts = $results->get_host_list(); > while(my $host = $hosts->get_next()) { > print "On ". $host->name() .": \n"; > ... > ... > ========= > When I run the script, I donot get the name of the host thatz being scanned. > > #./scan.pl 129.44.171.87-90 > On : > On : > On : > On : > # > |