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