Categories > Exploiting > Scripts >
a script that checks executor supports hookfunction or not
Posted
made by me, the free executors are faking the sUNC and UNC scripts rn. this is for only checking hookfunction. I'll made something like UNC function test later.
if type(hookfunction) ~= "function" then
print("hookfunction() is not supported")
return
end
local function whyamidoingthis()
return "Original Function"
end
local function torture()
return "Hooked Function"
end
local pain = hookfunction(whyamidoingthis, torture)
if whyamidoingthis() == "Hooked Function" then
print("hookfunction() is working, function successfully hooked.")
else
print("hookfunction() is not working or function could not be hooked.")
end
hookfunction(whyamidoingthis, pain)
Cancel
Post
Exploits I Have: Synapse X, SirHurt.
https://cdn.discordapp.com/attachments/739231473378394213/933852176713941022/antharesss.png
YOUR ALL IS EPIC FOR ME
Replied
I don't know why people are faking functions. I find that lame but W script written well.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Comments
Anthares 5 Reputation
Commented
They are not only faking lmao, They make the functions seem like they really exist :D
0
_realnickk 89 Reputation
Commented
@Anthares
What's funny is that you can replace all function refs in the garbage collector as a "sh!tty hookfunction" that's detectable but works almost flawlessly.
Not gonna lie, your script doesn't check for that detectable implementation but its easy to check just see if the function address (tostring it shows the address) of the original function changes.
It would be like: if tostring(whyamidoingthis) == tostring(torture) then print("hook function works but sh!t and detectable"); end
Anyways that's a little niche trick for future reference!
0
Anthares 5 Reputation
Commented
That'll help about my function test script, Thanks!
0