mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Use explicit endianness in pack/unpack.
This commit is contained in:
parent
2f104650a8
commit
f20589ca09
13 changed files with 30 additions and 19 deletions
|
|
@ -42,7 +42,7 @@ portrule = shortport.portnumber(1604, "udp")
|
|||
-- @return string row delimited with \n containing all published applications
|
||||
function process_pa_response(response)
|
||||
|
||||
local pos, packet_len = bin.unpack("SS", response)
|
||||
local pos, packet_len = bin.unpack("<S", response)
|
||||
local app_name
|
||||
local pa_list = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue