mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
nxc-nfs: add page (#14381)
This commit is contained in:
parent
15e885e2f0
commit
12182f2a52
1 changed files with 24 additions and 0 deletions
24
pages/common/nxc-nfs.md
Normal file
24
pages/common/nxc-nfs.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# nxc nfs
|
||||
|
||||
> Pentest and exploit NFS servers. Currently supports anonymous mode only.
|
||||
> More information: <https://www.netexec.wiki/nfs-protocol>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue