0% found this document useful (0 votes)
22 views1 page

Hook Security

Hook security research

Uploaded by

pacoymako
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views1 page

Hook Security

Hook security research

Uploaded by

pacoymako
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

local function CheckKeyWords(inputted)

local stringcount = 0
local tabll = {"https://mosca","mosca","000webhostapp"}
for i,v in pairs(tabll) do
if string.find(inputted, v) then
stringcount = stringcount + 1
end
end
if stringcount ~= 0 then
return true
else
return false
end
end

local function foundhook()


warn("crashing...")
end

local functions = {
rconsoleprint,
warn,
print,
error,
consoleprint
}
local neededhook = nil

for i,v in pairs(functions) do


local hooked
hooked = hookfunction(v, function(args)
if CheckKeyWords(args) then
foundhook()
elseif args == "83912931893891292398" then
neededhook = true
else
hooked(args)
end
end)
end

hookfunction(hookfunction, function(args)
foundhook()
end)

print("83912931893891292398")

while wait() do
if neededhook == nil then
foundhook()
break
else
break
end
end

local req = http_request({Method = "GET", Url =


"https://moscaware.000webhostapp.com/test"})
print(req.Body)

You might also like