From ddacb45617e087bbc04a8902833f35fe6fdc549a Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Sat, 10 Aug 2024 10:08:39 +0200 Subject: [PATCH] nxc-ftp: add page (#13419) --- pages/common/nxc-ftp.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/nxc-ftp.md diff --git a/pages/common/nxc-ftp.md b/pages/common/nxc-ftp.md new file mode 100644 index 000000000..d8248e63f --- /dev/null +++ b/pages/common/nxc-ftp.md @@ -0,0 +1,24 @@ +# nxc ftp + +> Pentest and exploit FTP servers. +> More information: . + +- Search for valid credentials by trying out every combination in the specified lists of [u]sernames and [p]asswords: + +`nxc ftp {{192.168.178.2}} -u {{path/to/usernames.txt}} -p {{path/to/passwords.txt}}` + +- Continue searching for valid credentials even after valid credentials have been found: + +`nxc ftp {{192.168.178.2}} -u {{path/to/usernames.txt}} -p {{path/to/passwords.txt}} --continue-on-success` + +- Perform directory listings on each FTP server the supplied credentials are valid on: + +`nxc ftp {{192.168.178.0/24}} -u {{username}} -p {{password}} --ls` + +- Download the specified file from the target server: + +`nxc ftp {{192.168.178.2}} -u {{username}} -p {{password}} --get {{path/to/file}}` + +- Upload the specified file to the target server at the specified location: + +`nxc ftp {{192.168.178.2}} -u {{username}} -p {{password}} --put {{path/to/local_file}} {{path/to/remote_location}}`