Categories > Coding > Lua >
How to add a hookfunction to your exploit!
Posted
Hello today im going to be releasing a working hookfunction in lua that works! So you can get your exploits to fully support owlhub!
Step 1
Add this script
getgenv().hookfunction = function(function1, function2)
function1 = function2
end
Note how this is in lua so make sure to add it to your init script for it to work!
Step 2
Build your exploit and run this script
hookfunction(print, warn)
print("Working Hookfunction!")
Now you have a working hookfunction!!!
https://cdn.discordapp.com/attachments/835548835882729522/854851023583444992/unknown.png
when the function got hennessey
Replied
https://cdn.discordapp.com/attachments/854834206772953088/854851274464559124/unknown.png
imagine
Cancel
Post
Replied
@falseopx im sick of you faking these screenshots. I try and help the WeAreDevs community and this is how you treat me. enjoy your - 1 rep false.
Cancel
Post
when the function got hennessey
Replied
@yranxzy expect a cw soon. false -repping and skidding scripts from me. enjoy your *real* -rep joe.
Cancel
Post
Replied
this def is a troll lol
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
Who's Deez?
Replied
@yranxzy is this even real lmao, i suck at lua but i still think this is somehow a troll
Cancel
Post
Replied
@simplydev
what the hell thats so bad
int hookfunction(uintptr_t RLS)
{
r_lua_error(RLS, "working hookfunction")
return 1;
}
Cancel
Post
when the function got hennessey
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post