mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 06:29:02 +00:00
Make the script detect \r\n correctly.
This commit is contained in:
@@ -293,7 +293,7 @@ end
|
|||||||
while true do
|
while true do
|
||||||
|
|
||||||
input = read_line()
|
input = read_line()
|
||||||
if input == "" then
|
if input == "" or input == "\r" then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user