From 45b4eb7596bb2ab6e9d017df47472d8cd4d2f2a2 Mon Sep 17 00:00:00 2001 From: strawberrys <56797207+strawbberrys@users.noreply.github.com> Date: Fri, 28 Jan 2022 16:52:26 -0500 Subject: [PATCH 1/2] add temple support --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 8c8e20b2..537bd381 100644 --- a/init.lua +++ b/init.lua @@ -62,7 +62,7 @@ local globalMethods = { setReadOnly = setreadonly or (make_writeable and function(table, readonly) if readonly then make_readonly(table) else make_writeable(table) end end), isLClosure = islclosure or is_l_closure or (iscclosure and function(closure) return not iscclosure(closure) end), isReadOnly = isreadonly or is_readonly, - isXClosure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or iselectronfunction or checkclosure, + isXClosure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or iselectronfunction or istempleclosure or checkclosure, hookMetaMethod = hookmetamethod or (hookfunction and function(object, method, hook) return hookfunction(getMetatable(object)[method], hook) end), readFile = readfile, writeFile = writefile, From 3f18f8136fa1095c436468c68072a527b2b516b7 Mon Sep 17 00:00:00 2001 From: strawberrys <56797207+strawbberrys@users.noreply.github.com> Date: Fri, 28 Jan 2022 16:53:22 -0500 Subject: [PATCH 2/2] add temple support --- ohaux.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ohaux.lua b/ohaux.lua index ff03fd05..cabaf453 100644 --- a/ohaux.lua +++ b/ohaux.lua @@ -4,7 +4,7 @@ local getGc = getgc local getInfo = debug.getinfo or getinfo local getUpvalue = debug.getupvalue or getupvalue or getupval local getConstants = debug.getconstants or getconstants or getconsts -local isXClosure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or checkclosure +local isXClosure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or istempleclosure or checkclosure local isLClosure = islclosure or is_l_closure or (iscclosure and function(f) return not iscclosure(f) end) assert(getGc and getInfo and getConstants and isXClosure, "Your exploit is not supported") @@ -48,4 +48,4 @@ end aux.searchClosure = searchClosure -return aux \ No newline at end of file +return aux