GTFOBins.github.io/_gtfobins/adiff.md

12 lines
278 B
Markdown
Raw Normal View History

2021-01-11 12:59:30 +01:00
---
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*
---