NetExec FTP Auth & Listing
Validate FTP credentials and check anonymous access. Combine with --ls to list the root directory after a successful login.
- Tool
- nxc
- Category
- Authentication / Credential Testing
- Platform
- linux
- Requires
- password
- Protocols
- FTP
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
nxc ftp <ip> -u <user> -p <password>
Credential variants
The same attack using a different authentication material.
Anonymous Check requires no credentials
nxc ftp <ip> -u 'anonymous' -p ''
List Root After Login requires password
nxc ftp <ip> -u <user> -p <password> --ls /
Examples
nxc ftp 10.10.10.10 -u 'anonymous' -p ''
nxc ftp 10.10.10.0/24 -u <users.txt> -p <passwords.txt> --continue-on-success
Tags
References
Related commands
- NetExec RDP Auth Check Validate credentials against the RDP service (TCP/3389) without opening a graphical…
- NetExec SMB Auth Test Test SMB authentication with various credential types
- NetExec SMB with Kerberos Auth Authenticate to SMB using a Kerberos ticket from a ccache file instead of NTLM. Required…
- NetExec SSH Auth & Spray Validate credentials against SSH. Supports password, key file, and spraying across…
- NetExec WinRM Auth Check Validate credentials against the WinRM (PowerShell Remoting) service. A successful login…