mirror of
https://github.com/nmap/nmap.git
synced 2026-02-14 09:26:35 +00:00
Remove redundant 'proto=port.protocol' from comm.lua calls
This commit is contained in:
@@ -21,7 +21,7 @@ categories = {"discovery", "safe"}
|
||||
portrule = shortport.port_or_service(13, "daytime", {"tcp", "udp"})
|
||||
|
||||
action = function(host, port)
|
||||
local status, result = comm.exchange(host, port, "dummy", {lines=1, proto=port.protocol})
|
||||
local status, result = comm.exchange(host, port, "dummy", {lines=1})
|
||||
|
||||
if status then
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user