GTFOBins.github.io/_gtfobins/openssl.md
2018-12-17 14:46:30 +01:00

538 B

functions
file-write file-read suid sudo
code
LFILE=file_to_write echo DATA | openssl enc -out "$LFILE"
code
LFILE=file_to_write TF=$(mktemp) echo "DATA" > $TF openssl enc -in "$TF" -out "$LFILE"
code
LFILE=file_to_read openssl enc -in "$LFILE"
code
LFILE=file_to_write echo DATA | openssl enc -out "$LFILE"
code
LFILE=file_to_write echo DATA | sudo openssl enc -out "$LFILE"