From 12182f2a525afb1ec6184843de07b976818151d6 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Mon, 28 Oct 2024 06:42:42 +0100 Subject: [PATCH] nxc-nfs: add page (#14381) --- pages/common/nxc-nfs.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/nxc-nfs.md diff --git a/pages/common/nxc-nfs.md b/pages/common/nxc-nfs.md new file mode 100644 index 000000000..1328534df --- /dev/null +++ b/pages/common/nxc-nfs.md @@ -0,0 +1,24 @@ +# nxc nfs + +> Pentest and exploit NFS servers. Currently supports anonymous mode only. +> More information: . + +- Detect the version of a remote NFS server: + +`nxc nfs {{192.168.178.0/24}}` + +- List the available NFS shares: + +`nxc nfs {{192.168.178.2}} --shares` + +- Enumerate the exposed shares recursively to the specified depth: + +`nxc nfs {{192.168.178.2}} --enum-shares {{5}}` + +- Download the specified remote file: + +`nxc nfs {{192.168.178.2}} --get-file {{path/to/remote_file}} {{path/to/local_file}}` + +- Upload the specified local file to the remote share: + +`nxc nfs {{192.168.178.2}} --put-file {{path/to/local_file}} {{path/to/remote_file}}`