mirror of
https://github.com/nmap/nmap.git
synced 2026-01-01 20:39:02 +00:00
Lua 5.2 fixed from Daniel Miller.
http://seclists.org/nmap-dev/2012/q2/525
This commit is contained in:
@@ -69,7 +69,7 @@ action = function()
|
||||
status, data = socket:receive()
|
||||
if( not(status) ) then break end
|
||||
|
||||
local version, srvname = data:match("DB2RETADDR.(SQL%d+).(.-)%z")
|
||||
local version, srvname = data:match("DB2RETADDR.(SQL%d+).(.-)\0")
|
||||
local _, ip
|
||||
status, _, _, ip, _ = socket:get_info()
|
||||
if ( not(status) ) then return end
|
||||
|
||||
Reference in New Issue
Block a user