1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

port_or_service takes 2 args, not a table. Fixes #1748

This commit is contained in:
dmiller
2019-09-19 17:31:57 +00:00
parent 6a2cacaa40
commit e38e834ffc

View File

@@ -82,7 +82,7 @@ author = "Paulino Calderon <calderon()websec.mx>"
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"exploit", "vuln"}
portrule = shortport.port_or_service{3310, "clam"}
portrule = shortport.port_or_service(3310, "clam")
local function shutdown(host, port)
local status, data = comm.exchange(host, port, "SHUTDOWN")