mirror of
https://github.com/nmap/nmap.git
synced 2026-08-29 04:53:24 +00:00
Allow MessageID UUIDs without "urn:" prefix. Fixes #3123
This commit is contained in:
parent
b9f73923bd
commit
b35a88ac60
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
#Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [NSE][GH#3123] WS-Discovery parsing would error out if the MessageID UUID
|
||||
was not prefixed with "urn:". [nnposter]
|
||||
|
||||
Nmap 7.97 [2025-05-12]
|
||||
|
||||
o [Zenmap][GH#3087] Fix a crash when starting a scan on Windows in locales that
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ Decoders = {
|
|||
local response = {}
|
||||
|
||||
-- extracts the messagid, so we can check if we already got a response
|
||||
response.msgid = data:match("<[^:]*:MessageID>urn:uuid:([^<]*)</[^:]*:MessageID>")
|
||||
response.msgid = data:match("<%w+:MessageID>[%w:]-%f[^>:]uuid:([^<]*)</%w+:MessageID>")
|
||||
|
||||
-- if unable to parse msgid return nil
|
||||
if ( not(response.msgid) ) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue