Nmap Development mailing list archives

Re: Bug in NSE core, I think


From: Ron <ron () skullsecurity net>
Date: Tue, 25 Aug 2009 19:47:06 -0500

On 08/25/2009 07:40 PM, Patrick Donnelly wrote:
Right now NSE uses a table of<ip, Target * (light userdata)>  pairs
for all the hosts. When we get passed a host table we look in that
table using the host table ip address (host.ip) for the actual Target
*. Problem is, we have the same ip address for all those hosts so only
one entry will be present. Also, the scripts actually did run,
correctly, against each host but the script output was added to one
host (for the aforementioned reason).

Is this worth fixing?


I haven't tracked down exactly what's going on, but it appears to cause a bug in one of my scripts. I believe it steps from a local variable getting whacked, because it's ending up wrong by the end of my script.

That's how I originally noticed this behaviour.

Ron

--
Ron Bowes
http://www.skullsecurity.org/

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: