88 lines
2.1 KiB
Lua
88 lines
2.1 KiB
Lua
-- to launch, we need to select a unique lua file to inject into.
|
|
if (gluesteak.SCRIPT:match("cl_disguise")) then
|
|
-- Verify injection
|
|
function GS_Test()
|
|
print(" Your Test Steak Has been glued Sir.")
|
|
surface.PlaySound("npc/scanner/scanner_scan1.wav")
|
|
end
|
|
concommand.Add("gs_test", GS_Test)
|
|
|
|
-- Run dynamic user-defined code.
|
|
function GS_TRIGGER()
|
|
gluesteak.include("trigger.lua")
|
|
end
|
|
concommand.Add("gs_trigger", GS_TRIGGER)
|
|
|
|
-- Run dynamic user-defined code.
|
|
function GS_NETRIGGER()
|
|
gluesteak.include("./pkt/frame_handler.lua")
|
|
end
|
|
concommand.Add("gs_net", GS_NETRIGGER)
|
|
|
|
-- Run dynamic user-defined code.
|
|
function GS_TFIND()
|
|
gluesteak.include("tList.lua")
|
|
end
|
|
concommand.Add("gs_tfind", GS_TFIND)
|
|
|
|
-- Load TH
|
|
--function GS_H()
|
|
-- gluesteak.include("timesh.lua")
|
|
--end
|
|
--concommand.Add("gs_h", GS_H)
|
|
|
|
-- SteakScan
|
|
--gluesteak.include("steakscn.lua")
|
|
end
|
|
|
|
-- Rewrites
|
|
if (gluesteak.SCRIPT:match("disconnect")) then
|
|
-- Replace the original disconnect script with our own.
|
|
gluesteak.include("./redir/disconnector.lua")
|
|
-- Kill the original script
|
|
return false
|
|
end
|
|
--
|
|
-- Exploit: unlimited PS rewards claim
|
|
if (gluesteak.SCRIPT:match("cl_drewardsbox")) then
|
|
-- Replace the original disconnect script with our own.
|
|
gluesteak.include("./redir/gl_drewardsbox.lua")
|
|
-- Kill the original script
|
|
return false
|
|
end
|
|
--
|
|
|
|
|
|
-- Blacklists
|
|
--
|
|
if (gluesteak.SCRIPT:match("cl_screenshot")) then
|
|
-- gmod_discordintegration arbitrary URL screenshot
|
|
return false
|
|
end
|
|
--
|
|
if (gluesteak.SCRIPT:match("clientv2")) then
|
|
-- Screenshot alert
|
|
return false
|
|
end
|
|
--
|
|
if (gluesteak.SCRIPT:match("anticheat")) then
|
|
-- Moat AC
|
|
return false
|
|
end
|
|
--
|
|
if (gluesteak.SCRIPT:match("cc_commandtable")) then
|
|
-- Dinkleburg AC (convar scan)
|
|
return false
|
|
end
|
|
--
|
|
if (gluesteak.SCRIPT:match("cc_hook")) then
|
|
-- Dinkleburg AC (hook scan)
|
|
return false
|
|
end
|
|
--
|
|
if (gluesteak.SCRIPT:match("cc_rcon")) then
|
|
-- Dinkleburg server remote lua exec
|
|
return false
|
|
end
|
|
--
|