Cheatsheet
  • Documentation
  • Nmap
  • Ffuf
  • FTP
  • SMB
  • RPC
  • NFS
  • DNS
  • SMTP
  • IMAP / POP3
  • SNMP
  • SQL
  • Rsync
  • Certipy
  • CrackMapExec
  • Transferring Files
  • Windows Remote Management
  • Windows AV
  • Wordpress
  • Infrastructure Enumeration
  • Privilege Escalation
  • Docker Breakout
  • Shells
  • SSTI
  • XSS
  • Pivot
    • SSH Tunneling
    • Chisel
    • Ligolo-ng
    • Meterpreter
  • LDAP
  • Spray
  • Antivirus / EDR
  • Impacket
  • Bloodhound
  • Powershell
  • Kerberosting
  • Password Attacks
  • Command Injections
  • Sliver C2
  • Windows credentials
  • Windows persistance
  • VSCode Debug
Powered by GitBook
On this page

NFS

Enumeration

cat /etc/exports
rw # Read and write permissions.
ro # Read only permissions.
sync # Synchronous data transfer. (A bit slower)
async # Asynchronous data transfer. (A bit faster)
secure # Ports above 1024 will not be used.
insecure # Ports above 1024 will be used.
no_subtree_check # This option disables the checking of subdirectory trees.
root_squash # Assigns all permissions to files of root UID/GID 0 to the UID/GID of anonymous, which prevents root from accessing files on an NFS mount.
nohide # If another file system was mounted below an exported directory, this directory is exported by its own exports entry.
showmount -e 10.10.10.10
mkdir /mnt/nfs
mount -t nfs 10.10.10.10:/ /mnt/nfs/ -o nolock
cd /mnt/nfs
tree .
ls -n mnt/nfs/
umount /mnt/nfs
PreviousRPCNextDNS

Last updated 2 years ago