mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
fixed parsing failure resulting in empty results due to additional whitespace
issue in regex of http-robtex-shared-ns.nse.
This commit is contained in:
parent
33e9bf8d7b
commit
fefb5f8445
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ categories = {
|
|||
function parse_robtex_response (data)
|
||||
local result = {};
|
||||
|
||||
for linkhref, ns, domain in string.gmatch(data, "<a href=\"(.-)%.html#shared\" title=\"using ns (.-)\">(.-)</a>") do
|
||||
for linkhref, ns, domain in string.gmatch(data, "<a href=\"(.-)%.html#shared\"%s*title=\"using ns (.-)\">(.-)</a>") do
|
||||
if not table.contains(result, domain) then
|
||||
table.insert(result, domain);
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue