From bf0ad07e59181980cc2f4393e281b51d0b8394cc Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 12 Oct 2018 17:29:22 +0000 Subject: [PATCH] Fix a typo: modify the correct variable --- scripts/backorifice-brute.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backorifice-brute.nse b/scripts/backorifice-brute.nse index 9f8372493..0699b6de7 100644 --- a/scripts/backorifice-brute.nse +++ b/scripts/backorifice-brute.nse @@ -57,7 +57,7 @@ portrule = function(host, port) end -- ensure UDP - portarg = portarg:gsub("^[U:]*", "U:") + ports = ports:gsub("^[U:]*", "U:") return port.protocol == "udp" and shortport.port_range(ports)(host, port) and not(shortport.port_is_excluded(port.number,port.protocol)) end