Change more bin lib to string packing/fromhex. Closes #755. Closes #769

This commit is contained in:
dmiller 2017-03-25 13:39:44 +00:00
parent d66dd69df2
commit 0e7f11673c
24 changed files with 50 additions and 50 deletions

View file

@ -77,7 +77,7 @@ action = function(host, port)
local socket = nmap.new_socket()
local status = socket:connect(host, port)
local data = bin.pack("H", "FFFD26FFFB26")
local data = stdnse.fromhex( "FFFD26FFFB26")
local result
socket:set_timeout(7500)