Script ftp-brute

Script types: portrule
Categories: intrusive, brute
Download: https://svn.nmap.org/nmap/scripts/ftp-brute.nse

Script Summary

Performs brute force password auditing against FTP servers.

Based on old ftp-brute.nse script by Diman Todorov, Vlatko Kosturjak and Ron Bowes.

See also:

Script Arguments

ftp-brute.timeout

the amount of time to wait for a response on the socket. Lowering this value may result in a higher throughput for servers having a delayed response on incorrect login attempts. (default: 5s)

passdb, unpwdb.passlimit, unpwdb.timelimit, unpwdb.userlimit, userdb

See the documentation for the unpwdb library.

creds.[service], creds.global

See the documentation for the creds library.

brute.credfile, brute.delay, brute.emptypass, brute.firstonly, brute.guesses, brute.mode, brute.passonly, brute.retries, brute.start, brute.threads, brute.unique, brute.useraspass

See the documentation for the brute library.

Example Usage

nmap --script ftp-brute -p 21 <host>

This script uses brute library to perform password
guessing.

Script Output

PORT   STATE SERVICE
21/tcp open  ftp
| ftp-brute:
|   Accounts
|     root:root - Valid credentials
|   Statistics
|_    Performed 510 guesses in 610 seconds, average tps: 0

Requires


Author:

  • Aleksandar Nikolic

License: Same as Nmap--See https://nmap.org/book/man-legal.html