add file read to zip

master
Mr. Robot 3 years ago committed by GitHub
parent 4b4d5fc96e
commit 2328682380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,10 @@
{
"functions": {
"file-read": [
{
"code": "TF=$(mktemp -u)\nzip $TF [file]\nunzip -p $TF\n"
}
],
"shell": [
{
"code": "TF=$(mktemp -u)\nzip $TF /etc/hosts -T -TT 'sh #'\nrm $TF\n"
@ -16,4 +21,4 @@
}
]
}
}
}

Loading…
Cancel
Save