Skip to content
/ ftpx Public

ftpx is a small CLI utility to attempt FTP logins using either a single username with a password wordlist, or a file of username:password pairs.

Notifications You must be signed in to change notification settings

rix4uni/ftpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftpx

ftpx is a small CLI utility to attempt FTP logins using either a single username with a password wordlist, or a file of username:password pairs.

Installation

go install github.com/rix4uni/ftpx@latest

Download prebuilt binaries

wget https://github.com/rix4uni/ftpx/releases/download/v0.0.3/ftpx-linux-amd64-0.0.3.tgz
tar -xvzf ftpx-linux-amd64-0.0.3.tgz
rm -rf ftpx-linux-amd64-0.0.3.tgz
mv ftpx ~/go/bin/ftpx

Or download binary release for your platform.

Compile from source

git clone --depth 1 github.com/rix4uni/ftpx.git
cd ftpx; go install

Usage

Usage:
  ftpx [flags]
  ftpx [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  multiuser   Try username:password pairs from a file against an FTP server
  sigleuser   Brute force FTP login with a single username

Flags:
  -h, --help      help for ftpx
  -s, --silent    Suppress banner output
  -v, --version   Print the version of the tool and exit.

Use "ftpx [command] --help" for more information about a command.

Usage Examples

Brute force FTP login with a single username.

Examples:
  ftpx sigleuser --ip 127.0.0.1:21
  ftpx sigleuser --ip 127.0.0.1:21 -u anonymous -p ~/.garudrecon/wordlists/ftp-password.txt

Usage:
  ftpx sigleuser [flags]

Flags:
  -h, --help              help for sigleuser
      --ip string         IP and port for FTP login (default "127.0.0.1:21")
  -p, --passfile string   File containing passwords to try (default "ftp-password.txt")
  -u, --username string   Username for FTP login (default "anonymous")

Global Flags:
  -s, --silent   Suppress banner output

# Command:
ftpx sigleuser --ip 127.0.0.1:21 -u anonymous -p ~/.garudrecon/wordlists/ftp-password.txt

# Output
[+] Trying anonymous:12hrs37
[+] Trying anonymous:rootpasswdb1uRR3
[+] Trying anonymous:admin
[+] Trying anonymous:localadmin
Password Not Found with ip:127.0.0.1:21

Read a file containing lines in the form "username:password" (one per line) and attempt to log in to the given FTP server using each pair.

Examples:
  ftpx multiuser --ip 127.0.0.1:21
  ftpx multiuser --ip 127.0.0.1:21 --up ~/.garudrecon/wordlists/ftp-username-password.txt

Usage:
  ftpx multiuser [flags]

Flags:
  -h, --help        help for multiuser
      --ip string   IP and port for FTP login (default "127.0.0.1:21")
  -u, --up string   File containing username:password pairs (default "ftp-username-password.txt")

Global Flags:
  -s, --silent   Suppress banner output

# Command:
ftpx multiuser --ip 127.0.0.1:21 --up ~/.garudrecon/wordlists/ftp-username-password.txt

# Output
[+] Trying anonymous:anonymous
[+] Trying root:rootpasswd
[+] Trying root:12hrs37
[+] Trying ftp:b1uRR3
Successfully logged in with ip:127.0.0.1:21 username:admin password:default

About

ftpx is a small CLI utility to attempt FTP logins using either a single username with a password wordlist, or a file of username:password pairs.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages