Update zip.md

add file-read
This commit is contained in:
LinuxSploit 2021-04-16 08:09:04 -04:00 committed by Andrea Cardaci
parent 313a49d9f7
commit 65900862c5

View File

@ -1,5 +1,10 @@
---
functions:
file-read:
- code: |
LFILE=file-to-read
zip /tmp/temp.zip $LFILE
unzip -p /tmp/temp.zip < /dev/stdout
shell:
- code: |
TF=$(mktemp -u)