mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Do not include whitespace in the size string
This commit is contained in:
parent
9de580fe6f
commit
be89acce39
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ local function list_files(host, port, url, output, maxdepth, basedir)
|
|||
end
|
||||
|
||||
local patterns = {
|
||||
'<[Aa] [Hh][Rr][Ee][Ff]="([^"]+)">[^<]+</[Aa]> *</[Tt][Dd]><[Tt][Dd][^>]*> *([0-9]+-[A-Za-z0-9]+-[0-9]+ [0-9]+:[0-9]+) *</[Tt][Dd]><[Tt][Dd][^>]*> *([^<]+)</[Tt][Dd]>',
|
||||
'<[Aa] [Hh][Rr][Ee][Ff]="([^"]+)">[^<]+</[Aa]> *</[Tt][Dd]><[Tt][Dd][^>]*> *([0-9]+-[A-Za-z0-9]+-[0-9]+ [0-9]+:[0-9]+) *</[Tt][Dd]><[Tt][Dd][^>]*> *([^<]-) *</[Tt][Dd]>',
|
||||
'<[Aa] [Hh][Rr][Ee][Ff]="([^"]+)">[^<]+</[Aa]> *([0-9]+-[A-Za-z0-9]+-[0-9]+ [0-9]+:[0-9]+) *([^ \r\n]+)',
|
||||
}
|
||||
for _, pattern in ipairs(patterns) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue