mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
12 lines
278 B
Markdown
12 lines
278 B
Markdown
|
---
|
||
|
functions:
|
||
|
file-read:
|
||
|
- description: Read files from archives when utils like "tar" are missing.
|
||
|
code: |
|
||
|
OUTFILE=$(mktemp -u)
|
||
|
LFILE=file_to_read
|
||
|
ar r "${OUTFILE}" "${LFILE}"
|
||
|
adiff "${OUTFILE}" /dev/null
|
||
|
ls -la Unpack*
|
||
|
---
|