1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Removed the default limit of usernames/passwords, and updated the comments accordingly. Users can still limit by passing script-args.

This commit is contained in:
ron
2009-09-19 05:42:07 +00:00
parent 88d5050fd1
commit 390ce42616

View File

@@ -2,8 +2,8 @@ description = [[
Tries to get FTP login credentials by guessing usernames and passwords. Tries to get FTP login credentials by guessing usernames and passwords.
This uses the standard unpwdb username/password list. However, in tests FTP servers are This uses the standard unpwdb username/password list. However, in tests FTP servers are
significantly slower than other servers when responding, so the accounts were artificially significantly slower than other servers when responding, so the number of usernames/passwords
limited (can be changed with script-args). can be artificially limited using script-args.
2008-11-06 Vlatko Kosturjak <kost@linux.hr> 2008-11-06 Vlatko Kosturjak <kost@linux.hr>
Modified xampp-default-auth script to generic ftp-brute script Modified xampp-default-auth script to generic ftp-brute script
@@ -20,9 +20,9 @@ Made into an actual bruteforce script (previously, it only tried one username/pa
-- | anonymous: IEUser@ -- | anonymous: IEUser@
-- |_ test: password -- |_ test: password
-- --
-- @args userlimit The number of user accounts to try (default: 10). Set to 0 for no limit. -- @args userlimit The number of user accounts to try (default: unlimited).
-- @args passlimit The number of passwords to try (default: 10). Set to 0 for no limit. -- @args passlimit The number of passwords to try (default: unlimited).
-- @args limit Set userlimlt + passlimit at the same time. Set to 0 for no limit. -- @args limit Set userlimlt + passlimit at the same time.
author = "Diman Todorov <diman.todorov@gmail.com>, Vlatko Kosturjak <kost@linux.hr>, Ron Bowes <ron@skullsecurity.net>" author = "Diman Todorov <diman.todorov@gmail.com>, Vlatko Kosturjak <kost@linux.hr>, Ron Bowes <ron@skullsecurity.net>"
@@ -37,8 +37,8 @@ require "unpwdb"
portrule = shortport.port_or_service(21, "ftp") portrule = shortport.port_or_service(21, "ftp")
local function get_limits() local function get_limits()
local userlimit = 10 local userlimit = -1
local passlimit = 10 local passlimit = -1
if(nmap.registry.args.userlimit) then if(nmap.registry.args.userlimit) then
userlimit = tonumber(nmap.registry.args.userlimit) userlimit = tonumber(nmap.registry.args.userlimit)