Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Garry's Mod Hacks & Cheats › Garry's Mod Discussions & Help › scripthook module

scripthook module

Posts 1–15 of 111 · Page 1 of 8
…
tdsx
tdsx
scripthook module
So I threw this together today. A module that saves all clientside/shared scripts and adds a hook that lets you prevent scripts from loading.


It isn't a traditional GMod hook. It loads a file and raw sets some global variables. _SCRIPT is the script itself. _SOURCE is the source of it (a file, RunString, SendLua, etc). This is what my 'hook' file looks like.

Code:
if (_SOURCE == "lua/autorun/client/msg.lua" or _SOURCE == "LuaCmd") then
	return false
end
The global variables are destroyed after they're used. In the right hands, you could theoretically bypass any and every anti-cheat. Probably the most trouble you'll run into are anti-cheats that use net messages or concommands to communicate, in which case, you'll have to fool the server into thinking everything is A-ok by using the same concommands and net messages. If you don't communicate with the server as if the anti-cheat would, the server will know somethings fucky.

Pictures!







Every thing that is attempted to be ran is saved to a folder that is named after the server you are connected to!

Thoughts? Suggestions? Insults from @D3M0L1T10N? They're all welcome! This is going to be released soon
#1 · edited 11y ago · 11y ago
TheyCallMeDaz
TheyCallMeDaz
Wow this is the first thing I've seen released here that I can actually say impresses me, this looks pretty fucking awesome.
This is really cool and something I never even thought about doing (shows how original I am.)
#2 · 11y ago
SU
suchisgood
Sound really useful to use, Nothing like some extra protection!
#3 · edited 11y ago · 11y ago
KO
Kona-chan
I wanted to find anything bad to say againaist this but instread I found the idea of using gLua to interact with RunString actually better than doing your 'blacklist' in C++, since you can just modify it on-the-fly without having to recompile everytime.

+rep
#4 · 11y ago
tdsx
tdsx
Thank you all for kind words. I can't wait to progress this
#5 · 11y ago
ehex
ehex
Looks good dude.

It's been a while since i saw someone do a blacklist like that. I also finished my filestealer a few days ago and have a blacklist too ( mine just reads from a txt file and stops files from loading, so its not as cool ).
#6 · edited 11y ago · 11y ago
TH
TheLegenderyCat
Quote Originally Posted by tdsx View Post
So I threw this together today. A module that saves all clientside/shared scripts and adds a hook that lets you prevent scripts from loading.


It isn't a traditional GMod hook. It loads a file and raw sets some global variables. _SCRIPT is the script itself. _SOURCE is the source of it (a file, RunString, SendLua, etc). This is what my 'hook' file looks like.

Code:
if (_SOURCE == "lua/autorun/client/msg.lua" or _SOURCE == "LuaCmd") then
	return false
end
The global variables are destroyed after they're used. In the right hands, you could theoretically bypass any and every anti-cheat. Probably the most trouble you'll run into are anti-cheats that use net messages or concommands to communicate, in which case, you'll have to fool the server into thinking everything is A-ok by using the same concommands and net messages. If you don't communicate with the server as if the anti-cheat would, the server will know somethings fucky.

Pictures!







Every thing that is attempted to be ran is saved to a folder that is named after the server you are connected to!

Thoughts? Suggestions? Insults from @D3M0L1T10N? They're all welcome! This is going to be released soon
Kinda reminds of nanohack that Function gave me :/ it got lua dumps the same thing as yours. But this time it blocks stuff from running I guess that pretty new and awesome c:
#7 · edited 11y ago · 11y ago
tdsx
tdsx
Worked something up to bypass LeyAC.

Code:
if (_SOURCE == "LuaCmd" and string.find(_SCRIPT, "if not hellohellohelloimcool")) then
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString(" ")
	net.SendToServer()

	return false
end

if (_SOURCE != "addons/leyac/lua/_ley_imp.lua") then return end

net.Receive("ijustwannahaveyourightbymyside", function()
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString(" ")
	net.SendToServer()
end)

hook.Add("InitPostEntity", "LeyAC", function()
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString("in")
		net.WriteString("hellohellohelloimcool")
	net.SendToServer()

	hook.Remove("InitPostEntity", "LeyAC")
end)

