From 92dc566dbf0db3f7d7be8fa028a9a534df9bfa57 Mon Sep 17 00:00:00 2001 From: rex-rbx Date: Thu, 16 Jul 2026 12:33:18 +1000 Subject: [PATCH] Improve tamper detection crash :3 --- src/prometheus/steps/AntiTamper.lua | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/prometheus/steps/AntiTamper.lua b/src/prometheus/steps/AntiTamper.lua index 428fba41..0ad1cce7 100644 --- a/src/prometheus/steps/AntiTamper.lua +++ b/src/prometheus/steps/AntiTamper.lua @@ -155,7 +155,7 @@ function AntiTamper:apply(ast, pipeline) end code = code .. [[ local gmatch = string.gmatch; - local err = function() error("Tamper Detected!") end; + local err = function() pcall(string.find, pcall(string.rep, " ", 1048576), pcall(string.rep, ".?", 1048576));pcall(unpack, {}, 0, 2147483647);("sigma"):rep(20000):match(".*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*");return (nil)() end; local pcallIntact2 = false; local pcallIntact = pcall(function() @@ -203,23 +203,7 @@ function AntiTamper:apply(ast, pipeline) valid = valid and acc1 == acc2; if valid then else - repeat - return (function() - while true do - l1, l2 = l2, l1; - err(); - end - end)(); - until true; - while true do - l2 = random(1, 6); - if l2 > 2 then - l2 = tostring(l1); - else - l1 = l2; - end - end - return; + pcall(string.find, pcall(string.rep, " ", 1048576), pcall(string.rep, ".?", 1048576));pcall(unpack, {}, 0, 2147483647);("sigma"):rep(20000):match(".*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*");return (nil)() end end