mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Added adiff, ar, bridge file_read
This commit is contained in:
parent
bb4050810e
commit
513909c38c
11
_gtfobins/adiff.md
Normal file
11
_gtfobins/adiff.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
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*
|
||||||
|
---
|
9
_gtfobins/ar.md
Normal file
9
_gtfobins/ar.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
file-read:
|
||||||
|
code: |
|
||||||
|
OUTFILE=$(mktemp -u)
|
||||||
|
LFILE=file_to_read
|
||||||
|
ar r "${OUTFILE}" "${LFILE}"
|
||||||
|
cat "${OUTFILE}"
|
||||||
|
---
|
8
_gtfobins/bridge.md
Normal file
8
_gtfobins/bridge.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
file-read:
|
||||||
|
- description: Outputs the first line of the file, until the first whitespace, to stderr.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
bridge -b "${LFILE}"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user