mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
fix flipped ip in BROWSER decoder
This commit is contained in:
parent
429b030c3d
commit
56ef8fad06
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ Decoders = {
|
|||
local data = layer3:sub(p.udp_offset + 9)
|
||||
|
||||
local pos, ip, _, src, dst = 5
|
||||
pos, ip, _, _, _, src, dst = bin.unpack(">ISSSA34A34", data, pos)
|
||||
pos, ip, _, _, _, src, dst = bin.unpack("<ISSSA34A34", data, pos)
|
||||
|
||||
ip = ipOps.fromdword(ip)
|
||||
src = netbios.name_decode(src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue