mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
It now returns the line as its first argument always, otherwise nil, errmsg I updated scripts that use make_buffer. When Lua 5.2 comes out, we may be able to use a function I've added called stdnse.lines (commented for now). It cannot be used yet because we cannot yield inside generic for loop. The function is built for generic for loops. It will work as such: for line in stdnse.lines(socket) do ... end
6.2 KiB
6.2 KiB