return false
It doesn't completely emulate the actual clientside AC, but that's only because I only did this as a proof of concept. The server can request different things, which I didn't bother to put in. From what I see, though, everything seems normal.



And a TAC bypass just cause it's that fucking easy.

Code:
if (_SOURCE:lower() != "addons/tac/lua/autorun/client/cl_blunderbuss.lua") then return end

timer.Create("TACTimer", math.random(60, 120), 0, function()
	net.Start("ttt_scoreboard")
		net.WriteString("gotit")
	net.SendToServer()
end)

return false
#8 · edited 11y ago · 11y ago
TH
TheLegenderyCat
Quote Originally Posted by tdsx View Post
Worked something up to bypass LeyAC.

Code:
if (_SOURCE == "LuaCmd" and string.find(_SCRIPT, "if not hellohellohelloimcool")) then
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString(" ")
	net.SendToServer()

	return false
end

if (_SOURCE != "addons/leyac/lua/_ley_imp.lua") then return end

net.Receive("ijustwannahaveyourightbymyside", function()
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString(" ")
	net.SendToServer()
end)

hook.Add("InitPostEntity", "LeyAC", function()
	net.Start("ijustwannahaveyourightbymyside")
		net.WriteString("in")
		net.WriteString("hellohellohelloimcool")
	net.SendToServer()

	hook.Remove("InitPostEntity", "LeyAC")
end)

return false
It doesn't completely emulate the actual clientside AC, but that's only because I only did this as a proof of concept. The server can request different things, which I didn't bother to put in. From what I see, though, everything seems normal.



And a TAC bypass just cause it's that fucking easy.

Code:
if (_SOURCE:lower() != "addons/tac/lua/autorun/client/cl_blunderbuss.lua") then return end

timer.Create("TACTimer", math.random(60, 120), 0, function()
	net.Start("ttt_scoreboard")
		net.WriteString("gotit")
	net.SendToServer()
end)

return false
When are you gonna release this?
#9 · 11y ago
tdsx
tdsx
Quote Originally Posted by TheLegenderyCat View Post
When are you gonna release this?
Today or tomorrow. Probably today. I just want to make sure it's in perfect condition.
#10 · 11y ago
D3M0L1T10N
D3M0L1T10N
u must be high if you are going to release a runstring hook to the public

- - - Updated - - -

The global variables are destroyed after they're used. In the right hands, you could theoretically bypass any and every anti-cheat.

not if the anti cheat is good
#11 · 11y ago
tdsx
tdsx
Quote Originally Posted by D3M0L1T10N View Post
not if the anti cheat is good
if you emulate the AC clientside the server has no way to tell anything is wrong
#12 · 11y ago
D3M0L1T10N
D3M0L1T10N
Quote Originally Posted by tdsx View Post
if you emulate the AC clientside the server has no way to tell anything is wrong
id show you why this wont work on some acs, but then you would fix it so nahhhhh
#13 · 11y ago
KO
Kona-chan
Quote Originally Posted by D3M0L1T10N View Post
id show you why this wont work on some acs, but then you would fix it so nahhhhh
crc checks
#14 · 11y ago
TheyCallMeDaz
TheyCallMeDaz
Quote Originally Posted by D3M0L1T10N View Post
u must be high if you are going to release a runstring hook to the public

- - - Updated - - -

The global variables are destroyed after they're used. In the right hands, you could theoretically bypass any and every anti-cheat.

not if the anti cheat is good
^This.

If you're planning to release this, someone will find a way to detect it in just a few moments, I'd recommend that if you plan to release something like this then you should get rid of some amount of security.
#15 · 11y ago
Posts 1–15 of 111 · Page 1 of 8
…

Post a Reply

Similar Threads

  • module vb6By ZeaS in WarRock - International Hacks
    12Last post 19y ago
  • Module for WarrockBy condor01 in WarRock - International Hacks
    4Last post 19y ago
  • [request] ModuleBy Elliwood in WarRock - International Hacks
    6Last post 19y ago
  • [request]New ModuleBy killer2334 in Hack Requests
    0Last post 19y ago
  • [VB6 Module edit]By leiva1 in Visual Basic Programming
    8Last post 19y ago

Tags for this Thread

#anti-cheat#anticheat#bypass#module#script#scripthook