From e38e834ffcd8c2a8361c8c2d6d04c2f52480200c Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 19 Sep 2019 17:31:57 +0000 Subject: [PATCH] port_or_service takes 2 args, not a table. Fixes #1748 --- scripts/clamav-exec.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/clamav-exec.nse b/scripts/clamav-exec.nse index d426428ea..258ce06e9 100644 --- a/scripts/clamav-exec.nse +++ b/scripts/clamav-exec.nse @@ -82,7 +82,7 @@ author = "Paulino Calderon " 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")