Nmap Development mailing list archives
Re: [NSE] scan traceroute hops
From: Henri Doreau <henri.doreau () gmail com>
Date: Wed, 8 Sep 2010 09:29:50 +0200
2010/9/6 Djalal Harouni <tixxdz () gmail com>:
On 2010-09-06 19:48:13 +0200, Henri Doreau wrote:Concerning the target.add() feature, I faced a behavior I wasn't expecting. If I try to add the current host.ip to the queue, it will work once and then fail. This is reproducible with the attached script and the command line : # ./nmap --datadir . --script add-self -sP -v --script-args newtargets scanme.insecure.org Is this behavior expected? Am I missing something?Yes this is the plan. We filter the same added strings targets to avoid infinite loop scans, since portrule and hostrule scripts can run multiple times during a scan and if they keep adding the same strings targets then the scan would not end, and in your case Nmap would continue to run against scanme.nmap.org ... Thx for the tests and let us know if you have other suggestions.
Hi, thank you for the precision. What bothered me, or at least raised my attention, is the fact the target is added the first time, even if it is already in the scanning queue because specified in the command line. Maybe this case worth being checked and reported to the user?
-- tixxdz
Regards -- Henri Doreau _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] scan traceroute hops Henri Doreau (Sep 02)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 04)
- Re: [NSE] scan traceroute hops Kris Katterjohn (Sep 04)
- Re: [NSE] scan traceroute hops David Fifield (Sep 04)
- Re: [NSE] scan traceroute hops Henri Doreau (Sep 06)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 06)
- Re: [NSE] scan traceroute hops Henri Doreau (Sep 08)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 10)
- Re: [NSE] scan traceroute hops Kris Katterjohn (Sep 04)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 04)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 06)
- Re: [NSE] scan traceroute hops David Fifield (Sep 06)
- Re: [NSE] scan traceroute hops Djalal Harouni (Sep 09)