1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-18 20:29:02 +00:00
david 3f36981440 Qualify an assertion to allow zero-byte writes in Nsock. The assertion
checked that the internal buffer was not empty before a send; I changed
it to have an effect only when at least one byte has been written
already.

Formerly, zero-byte sends such as socket:send("") in NSE would crash
Nmap, for both UDP and TCP. I tested this change on Linux, and for UDP
it sends a zero-byte datagram, and for TCP it sends nothing at all.
2010-02-15 20:21:29 +00:00
2010-01-16 02:25:26 +00:00
2010-02-11 17:43:02 +00:00
2010-02-12 23:41:56 +00:00
2010-01-15 03:55:23 +00:00
2008-07-31 14:18:21 +00:00
2010-01-15 03:55:23 +00:00
2010-01-28 19:12:11 +00:00
2010-01-15 03:55:23 +00:00
2009-12-18 07:59:31 +00:00
2010-01-15 03:55:23 +00:00
2010-01-15 03:55:23 +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.1%