From 7cd2655575da7ac1d62b5ecf76750b470c669973 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Wed, 23 Dec 2020 15:19:06 +0100 Subject: [PATCH] improve data source for chmod --- data/chmod.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/chmod.json b/data/chmod.json index 5dfa123..dabf365 100644 --- a/data/chmod.json +++ b/data/chmod.json @@ -1,15 +1,15 @@ { - "description": "This can be run with elevated privileges to change permissions and then read, write, or execute a file.", + "description": "This can be run with elevated privileges to change permissions ('6' denotes the SUID bits) and then read, write, or execute a file.", "functions": { "suid": [ { - "code": "./chmod 0777 [file]\n" + "code": "./chmod 6777 [file]\n" } ], "sudo": [ { - "code": "sudo chmod 0777 [file]\n" + "code": "sudo chmod 6777 [file]\n" } ] } -} \ No newline at end of file +}