1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-05 22:19:03 +00:00
david a4fc71afb6 Return the last host before skipping an octet in an IPv4 range exclude
group. Not doing this was the cause of off-by-one errors that led to
assertion failures and, potentially, excluded hosts being scanned. Here
is the comment I added:

  /* The decision to skip a range was based on the address that came immediately
     before what our current array contains now. For example, if we have just
     handed out 0.0.0.0 from the the range 0-5.0.0.0, and we're asked to skip
     the first octet, we want to advance to 1.0.0.0. But 1.0.0.0 is what is in
     the current array right now, because TargetGroup::get_next_host advances
     the array after returning an address. If we didn't step back we would
     erroneously skip ahead to 2.0.0.0. */
2009-11-18 01:17:59 +00:00
2009-07-30 14:40:46 +00:00
2009-11-17 20:05:07 +00:00
2009-11-12 16:00:16 +00:00
2009-11-17 20:05:07 +00:00
2009-11-17 20:05:07 +00:00
2008-07-31 14:18:21 +00:00
2009-08-29 01:24:29 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).
Languages
C 37.8%
Lua 28.1%
C++ 16.7%
Shell 5.8%
Python 4.2%
Other 7.2%