Hey everyone!
I have attached an experimental (read: it works for me, but there's
probably a better way) patch (off soc07) for people when they really
just want to use Nmap's OS Detection.
So, basically, --osscan-quick is an option added to end the port
scanning of a host when an open and closed TCP port and/or a closed UDP
port is determined, as this is what the OS Detection uses. The idea
being that if we don't know what ports are open/closed on the host, we
can't limit the ports scanned using -p. But if we just want to
determine the OS, we don't really want to scan all the ports of the host
because that can take a while for information we don't want.
The clearHost() stuff in scan_engine.cc is the thing that can probably
be done better. Is there a better way to end prematurely? Does doing
this cause any problems? I didn't encounter any, but very thorough
tests were not done.
Please let me know what you think.
Thanks,
Kris Katterjohn
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Jun 12 2007