Catalog GTFOBins

GTFO · Tool

tac

3 techniques Linux · macOSGTFOBins GPL-3.0

file-read

File ReadPrivilege Escalation LinuxmacOS

Make sure that `RANDOM` does not appear into the file to read otherwise the content of the file is corrupted by reversing the order of `RANDOM`-separated chunks.

tac -s 'RANDOM' /path/to/input-file
Context
sudo
Native
file-read
MITRE
T1005

file-read

File ReadPrivilege Escalation LinuxmacOS

Make sure that `RANDOM` does not appear into the file to read otherwise the content of the file is corrupted by reversing the order of `RANDOM`-separated chunks.

tac -s 'RANDOM' /path/to/input-file
Context
suid
Native
file-read
MITRE
T1005

file-read

File Read LinuxmacOS

Make sure that `RANDOM` does not appear into the file to read otherwise the content of the file is corrupted by reversing the order of `RANDOM`-separated chunks.

tac -s 'RANDOM' /path/to/input-file
Context
unprivileged
Native
file-read
MITRE
T1005