Nmap Development mailing list archives

Re: Some scripts for analyzing NetBus


From: David Fifield <david () bamsoftware com>
Date: Thu, 30 Dec 2010 07:25:24 -0800

On Thu, Dec 30, 2010 at 02:37:38PM +0200, Toni Ruottu wrote:
The scripts store a password in nmap.registry.netbuspassword. This won't
work if more than host with different passwords is scanned at the same
time. You should make this indexed by IP address and port number.

Is string.format("%s:%d", host.ip, port.number) always unique and a
valid key, or is there some advanced library function for serializing
the host information? E.g. what would happen if the host was IPv6?

That's probably good enough. I guess you could use \0 or some other
character instead of a colon to remove ambiguity with an IPv6 address.
There's some host indexing code in the cache in http.lua.

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


Current thread: