Skip to content

Commit

Permalink
Merge pull request #57 from strawbberrys/revision
Browse files Browse the repository at this point in the history
add temple support
  • Loading branch information
Upbolt authored Mar 10, 2022
2 parents 473b1a9 + 3f18f81 commit 43f50cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions ohaux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -51,4 +51,4 @@ end
aux.placeholderUserdataConstant = placeholderUserdataConstant
aux.searchClosure = searchClosure

return aux
return aux

0 comments on commit 43f50cd

Please sign in to comment.