mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Separator "," in backorifice-brute.nse instead of ";"
This commit is contained in:
parent
873cf47611
commit
0cd6ee2010
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ the script against).
|
|||
-- @usage
|
||||
-- nmap -sU --script backorifice-brute <host> --script-args backorifice-brute.ports=<ports>
|
||||
--
|
||||
-- @arg backorifice-brute.ports (mandatory) List of UDP ports to run the script against separated with ";" ex. "U:31337;25252;151-222", "U:1024-1512"
|
||||
-- @arg backorifice-brute.ports (mandatory) List of UDP ports to run the script against separated with "," ex. "U:31337,25252,151-222", "U:1024-1512"
|
||||
--
|
||||
-- This script uses the brute library to perform password guessing. A
|
||||
-- successful password guess is stored in the nmap registry, under the
|
||||
|
|
@ -53,7 +53,7 @@ portrule = function(host, port)
|
|||
return false
|
||||
end
|
||||
|
||||
return port.protocol == "udp" and stdnse.in_port_range(port, ports:gsub(";",",") ) and
|
||||
return port.protocol == "udp" and stdnse.in_port_range(port, ports:gsub(",",",") ) and
|
||||
not(shortport.port_is_excluded(port.number,port.protocol))
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue