mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Fix YAML in ar
This commit is contained in:
parent
7da8627262
commit
0d5c457233
@ -2,21 +2,21 @@
|
|||||||
description: The file appears amid the binary content of the archive.
|
description: The file appears amid the binary content of the archive.
|
||||||
functions:
|
functions:
|
||||||
file-read:
|
file-read:
|
||||||
code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
OUTFILE=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
ar r "$OUTFILE" "$LFILE"
|
ar r "$OUTFILE" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$OUTFILE"
|
||||||
suid:
|
suid:
|
||||||
code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
OUTFILE=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
./ar r "$OUTFILE" "$LFILE"
|
./ar r "$OUTFILE" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$OUTFILE"
|
||||||
sudo:
|
sudo:
|
||||||
code: |
|
- code: |
|
||||||
OUTFILE=$(mktemp -u)
|
OUTFILE=$(mktemp -u)
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
sudo ar r "$OUTFILE" "$LFILE"
|
sudo ar r "$OUTFILE" "$LFILE"
|
||||||
cat "$OUTFILE"
|
cat "$OUTFILE"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user