1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-03 03:59:02 +00:00
david 8b01344caf In build_{icmp,igmp}_raw, fill with zeros when data is NULL.
This restores the previous behavior of these functions, which was broken
in r24127, which itself was fixing another bug.

r24127 solved the problem of --data-length appending zeroes, not random
data, to ICMP and IGMP packets. But in doing so, it added a check that
the data argument is not NULL. OS detection uses a data argument of
NULL, expecting these functions to fill in zeroes in this case. The
result of this was that the IE probes were being sent with empty
payloads instead of 120 and 150 bytes.
2011-09-15 17:57:00 +00:00
2010-05-23 17:42:44 +00:00
2011-05-21 01:30:50 +00:00
2011-09-03 18:48:12 +00:00
2011-09-15 16:38:54 +00:00
2011-01-21 20:59:10 +00:00
2008-07-31 14:18:21 +00:00
2011-06-14 19:46:43 +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.5%
Lua 28.1%
C++ 16.8%
Shell 5.8%
Python 4.2%
Other 7.3%