mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Added missing second parameter for receive_buf which caused errors with new
Lua version.
This commit is contained in:
@@ -95,7 +95,7 @@ earlier. The vulnerability is the consequence of weak service configuration.
|
||||
end
|
||||
end
|
||||
|
||||
local status, data = socket:receive_buf("DOTO00000000")
|
||||
local status, data = socket:receive_buf("DOTO00000000", false)
|
||||
|
||||
if ( status ) then
|
||||
local output = data:match("SOUT%w%w%w%w%w%w%w%w(.*)")
|
||||
|
||||
Reference in New Issue
Block a user