nmap-scanner-general Mailing List for Nmap::Scanner
Brought to you by:
perldork
You can subscribe to this list here.
2004 |
Jan
|
Feb
(6) |
Mar
(2) |
Apr
(8) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(24) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Max <nm...@we...> - 2009-03-08 03:35:21
|
Hi Ben, Sheesh, i can't believe i missed this. Sorry. On Sat, Aug 30, 2008 at 1:39 AM, Ben <com...@ea...> wrote: > Hello, > > I was wondering what the current status of this project is? Is it kept current with new features in nmap releases and is it compatible with the most recent versions of nmap? I've recently started work on a commercial application which implements perl as a framework and we are looking for a solution to integrate nmap into our code. I haven't kept up with it lately, I welcome help to update it :), I do plan on updating it. I haven't updated it since NSE started unfortunately, really want to get it back up to speed with current nmap. > I was also wondering what the licensing schema compatability was with commercial (non open source) applications (I'm not very familiar with LGPL). The LGPL is very loose about inclusion of a project in commercial applications. I would like to have credits if you do decide to use the library :) and i would be very interested in knowing what app it is used in if you go that route, but the license itself is pretty liberal. http://www.gnu.org/copyleft/lesser.html If you use the library, just make sure your lawyers read and understand the license. - Max |
From: Ben <com...@ea...> - 2008-08-30 06:39:07
|
Hello, I was wondering what the current status of this project is? Is it kept current with new features in nmap releases and is it compatible with the most recent versions of nmap? I've recently started work on a commercial application which implements perl as a framework and we are looking for a solution to integrate nmap into our code. I was also wondering what the licensing schema compatability was with commercial (non open source) applications (I'm not very familiar with LGPL). Thanks, Ben |
From: Max <nm...@we...> - 2006-11-25 13:46:08
|
Hi Michael, First, please download the latest release from http://nmap-scanner.sf.net/ and see if you get the same results, the error reporting in 0.9 is not as good as 1.0. Please post your results when you do that. Please also post the version of nmap you are using. I release to sf.net first to try and work out bugs before committing the module to CPAN :). Sorry for the slow response and thank you for posting. Regards, Max On 11/21/06, Michael Bay <mb...@ao...> wrote: > This is the script I am using from the perldoc example; > > #! /usr/bin/perl > > use Nmap::Scanner; > > # Batch scan method > > my $scanner = new Nmap::Scanner; > $scanner->tcp_syn_scan(); > $scanner->add_scan_port('1-1024'); > $scanner->add_scan_port(8080); > $scanner->guess_os(); > $scanner->max_rtt_timeout(200); > $scanner->add_target('my.target.host.com'); > > # $results is an instance of Nmap::Scanner::Backend::Results > my $results = $scanner->scan(); > > # Print the results out as an well-formatted XML document > print $results->as_xml(); > > > > This is the output I am getting; > > Unable to recognise encoding of this document at > /usr/lib/perl5/site_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96. > <nmap-error> > <pid="2855"/> > <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 8080,1-1024 -O > --max_rtt_timeout 200 -oX - my.target.host.com"/> > <perl-msg>Document requires an element [Ln: 1, Col: 0] > </perl-msg> > <nmap-msg></nmap-msg> > </nmap-error> > 82 > > > I installed Nmap::Scanner from CPAN on fedora core 5 machine. What am I > am I doing wrong here? Any and all help is very much appreciated. I > am new to perl scripting.. But I love nmap it rocks.. > > Thanks for everyone's time. > > Cheers, > Michael Bay > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Michael B. <mb...@ao...> - 2006-11-21 22:05:51
|
This is the script I am using from the perldoc example; #! /usr/bin/perl use Nmap::Scanner; # Batch scan method my $scanner = new Nmap::Scanner; $scanner->tcp_syn_scan(); $scanner->add_scan_port('1-1024'); $scanner->add_scan_port(8080); $scanner->guess_os(); $scanner->max_rtt_timeout(200); $scanner->add_target('my.target.host.com'); # $results is an instance of Nmap::Scanner::Backend::Results my $results = $scanner->scan(); # Print the results out as an well-formatted XML document print $results->as_xml(); This is the output I am getting; Unable to recognise encoding of this document at /usr/lib/perl5/site_perl/5.8.8/XML/SAX/PurePerl/EncodingDetect.pm line 96. <nmap-error> <pid="2855"/> <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 8080,1-1024 -O --max_rtt_timeout 200 -oX - my.target.host.com"/> <perl-msg>Document requires an element [Ln: 1, Col: 0] </perl-msg> <nmap-msg></nmap-msg> </nmap-error> 82 I installed Nmap::Scanner from CPAN on fedora core 5 machine. What am I am I doing wrong here? Any and all help is very much appreciated. I am new to perl scripting.. But I love nmap it rocks.. Thanks for everyone's time. Cheers, Michael Bay |
From: Clayton D. \(cdukes\) <cd...@ci...> - 2006-11-10 04:27:49
|
Sounds like a great idea :-) =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Schubert Sent: Thursday, November 09, 2006 10:00 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Failure on unresolved DNS Clayton, Nice script, I just ran it at home and didn't have that issue, I am running 4.20ALPHA5, can you try upgrading your version of Nmap to the latest and see if you still get this error? I am thinking maybe I should add a "no die on nmap warning" option that would tell the parser to ignore WARNING messages from nmap .. somthing like $nmap->ignore_nmap_warnings(); Sound good to you? Also, do you mind if I include your script as part of the examples/ directory (with your original comments etc) that are delivered with the module? Thanks, Max On 11/5/06, Dukes Clayton <Cla...@hc...> wrote: > > > > Heya, > Ok, so I have this little utility that scans for port 22,23 and=20 > udp/161, but it's bombing out on errors. > Can you recommend a way to make it continue and just mark that host as down? > > Here's the result: > > > Running Total (91 of 2527 devices) > Up: 90 Down: 0 > SSH 60 Telnet 31 SNMP 90 > <nmap-error> > <pid=3D"6539"/> > <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -sU -v -v -v -p = T:22,23,U:161 > --max_rtt_timeout 200 -O 03663-3640-1-f-h.kyc.lo.mgmt.medcity.net -oX=20 > -"/> > > <nmap-err>Failed to resolve given hostname/IP: > 03663-3640-1-f-h.kyc.lo.xt.mxty.net. Note that you can't use '/mask'=20 > AND '[1-4,7,100-]' style IP ranges > > WARNING: No targets were specified, so 0 hosts scanned. > </nmap-msg> > </nmap-error> ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max S. <max...@gm...> - 2006-11-10 03:00:16
|
Clayton, Nice script, I just ran it at home and didn't have that issue, I am running 4.20ALPHA5, can you try upgrading your version of Nmap to the latest and see if you still get this error? I am thinking maybe I should add a "no die on nmap warning" option that would tell the parser to ignore WARNING messages from nmap .. somthing like $nmap->ignore_nmap_warnings(); Sound good to you? Also, do you mind if I include your script as part of the examples/ directory (with your original comments etc) that are delivered with the module? Thanks, Max On 11/5/06, Dukes Clayton <Cla...@hc...> wrote: > > > > Heya, > Ok, so I have this little utility that scans for port 22,23 and udp/161, but > it's bombing out on errors. > Can you recommend a way to make it continue and just mark that host as down? > > Here's the result: > > > Running Total (91 of 2527 devices) > Up: 90 Down: 0 > SSH 60 Telnet 31 SNMP 90 > <nmap-error> > <pid="6539"/> > <cmdline="'/usr/bin/nmap' -v -v -v -sS -sU -v -v -v -p T:22,23,U:161 > --max_rtt_timeout 200 -O > 03663-3640-1-f-h.kyc.lo.mgmt.medcity.net -oX -"/> > > <nmap-err>Failed to resolve given hostname/IP: > 03663-3640-1-f-h.kyc.lo.xt.mxty.net. Note that you can't > use '/mask' AND '[1-4,7,100-]' style IP ranges > > WARNING: No targets were specified, so 0 hosts scanned. > </nmap-msg> > </nmap-error> |
From: Max <nm...@we...> - 2006-11-10 02:52:38
|
Hi Clayton, Thanks for the correction :). On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > Just a quick noe: > Your perldoc example has "--max-rtt-timeout", but should be > "--max_rtt_timeout" > > Thanks for an awesome module! > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf Of > Max > Sent: Friday, November 03, 2006 1:01 PM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help > withexamplefromperldoc > > Yes :). > > - Max > > On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > > K, I feel dumb now -- sorry :-) > > Now I'm back to: > > Can't locate object method "address" via package > > "Nmap::Scanner::Address I looked at he class file and see: > > class 'Nmap::Scanner::Address' => { > > qw(addr $ > > addrtype $ > > vendor $), > > '&as_xml' => q!return qq(<address addr="$addr" ) . > > qq(addrtype="$addrtype" ) . > > qq(vendor="$vendor"/>);! > > }; > > > > So should "address" be "addr"? > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On Behalf > > Of Max > > Sent: Friday, November 03, 2006 11:14 AM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help > > withexamplefromperldoc > > > > Install Class::Generate :), it is a CPAN module, when you ran > > > > perl Makefile.PL > > > > You should have seen a warning that Class:Generate was a pre-requisite > > > and was not found, the module has these dependencies (from > > Makefile.PL): > > > > 'PREREQ_PM' => { > > 'IPC::Open3' => 0, > > 'XML::SAX' => 0, > > 'Class::Generate' => 0, > > 'File::Temp' => 0, > > 'LWP::UserAgent' => 0 > > } > > > > > > Regards, > > Max > > > > On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > > > Hrm... > > > So just to be sure, I grabbed v1..0 just now and did a make and make > > > > install and now I get: > > > > > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl > > > /usr/lib/perl5/site_perl/5.8.7/i386-linux > > > /usr/lib/perl5/site_perl/5.8.7 > > > /usr/lib/perl5/site_perl/5.8.6 > > > /usr/lib/perl5/site_perl/5.8.6/i386-linux > > > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > > > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 > > > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux > > > /usr/lib/perl5/vendor_perl > > > > > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 > > > /usr/local/lib/site_perl .) at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > > BEGIN failed--compilation aborted at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > > Compilation failed in require at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > > 61. > > > BEGIN failed--compilation aborted at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > > 61. > > > Compilation failed in require at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > > BEGIN failed--compilation aborted at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > > Compilation failed in require at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > > BEGIN failed--compilation aborted at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > > Compilation failed in require at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > > BEGIN failed--compilation aborted at > > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > > Compilation failed in require at ./synping.pl line 24. > > > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > > > > > > > -----Original Message----- > > > From: Dukes Clayton > > > Sent: Friday, November 03, 2006 10:39 AM > > > To: 'Nmap::Scanner list' > > > Subject: RE: [Nmap-scanner-general] Need a little help > > > withexamplefromperldoc > > > > > > Ok, so now I get: > > > Can't locate object method "address" via package > > > "Nmap::Scanner::Address" > > > > > > Heh > > > > > > > > > -----Original Message----- > > > From: nma...@li... > > > [mailto:nma...@li...] On > > > Behalf Of Max > > > Sent: Friday, November 03, 2006 2:40 AM > > > To: Nmap::Scanner list > > > Subject: Re: [Nmap-scanner-general] Need a little help > > > withexamplefromperldoc > > > > > > Change ->name() to ->hostname(). > > > > > > - Max > > > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > > Not sure I follow you -- change what? > > > > > > > > > > > > -----Original Message----- > > > > From: nma...@li... > > > > [mailto:nma...@li...] On > > > > Behalf Of Max > > > > Sent: Thursday, November 02, 2006 4:05 PM > > > > To: Nmap::Scanner list > > > > Subject: Re: [Nmap-scanner-general] Need a little help with > > > > examplefromperldoc > > > > > > > > I will check my perldoc again, please let me know if changing the > > > > name > > > > > > > of that getter resolves your issue. > > > > > > > > Thank you, > > > > Max > > > > > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > > > Hmmm, > > > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > > > > > ------------------------------------------------------------------ > > > > -- > > > > -- > > > > -- > > > > - > > > > Using Tomcat but need to do more? Need to support web services, > > > > security? > > > > Get stuff done quickly with pre-integrated technology to make your > > > > > job > > > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > > Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat= > > > > 12 > > > > 16 > > > > 42 _______________________________________________ > > > > Nmap-scanner-general mailing list > > > > Nma...@li... > > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > > > ------------------------------------------------------------------ > > > > -- > > > > -- > > > > --- Using Tomcat but need to do more? Need to support web > > > > services, security? > > > > Get stuff done quickly with pre-integrated technology to make your > > > > > job > > > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > > Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat= > > > > 12 > > > > 16 > > > > 42 _______________________________________________ > > > > Nmap-scanner-general mailing list > > > > Nma...@li... > > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > > > > > -------------------------------------------------------------------- > > > -- > > > -- > > > - > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > -------------------------------------------------------------------- > > > -- > > > --- Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > > ---------------------------------------------------------------------- > > -- > > - > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > > --- Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Dukes C. <Cla...@HC...> - 2006-11-06 04:48:05
|
Heya, Ok, so I have this little utility that scans for port 22,23 and udp/161, but it's bombing out on errors. Can you recommend a way to make it continue and just mark that host as down? Here's the result: Running Total (91 of 2527 devices) Up: 90 Down: 0 SSH 60 Telnet 31 SNMP 90 <nmap-error> <pid=3D"6539"/> <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -sU -v -v -v -p T:22,23,U:161 --max_rtt_timeout 200 -O 03663-3640-1-f-h.kyc.lo.mgmt.medcity.net -oX -"/> <nmap-err>Failed to resolve given hostname/IP: 03663-3640-1-f-h.kyc.lo.xt.mxty.net. Note that you can't use '/mask' AND '[1-4,7,100-]' style IP ranges WARNING: No targets were specified, so 0 hosts scanned. </nmap-msg> </nmap-error> And here's my script (I just learned perl so go easy on me :-)) # # synping.pl # # Developed by Clayton Dukes <cd...@ci...> # Licensed under terms of GNU General Public License. # All rights reserved. # # Changelog: # 2006-11-02 - created # # Wrote this to facilitate multithreaded, fast ping tests # $Platon$ use strict; use warnings; $| =3D 1; use Nmap::Scanner; open (FILE, $ARGV[0]); my $count =3D 1; my(@host_array) =3D <FILE>; # read file into list my $total =3D (@host_array); print "Checking $total hosts\n"; my (@up,@down,@telnet,@ssh,@snmp); # Initialize arrays to store results about each host. my ($upcount,$dncount); my $reportlog =3D "report.csv"; @host_array =3D sort(@host_array); # sort the list chomp (@host_array); if (@ARGV < 1){ usage(); } sub usage { print "Usage: synping.pl <hosts>\n"; print "Example:\n"; print "perl synping.pl hosts.txt\n"; exit(-1); } foreach my $hostname (@host_array) { my $scanner =3D new Nmap::Scanner; $scanner->register_scan_started_event(\&scan_started); $scanner->register_port_found_event(\&port_found); $scanner->scan("-sS -sU -v -v -v -p T:22,23,U:161 --max_rtt_timeout 200 -O $hostname"); my $upcount =3D (@up); my $dncount =3D (@down); my %sshhash =3D map { $_ =3D> 1 } @ssh; my @ssh =3D sort keys %sshhash; my %telnethash =3D map { $_ =3D> 1 } @telnet; my @telnet =3D sort keys %telnethash; my %snmphash =3D map { $_ =3D> 1 } @snmp; my @snmp =3D sort keys %snmphash; my $ssh =3D (@ssh); my $telnet =3D (@telnet); my $snmp =3D (@snmp); print "\n\t\t\tRunning Total ($count of $total devices)\n"; print "\t\t\tUp: $upcount\t\tDown: $dncount\n"; print "\t\t\tSSH $ssh\t\tTelnet $telnet\t\tSNMP $snmp\n"; $count++; } open CSV, ">$reportlog"; print CSV "SSH\n"; foreach my $hostname (@ssh) { print CSV "$hostname,"; } print CSV "\nTELNET\n"; foreach my $hostname (@telnet) { print CSV "$hostname,"; } print CSV "\nSNMP\n"; foreach my $hostname (@snmp) { print CSV "$hostname,"; } close CSV; if ($dncount) { print "Down Hosts\n"; print "@down\n"; } else { print "All hosts responded\n"; } sub scan_started { my $self =3D shift; my $host =3D shift; my $hostname =3D $host->hostname(); my $addresses =3D join(',', map {$_->addr()} = $host->addresses()); my $status =3D $host->status(); #print "$hostname ($addresses) is $status\n"; if ($host->status() =3D~ "up") { push(@up, $hostname); } else { push(@down, $hostname); } } sub port_found { my $self =3D shift; my $host =3D shift; my $port =3D shift; my $name =3D $host->hostname(); my $addresses =3D join(',', map {$_->addr()} = $host->addresses()); #print "On host $name ($addresses), found ", #$port->state()," port ", #join('/',$port->protocol(),$port->portid()),"\n"; if (($port->state() =3D~ "open") && ($port->portid() =3D=3D 22)) = { push(@ssh, $name); } elsif (($port->state() =3D~ "open") && ($port->portid() =3D=3D = 23)) { push(@telnet, $name); } elsif (($port->state() =3D~ "open") && ($port->portid() =3D=3D = 161)) { push(@snmp, $name); } } |
From: Dukes C. <Cla...@HC...> - 2006-11-03 19:05:17
|
Just a quick noe: Your perldoc example has "--max-rtt-timeout", but should be "--max_rtt_timeout"=20 Thanks for an awesome module! -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 1:01 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Yes :). - Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > K, I feel dumb now -- sorry :-) > Now I'm back to: > Can't locate object method "address" via package=20 > "Nmap::Scanner::Address I looked at he class file and see: > class 'Nmap::Scanner::Address' =3D> { > qw(addr $ > addrtype $ > vendor $), > '&as_xml' =3D> q!return qq(<address addr=3D"$addr" ) . > qq(addrtype=3D"$addrtype" ) . > qq(vendor=3D"$vendor"/>);! > }; > > So should "address" be "addr"? > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Friday, November 03, 2006 11:14 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Install Class::Generate :), it is a CPAN module, when you ran > > perl Makefile.PL > > You should have seen a warning that Class:Generate was a pre-requisite > and was not found, the module has these dependencies (from > Makefile.PL): > > 'PREREQ_PM' =3D> { > 'IPC::Open3' =3D> 0, > 'XML::SAX' =3D> 0, > 'Class::Generate' =3D> 0, > 'File::Temp' =3D> 0, > 'LWP::UserAgent' =3D> 0 > } > > > Regards, > Max > > On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > > Hrm... > > So just to be sure, I grabbed v1..0 just now and did a make and make > > install and now I get: > > > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl=20 > > /usr/lib/perl5/site_perl/5.8.7/i386-linux > > /usr/lib/perl5/site_perl/5.8.7 > > /usr/lib/perl5/site_perl/5.8.6 > > /usr/lib/perl5/site_perl/5.8.6/i386-linux > > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6=20 > > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux=20 > > /usr/lib/perl5/vendor_perl > > > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7=20 > > /usr/local/lib/site_perl .) at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > BEGIN failed--compilation aborted at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > 61. > > BEGIN failed--compilation aborted at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > 61. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > BEGIN failed--compilation aborted at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > BEGIN failed--compilation aborted at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > BEGIN failed--compilation aborted at=20 > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > Compilation failed in require at ./synping.pl line 24. > > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > > > > -----Original Message----- > > From: Dukes Clayton > > Sent: Friday, November 03, 2006 10:39 AM > > To: 'Nmap::Scanner list' > > Subject: RE: [Nmap-scanner-general] Need a little help=20 > > withexamplefromperldoc > > > > Ok, so now I get: > > Can't locate object method "address" via package=20 > > "Nmap::Scanner::Address" > > > > Heh > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On=20 > > Behalf Of Max > > Sent: Friday, November 03, 2006 2:40 AM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help=20 > > withexamplefromperldoc > > > > Change ->name() to ->hostname(). > > > > - Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Not sure I follow you -- change what? > > > > > > > > > -----Original Message----- > > > From: nma...@li... > > > [mailto:nma...@li...] On=20 > > > Behalf Of Max > > > Sent: Thursday, November 02, 2006 4:05 PM > > > To: Nmap::Scanner list > > > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > > > examplefromperldoc > > > > > > I will check my perldoc again, please let me know if changing the=20 > > > name > > > > > of that getter resolves your issue. > > > > > > Thank you, > > > Max > > > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > > Hmmm, > > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > > > ------------------------------------------------------------------ > > > -- > > > -- > > > -- > > > - > > > Using Tomcat but need to do more? Need to support web services,=20 > > > security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > > Apache Geronimo > > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= > > > 12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > ------------------------------------------------------------------ > > > -- > > > -- > > > --- Using Tomcat but need to do more? Need to support web=20 > > > services, security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > > Apache Geronimo > > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= > > > 12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > > -------------------------------------------------------------------- > > -- > > -- > > - > > Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > -------------------------------------------------------------------- > > -- > > --- Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max <nm...@we...> - 2006-11-03 19:01:57
|
Yes :). - Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > K, I feel dumb now -- sorry :-) > Now I'm back to: > Can't locate object method "address" via package "Nmap::Scanner::Address > I looked at he class file and see: > class 'Nmap::Scanner::Address' => { > qw(addr $ > addrtype $ > vendor $), > '&as_xml' => q!return qq(<address addr="$addr" ) . > qq(addrtype="$addrtype" ) . > qq(vendor="$vendor"/>);! > }; > > So should "address" be "addr"? > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf Of > Max > Sent: Friday, November 03, 2006 11:14 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help > withexamplefromperldoc > > Install Class::Generate :), it is a CPAN module, when you ran > > perl Makefile.PL > > You should have seen a warning that Class:Generate was a pre-requisite > and was not found, the module has these dependencies (from > Makefile.PL): > > 'PREREQ_PM' => { > 'IPC::Open3' => 0, > 'XML::SAX' => 0, > 'Class::Generate' => 0, > 'File::Temp' => 0, > 'LWP::UserAgent' => 0 > } > > > Regards, > Max > > On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > > Hrm... > > So just to be sure, I grabbed v1..0 just now and did a make and make > > install and now I get: > > > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl > > /usr/lib/perl5/site_perl/5.8.7/i386-linux > > /usr/lib/perl5/site_perl/5.8.7 > > /usr/lib/perl5/site_perl/5.8.6 > > /usr/lib/perl5/site_perl/5.8.6/i386-linux > > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 > > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl > > > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 > > /usr/local/lib/site_perl .) at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > BEGIN failed--compilation aborted at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > 61. > > BEGIN failed--compilation aborted at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line > 61. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > BEGIN failed--compilation aborted at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > BEGIN failed--compilation aborted at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > > Compilation failed in require at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > BEGIN failed--compilation aborted at > > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > > Compilation failed in require at ./synping.pl line 24. > > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > > > > -----Original Message----- > > From: Dukes Clayton > > Sent: Friday, November 03, 2006 10:39 AM > > To: 'Nmap::Scanner list' > > Subject: RE: [Nmap-scanner-general] Need a little help > > withexamplefromperldoc > > > > Ok, so now I get: > > Can't locate object method "address" via package > > "Nmap::Scanner::Address" > > > > Heh > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On Behalf > > Of Max > > Sent: Friday, November 03, 2006 2:40 AM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help > > withexamplefromperldoc > > > > Change ->name() to ->hostname(). > > > > - Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Not sure I follow you -- change what? > > > > > > > > > -----Original Message----- > > > From: nma...@li... > > > [mailto:nma...@li...] On > > > Behalf Of Max > > > Sent: Thursday, November 02, 2006 4:05 PM > > > To: Nmap::Scanner list > > > Subject: Re: [Nmap-scanner-general] Need a little help with > > > examplefromperldoc > > > > > > I will check my perldoc again, please let me know if changing the > > > name > > > > > of that getter resolves your issue. > > > > > > Thank you, > > > Max > > > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > > Hmmm, > > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > > > -------------------------------------------------------------------- > > > -- > > > -- > > > - > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > -------------------------------------------------------------------- > > > -- > > > --- Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to make your > > > job > > > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12 > > > 16 > > > 42 _______________________________________________ > > > Nmap-scanner-general mailing list > > > Nma...@li... > > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > > > > ---------------------------------------------------------------------- > > -- > > - > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > > --- Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Dukes C. <Cla...@HC...> - 2006-11-03 18:51:06
|
The answer is yes -- tried and it's now working (w00t) =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Dukes Clayton Sent: Friday, November 03, 2006 12:48 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc K, I feel dumb now -- sorry :-) Now I'm back to: Can't locate object method "address" via package "Nmap::Scanner::Address I looked at he class file and see: class 'Nmap::Scanner::Address' =3D> { qw(addr $ addrtype $ vendor $), '&as_xml' =3D> q!return qq(<address addr=3D"$addr" ) . qq(addrtype=3D"$addrtype" ) . qq(vendor=3D"$vendor"/>);! }; So should "address" be "addr"? =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 11:14 AM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Install Class::Generate :), it is a CPAN module, when you ran perl Makefile.PL You should have seen a warning that Class:Generate was a pre-requisite and was not found, the module has these dependencies (from Makefile.PL): 'PREREQ_PM' =3D> { 'IPC::Open3' =3D> 0, 'XML::SAX' =3D> 0, 'Class::Generate' =3D> 0, 'File::Temp' =3D> 0, 'LWP::UserAgent' =3D> 0 } Regards, Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > Hrm... > So just to be sure, I grabbed v1..0 just now and did a make and make=20 > install and now I get: > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl=20 > /usr/lib/perl5/site_perl/5.8.7/i386-linux > /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6 > /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6=20 > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7=20 > /usr/local/lib/site_perl .) at=20 > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > Compilation failed in require at ./synping.pl line 24. > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > -----Original Message----- > From: Dukes Clayton > Sent: Friday, November 03, 2006 10:39 AM > To: 'Nmap::Scanner list' > Subject: RE: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Ok, so now I get: > Can't locate object method "address" via package=20 > "Nmap::Scanner::Address" > > Heh > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Friday, November 03, 2006 2:40 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Change ->name() to ->hostname(). > > - Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Not sure I follow you -- change what? > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On=20 > > Behalf Of Max > > Sent: Thursday, November 02, 2006 4:05 PM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > > examplefromperldoc > > > > I will check my perldoc again, please let me know if changing the=20 > > name > > > of that getter resolves your issue. > > > > Thank you, > > Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Hmmm, > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > -------------------------------------------------------------------- > > -- > > -- > > - > > Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > -------------------------------------------------------------------- > > -- > > --- Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Dukes C. <Cla...@HC...> - 2006-11-03 18:47:58
|
K, I feel dumb now -- sorry :-) Now I'm back to: Can't locate object method "address" via package "Nmap::Scanner::Address I looked at he class file and see: class 'Nmap::Scanner::Address' =3D> { qw(addr $ addrtype $ vendor $), '&as_xml' =3D> q!return qq(<address addr=3D"$addr" ) . qq(addrtype=3D"$addrtype" ) . qq(vendor=3D"$vendor"/>);! }; So should "address" be "addr"? =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 11:14 AM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Install Class::Generate :), it is a CPAN module, when you ran perl Makefile.PL You should have seen a warning that Class:Generate was a pre-requisite and was not found, the module has these dependencies (from Makefile.PL): 'PREREQ_PM' =3D> { 'IPC::Open3' =3D> 0, 'XML::SAX' =3D> 0, 'Class::Generate' =3D> 0, 'File::Temp' =3D> 0, 'LWP::UserAgent' =3D> 0 } Regards, Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > Hrm... > So just to be sure, I grabbed v1..0 just now and did a make and make=20 > install and now I get: > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl=20 > /usr/lib/perl5/site_perl/5.8.7/i386-linux=20 > /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6=20 > /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6=20 > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7=20 > /usr/local/lib/site_perl .) at=20 > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > Compilation failed in require at ./synping.pl line 24. > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > -----Original Message----- > From: Dukes Clayton > Sent: Friday, November 03, 2006 10:39 AM > To: 'Nmap::Scanner list' > Subject: RE: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Ok, so now I get: > Can't locate object method "address" via package=20 > "Nmap::Scanner::Address" > > Heh > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Friday, November 03, 2006 2:40 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help=20 > withexamplefromperldoc > > Change ->name() to ->hostname(). > > - Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Not sure I follow you -- change what? > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On=20 > > Behalf Of Max > > Sent: Thursday, November 02, 2006 4:05 PM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > > examplefromperldoc > > > > I will check my perldoc again, please let me know if changing the=20 > > name > > > of that getter resolves your issue. > > > > Thank you, > > Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Hmmm, > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > -------------------------------------------------------------------- > > -- > > -- > > - > > Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > -------------------------------------------------------------------- > > -- > > --- Using Tomcat but need to do more? Need to support web services,=20 > > security? > > Get stuff done quickly with pre-integrated technology to make your=20 > > job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 12 > > 16 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max <nm...@we...> - 2006-11-03 17:14:26
|
Install Class::Generate :), it is a CPAN module, when you ran perl Makefile.PL You should have seen a warning that Class:Generate was a pre-requisite and was not found, the module has these dependencies (from Makefile.PL): 'PREREQ_PM' => { 'IPC::Open3' => 0, 'XML::SAX' => 0, 'Class::Generate' => 0, 'File::Temp' => 0, 'LWP::UserAgent' => 0 } Regards, Max On 11/3/06, Dukes Clayton <Cla...@hc...> wrote: > Hrm... > So just to be sure, I grabbed v1..0 just now and did a make and make > install and now I get: > > Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl > /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux > /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 > /usr/local/lib/site_perl .) at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. > Compilation failed in require at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. > Compilation failed in require at ./synping.pl line 24. > BEGIN failed--compilation aborted at ./synping.pl line 24. > > > -----Original Message----- > From: Dukes Clayton > Sent: Friday, November 03, 2006 10:39 AM > To: 'Nmap::Scanner list' > Subject: RE: [Nmap-scanner-general] Need a little help > withexamplefromperldoc > > Ok, so now I get: > Can't locate object method "address" via package > "Nmap::Scanner::Address" > > Heh > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf Of > Max > Sent: Friday, November 03, 2006 2:40 AM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help > withexamplefromperldoc > > Change ->name() to ->hostname(). > > - Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Not sure I follow you -- change what? > > > > > > -----Original Message----- > > From: nma...@li... > > [mailto:nma...@li...] On Behalf > > Of Max > > Sent: Thursday, November 02, 2006 4:05 PM > > To: Nmap::Scanner list > > Subject: Re: [Nmap-scanner-general] Need a little help with > > examplefromperldoc > > > > I will check my perldoc again, please let me know if changing the name > > > of that getter resolves your issue. > > > > Thank you, > > Max > > > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > > Hmmm, > > > Coulda sworn I grabbed 1.0 last night...perhaps not > > > > ---------------------------------------------------------------------- > > -- > > - > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ---------------------------------------------------------------------- > > --- Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > 42 _______________________________________________ > > Nmap-scanner-general mailing list > > Nma...@li... > > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Dukes C. <Cla...@HC...> - 2006-11-03 16:47:32
|
Hrm... So just to be sure, I grabbed v1..0 just now and did a make and make install and now I get: Can't locate Class/Generate.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 /usr/local/lib/site_perl .) at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Host.pm line 4. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/Results.pm line 61. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Backend/XML.pm line 11. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner/Scanner.pm line 4. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.7/Nmap/Scanner.pm line 10. Compilation failed in require at ./synping.pl line 24. BEGIN failed--compilation aborted at ./synping.pl line 24. =20 -----Original Message----- From: Dukes Clayton=20 Sent: Friday, November 03, 2006 10:39 AM To: 'Nmap::Scanner list' Subject: RE: [Nmap-scanner-general] Need a little help withexamplefromperldoc Ok, so now I get: Can't locate object method "address" via package "Nmap::Scanner::Address" Heh =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 2:40 AM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Change ->name() to ->hostname(). - Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > Not sure I follow you -- change what? > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Thursday, November 02, 2006 4:05 PM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > examplefromperldoc > > I will check my perldoc again, please let me know if changing the name > of that getter resolves your issue. > > Thank you, > Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Hmmm, > > Coulda sworn I grabbed 1.0 last night...perhaps not > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Dukes C. <Cla...@HC...> - 2006-11-03 16:39:21
|
Ok, so now I get: Can't locate object method "address" via package "Nmap::Scanner::Address" Heh =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Friday, November 03, 2006 2:40 AM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help withexamplefromperldoc Change ->name() to ->hostname(). - Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > Not sure I follow you -- change what? > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf=20 > Of Max > Sent: Thursday, November 02, 2006 4:05 PM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help with=20 > examplefromperldoc > > I will check my perldoc again, please let me know if changing the name > of that getter resolves your issue. > > Thank you, > Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Hmmm, > > Coulda sworn I grabbed 1.0 last night...perhaps not > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max <nm...@we...> - 2006-11-03 08:40:16
|
Change ->name() to ->hostname(). - Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > Not sure I follow you -- change what? > > > -----Original Message----- > From: nma...@li... > [mailto:nma...@li...] On Behalf Of > Max > Sent: Thursday, November 02, 2006 4:05 PM > To: Nmap::Scanner list > Subject: Re: [Nmap-scanner-general] Need a little help with > examplefromperldoc > > I will check my perldoc again, please let me know if changing the name > of that getter resolves your issue. > > Thank you, > Max > > On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > > Hmmm, > > Coulda sworn I grabbed 1.0 last night...perhaps not > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Clayton D. \(cdukes\) <cd...@ci...> - 2006-11-03 02:43:20
|
Not sure I follow you -- change what? =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Thursday, November 02, 2006 4:05 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help with examplefromperldoc I will check my perldoc again, please let me know if changing the name of that getter resolves your issue. Thank you, Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > Hmmm, > Coulda sworn I grabbed 1.0 last night...perhaps not ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max <nm...@we...> - 2006-11-02 21:04:49
|
I will check my perldoc again, please let me know if changing the name of that getter resolves your issue. Thank you, Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > Hmmm, > Coulda sworn I grabbed 1.0 last night...perhaps not |
From: Clayton D. \(cdukes\) <cd...@ci...> - 2006-11-02 20:05:28
|
Hmmm, Coulda sworn I grabbed 1.0 last night...perhaps not =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Sent: Thursday, November 02, 2006 2:06 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help with example fromperldoc Hi Clayton, Which version of Nmap::Scanner are you running? Are you using 1.0? Which perldoc file did you get the example from? I want to make sure I fix that :), I know I fixed one instance of that in the Nmap::Scanner perldoc page a while ago. It looks like you are using a pre 1.0 version, yes? Regards, Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > 2693<nmap-error> > <pid=3D"2142"/> > <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O=20 > 2811-x-f-h.vac.co.y.net -oX -"/> > <perl-msg>Can't locate object method "name" via package=20 > "Nmap::Scanner::Host" at ./synping.pl line 55. > </perl-msg> > <nmap-msg></nmap-msg> > </nmap-error> > > > > ---clueless :-) > > | | Clayton Dukes > ||| ||| Network Consulting Engineer > .|||||. .|||||. Advanced Services > .:|||||||||:.:|||||||||:. Office: 919.392.6122 > C i s c o S y s t e m s MSN: cd...@ci... > > > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Dukes C. <Cla...@HC...> - 2006-11-02 19:51:34
|
Hey Max, I grabbed it from the perldoc Nmap::Scanner Nmap::Scanner(3) =20 -----Original Message----- From: nma...@li... [mailto:nma...@li...] On Behalf Of Max Schubert Sent: Thursday, November 02, 2006 12:43 PM To: Nmap::Scanner list Subject: Re: [Nmap-scanner-general] Need a little help with example fromperldoc Hi Clayton, > my $hostname =3D $host->name(); ->name() should be ->hostname() :) Did you get your example code from one of the Nmap::Scanner examples? If so, which version of the module are you using? I do see one example that has incorrect code that I did not notice before, ftpscan.pl has a reference to a name() accessor. Please let me know if you found your example code in one of the example scripts, and if so, which one. Code fixed in CVS, credit for bringing up the problem given to you in the Changes file. Regards, Max On 11/2/06, Dukes Clayton <Cla...@hc...> wrote: > > > > > Trying to create a multi host scanner but I'm getting errors, can=20 > anyone help out here? > > #!/usr/bin/perl > use strict; > > $| =3D 1; > use Nmap::Scanner; > > open (FILE, $ARGV[0]); > my $count =3D 1; > my(@host_array) =3D <FILE>; # read file into list > my $total =3D (@host_array); > print "Checking $total hosts\n"; > @host_array =3D sort(@host_array); # sort the list > chomp (@host_array); > > if (@ARGV < 1){ > usage(); > } > sub usage { > print "Usage: synping.pl <hosts>\n"; > print "Example:\n"; > print "perl synping.pl hosts.txt\n"; > exit(-1); > } > > foreach my $hostname (@host_array) { > my $scanner =3D new Nmap::Scanner; > > $scanner->register_scan_started_event(\&scan_started); > $scanner->register_port_found_event(\&port_found); > $scanner->scan("-sS -p 22,23 -O $hostname"); # Scan for telnet=20 > or ssh > > } > sub scan_started { > my $self =3D shift; > my $host =3D shift; > > my $hostname =3D $host->name(); > my $addresses =3D join(',', map {$_->address()} $host->addresses()); > my $status =3D $host->status(); > > print "$hostname ($addresses) is $status\n"; > } > > sub port_found { > my $self =3D shift; > my $host =3D shift; > my $port =3D shift; > > my $name =3D $host->name(); > my $addresses =3D join(',', map {$_->addr()} = $host->addresses()); > > print "On host $name ($addresses), found ", > $port->state()," port ", > join('/',$port->protocol(),$port->portid()),"\n"; > > } > > > This returns: > Checking 2520 hosts > 2693<nmap-error> > <pid=3D"2142"/> > <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O=20 > 2811-x-f-h.vac.co.y.net -oX -"/> > <perl-msg>Can't locate object method "name" via package=20 > "Nmap::Scanner::Host" at ./synping.pl line 55. > </perl-msg> > <nmap-msg></nmap-msg> > </nmap-error> > > > > ---clueless :-) > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 > > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Nmap-scanner-general mailing list Nma...@li... https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general |
From: Max <nm...@we...> - 2006-11-02 19:06:12
|
Hi Clayton, Which version of Nmap::Scanner are you running? Are you using 1.0? Which perldoc file did you get the example from? I want to make sure I fix that :), I know I fixed one instance of that in the Nmap::Scanner perldoc page a while ago. It looks like you are using a pre 1.0 version, yes? Regards, Max On 11/2/06, Clayton Dukes (cdukes) <cd...@ci...> wrote: > 2693<nmap-error> > <pid="2142"/> > <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O > 2811-x-f-h.vac.co.y.net -oX -"/> > <perl-msg>Can't locate object method "name" via package > "Nmap::Scanner::Host" at ./synping.pl line 55. > </perl-msg> > <nmap-msg></nmap-msg> > </nmap-error> > > > > ---clueless :-) > > | | Clayton Dukes > ||| ||| Network Consulting Engineer > .|||||. .|||||. Advanced Services > .:|||||||||:.:|||||||||:. Office: 919.392.6122 > C i s c o S y s t e m s MSN: cd...@ci... > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > |
From: Max S. <max...@gm...> - 2006-11-02 18:43:30
|
Hi Clayton, > my $hostname = $host->name(); ->name() should be ->hostname() :) Did you get your example code from one of the Nmap::Scanner examples? If so, which version of the module are you using? I do see one example that has incorrect code that I did not notice before, ftpscan.pl has a reference to a name() accessor. Please let me know if you found your example code in one of the example scripts, and if so, which one. Code fixed in CVS, credit for bringing up the problem given to you in the Changes file. Regards, Max On 11/2/06, Dukes Clayton <Cla...@hc...> wrote: > > > > > Trying to create a multi host scanner but I'm getting errors, can anyone > help out here? > > #!/usr/bin/perl > use strict; > > $| = 1; > use Nmap::Scanner; > > open (FILE, $ARGV[0]); > my $count = 1; > my(@host_array) = <FILE>; # read file into list > my $total = (@host_array); > print "Checking $total hosts\n"; > @host_array = sort(@host_array); # sort the list > chomp (@host_array); > > if (@ARGV < 1){ > usage(); > } > sub usage { > print "Usage: synping.pl <hosts>\n"; > print "Example:\n"; > print "perl synping.pl hosts.txt\n"; > exit(-1); > } > > foreach my $hostname (@host_array) { > my $scanner = new Nmap::Scanner; > > $scanner->register_scan_started_event(\&scan_started); > $scanner->register_port_found_event(\&port_found); > $scanner->scan("-sS -p 22,23 -O $hostname"); # Scan for telnet or ssh > > } > sub scan_started { > my $self = shift; > my $host = shift; > > my $hostname = $host->name(); > my $addresses = join(',', map {$_->address()} $host->addresses()); > my $status = $host->status(); > > print "$hostname ($addresses) is $status\n"; > } > > sub port_found { > my $self = shift; > my $host = shift; > my $port = shift; > > my $name = $host->name(); > my $addresses = join(',', map {$_->addr()} $host->addresses()); > > print "On host $name ($addresses), found ", > $port->state()," port ", > join('/',$port->protocol(),$port->portid()),"\n"; > > } > > > This returns: > Checking 2520 hosts > 2693<nmap-error> > <pid="2142"/> > <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O 2811-x-f-h.vac.co.y.net > -oX -"/> > <perl-msg>Can't locate object method "name" via package > "Nmap::Scanner::Host" at ./synping.pl line 55. > </perl-msg> > <nmap-msg></nmap-msg> > </nmap-error> > > > > ---clueless :-) > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nmap-scanner-general mailing list > Nma...@li... > https://lists.sourceforge.net/lists/listinfo/nmap-scanner-general > > > |
From: Clayton D. \(cdukes\) <cd...@ci...> - 2006-11-02 18:41:27
|
Trying to create a multi host scanner but I'm getting errors, can anyone help out here?=20 #!/usr/bin/perl=20 use strict;=20 =20 $| =3D 1;=20 use Nmap::Scanner;=20 =20 open (FILE, $ARGV[0]);=20 my $count =3D 1;=20 my(@host_array) =3D <FILE>; # read file into list=20 my $total =3D (@host_array);=20 print "Checking $total hosts\n";=20 @host_array =3D sort(@host_array); # sort the list=20 chomp (@host_array);=20 =20 if (@ARGV < 1){=20 usage();=20 }=20 sub usage {=20 print "Usage: synping.pl <hosts>\n";=20 print "Example:\n";=20 print "perl synping.pl hosts.txt\n";=20 exit(-1);=20 }=20 =20 foreach my $hostname (@host_array) {=20 my $scanner =3D new Nmap::Scanner;=20 $scanner->register_scan_started_event(\&scan_started);=20 $scanner->register_port_found_event(\&port_found);=20 $scanner->scan("-sS -p 22,23 -O $hostname"); # Scan for telnet or ssh=20 =20 }=20 sub scan_started {=20 my $self =3D shift;=20 my $host =3D shift;=20 =20 my $hostname =3D $host->name();=20 my $addresses =3D join(',', map {$_->address()} $host->addresses());=20 my $status =3D $host->status();=20 =20 print "$hostname ($addresses) is $status\n";=20 }=20 =20 sub port_found {=20 my $self =3D shift;=20 my $host =3D shift;=20 my $port =3D shift;=20 =20 my $name =3D $host->name();=20 my $addresses =3D join(',', map {$_->addr()} $host->addresses()); = =20 print "On host $name ($addresses), found ",=20 $port->state()," port ",=20 join('/',$port->protocol(),$port->portid()),"\n";=20 =20 }=20 This returns:=20 Checking 2520 hosts=20 2693<nmap-error>=20 <pid=3D"2142"/>=20 <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O 2811-x-f-h.vac.co.y.net -oX -"/>=20 <perl-msg>Can't locate object method "name" via package "Nmap::Scanner::Host" at ./synping.pl line 55.=20 </perl-msg>=20 <nmap-msg></nmap-msg>=20 </nmap-error>=20 ---clueless :-) =20 | | Clayton Dukes ||| ||| Network Consulting Engineer .|||||. .|||||. Advanced Services .:|||||||||:.:|||||||||:. Office: 919.392.6122 C i s c o S y s t e m s MSN: cd...@ci...=20 =20 |
From: Dukes C. <Cla...@HC...> - 2006-11-02 18:29:15
|
Trying to create a multi host scanner but I'm getting errors, can anyone help out here? #!/usr/bin/perl use strict; =20 $| =3D 1; use Nmap::Scanner; =20 open (FILE, $ARGV[0]); my $count =3D 1; my(@host_array) =3D <FILE>; # read file into list my $total =3D (@host_array); print "Checking $total hosts\n"; @host_array =3D sort(@host_array); # sort the list chomp (@host_array); =20 if (@ARGV < 1){ usage(); } sub usage { print "Usage: synping.pl <hosts>\n"; print "Example:\n"; print "perl synping.pl hosts.txt\n"; exit(-1); } =20 foreach my $hostname (@host_array) { my $scanner =3D new Nmap::Scanner; $scanner->register_scan_started_event(\&scan_started); $scanner->register_port_found_event(\&port_found); $scanner->scan("-sS -p 22,23 -O $hostname"); # Scan for telnet or ssh =20 } sub scan_started { my $self =3D shift; my $host =3D shift; =20 my $hostname =3D $host->name(); my $addresses =3D join(',', map {$_->address()} $host->addresses()); my $status =3D $host->status(); =20 print "$hostname ($addresses) is $status\n"; } =20 sub port_found { my $self =3D shift; my $host =3D shift; my $port =3D shift; =20 my $name =3D $host->name(); my $addresses =3D join(',', map {$_->addr()} $host->addresses()); =20 print "On host $name ($addresses), found ", $port->state()," port ", join('/',$port->protocol(),$port->portid()),"\n"; =20 } This returns: Checking 2520 hosts 2693<nmap-error> <pid=3D"2142"/> <cmdline=3D"'/usr/bin/nmap' -v -v -v -sS -p 22,23 -O 2811-x-f-h.vac.co.y.net -oX -"/> <perl-msg>Can't locate object method "name" via package "Nmap::Scanner::Host" at ./synping.pl line 55. </perl-msg> <nmap-msg></nmap-msg> </nmap-error> ---clueless :-) |
From: Matthias W. <mw...@fh...> - 2006-11-01 07:55:23
|
hi Max, On Tue, 31 Oct 2006, Max wrote: > Ah, that makes sense, Windows doesn't like single quotes. I need to > change those to be double quotes to be portable for Windows users, the > single quotes > were for cygwin users who use paths with spaces, so should be > > my $cmd = qq("$nmap" -v -v -v); > fine, it works!! many thanks matthias |