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