Forum > Coding >

How to add a hookfunction to your exploit!

yranxzy

joe22

vip

Posts: 353

Threads: 73

Joined: Aug, 2020

Reputation: 32

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

 

 

  • 0

Posts: 159

Threads: 32

Joined: Feb, 2021

Reputation: 9

Replied

https://cdn.discordapp.com/attachments/854834206772953088/854851274464559124/unknown.png
imagine

  • 0

yranxzy

joe22

vip

Posts: 353

Threads: 73

Joined: Aug, 2020

Reputation: 32

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.

  • 0

Posts: 159

Threads: 32

Joined: Feb, 2021

Reputation: 9

Replied

@yranxzy expect a cw soon. false -repping and skidding scripts from me. enjoy your *real* -rep joe.

  • 0

pepsi

PePsIDeveloper

vip

Posts: 259

Threads: 4

Joined: Apr, 2021

Reputation: 13

Replied

this def is a troll lol 

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Bones

deez nuts

Posts: 286

Threads: 6

Joined: Mar, 2021

Reputation: 11

Replied

@falseopx lol wtf is going on

  • 0

Who's Deez?

TERIHAX

i say im gay as a joke 🙀

Posts: 1789

Threads: 92

Joined: Jul, 2020

Reputation: 30

Replied

@yranxzy is this even real lmao, i suck at lua but i still think this is somehow a troll

  • 0

Posts: 79

Threads: 13

Joined: Oct, 2018

Reputation: -6

Replied

@TERIHAX

 

this is obviously a joke lol

  • 0

TERIHAX

i say im gay as a joke 🙀

Posts: 1789

Threads: 92

Joined: Jul, 2020

Reputation: 30

Replied

@GamerTuran nah its not

  • 0

yranxzy

joe22

vip

Posts: 353

Threads: 73

Joined: Aug, 2020

Reputation: 32

Replied

@simplydev

what the hell thats so bad

int hookfunction(uintptr_t RLS)

{
r_lua_error(RLS, "working hookfunction")
return 1;
}

  • 0

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )