NetExec FTP Upload
Upload a file to an FTP server. Useful for staging payloads on misconfigured anonymous-writable shares.
- Tool
- nxc
- Category
- Utilities / File Transfer
- 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 <target> -u '<user>' -p '<password>' --put <local-file>
Credential variants
The same attack using a different authentication material.
Anonymous requires no credentials
nxc ftp <target> -u 'anonymous' -p '' --put <local-file>
Examples
nxc ftp 10.10.10.10 -u anonymous -p '' --put shell.aspx
Tags
Related commands
- Impacket SMB Server Start an SMB server for file transfer to/from Windows targets
- NetExec FTP Download Download a file from an FTP server. Saves to the current working directory with the…
- Python HTTP Server Start a simple HTTP server for file transfer