Catalog GTFOBins

GTFO · Tool

diff

6 techniques Linux · macOSGTFOBins GPL-3.0

file-read

File ReadPrivilege Escalation LinuxmacOS

This lists the content of a directory. `/path/to/empty-dir` can be any directory, but for convenience it is better to use an empty directory to avoid noise output.

diff --recursive /path/to/empty-dir /path/to/input-dir/
Context
sudo
Native
file-read
MITRE
T1005

file-read

File ReadPrivilege Escalation LinuxmacOS

This lists the content of a directory. `/path/to/empty-dir` can be any directory, but for convenience it is better to use an empty directory to avoid noise output.

diff --recursive /path/to/empty-dir /path/to/input-dir/
Context
suid
Native
file-read
MITRE
T1005

file-read

File Read LinuxmacOS

This lists the content of a directory. `/path/to/empty-dir` can be any directory, but for convenience it is better to use an empty directory to avoid noise output.

diff --recursive /path/to/empty-dir /path/to/input-dir/
Context
unprivileged
Native
file-read
MITRE
T1005