mirror of
https://github.com/nmap/nmap.git
synced 2026-09-21 07:38:39 +00:00
This commit is contained in:
parent
78a526761b
commit
098e327136
2 changed files with 7 additions and 2 deletions
|
|
@ -211,10 +211,12 @@ action = function(host, port)
|
|||
return output, output.ERROR
|
||||
end
|
||||
|
||||
local sub_directory = tostring(host.ip) .. ":" .. tostring(port.number) .. SEPARATOR
|
||||
|
||||
if destination:sub(-1) == '\\' or destination:sub(-1) == '/' then
|
||||
destination = destination
|
||||
destination = destination .. sub_directory
|
||||
else
|
||||
destination = destination .. SEPARATOR
|
||||
destination = destination .. SEPARATOR .. sub_directory
|
||||
end
|
||||
|
||||
if paths then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue