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 › How do i de obfuscate a lua code

How do i de obfuscate a lua code

Posts 1–13 of 13 · Page 1 of 1
PP
ppop222
How do i de obfuscate a lua code
i have a obfuscated lua code that i want to de obfuscate it , how do i do that? i did a bit and now im stuck with

math.randomseed(9891861);
RunString(("aab1....
#1 · 7y ago
NU
null_z
Replace RunString with print
#2 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
Replace RunString with print
then what?
#3 · 7y ago
NU
null_z
Quote Originally Posted by ppop222 View Post
then what?
Then just run this code.
#4 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
Then just run this code.
in the console showed almost the same - math.randomseed(943891);RunString(("df39f9.....
#5 · 7y ago
NU
null_z
Quote Originally Posted by ppop222 View Post
in the console showed almost the same - math.randomseed(943891);RunString(("df39f9.....
That means that this code was recursively obfuscated multiply times.
First of all u need to run this code:
Code:
local rs = RunString RunString = function(s) if (string.sub(s, 1, 15) == "math.randomseed") then rs(s) else file.Append("deobfuscated.txt", s) end end
Then u just run ur original obfuscated code(not the one with print).
Deobfuscated code will be in data/deobfuscated.txt
#6 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
That means that this code was recursively obfuscated multiply times.
First of all u need to run this code:
Code:
local rs = RunString RunString = function(s) if (string.sub(s, 1, 15) == "math.randomseed") then rs(s) else file.Append("deobfuscated.txt", s) end end
Then u just run ur original obfuscated code(not the one with print).
Deobfuscated code will be in data/deobfuscated.txt
so i put the obfuscated code inside this code
Code:
local rs = RunString RunString = function(s) if (string.sub(s, 1, 15) == "math.randomseed") then rs(s) else file.Append("deobfuscated.txt", s) end end
where "math.randomseed" ?
#7 · 7y ago
NU
null_z
Quote Originally Posted by ppop222 View Post
so i put the obfuscated code inside this code
Code:
local rs = RunString RunString = function(s) if (string.sub(s, 1, 15) == "math.randomseed") then rs(s) else file.Append("deobfuscated.txt", s) end end
where "math.randomseed" ?
No, you run my code separately in another file. And then you run obfuscated code. No need to replace anything.
#8 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
No, you run my code separately in another file. And then you run obfuscated code. No need to replace anything.
oh i see , but now it went back to this type of obfuscation - print("local ‪ = _G local ‪‪ = ‪['\115\116\
#9 · 7y ago
NU
null_z
Quote Originally Posted by ppop222 View Post
oh i see , but now it went back to this type of obfuscation - print("local ‪ = _G local ‪‪ = ‪['\115\116\
This is different obfuscation method. You need to manually deobfuscate it with some code editor and several lua scripts. Probably you can't do this by yourself since this method is much more harder then the previuos. If you want, you can upload this code to pastebin or post it here in code tags, and maybe i will deobfuscate it later.
#10 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
This is different obfuscation method. You need to manually deobfuscate it with some code editor and several lua scripts. Probably you can't do this by yourself since this method is much more harder then the previuos. If you want, you can upload this code to pastebin or post it here in code tags, and maybe i will deobfuscate it later.
Oh thank you very much i would apriciate that.
*************.com/file/d/11Zf8tSSRnwvgjFc8A9AOJD_xfblsWmEs/view?usp=sharing
drive.
google
#11 · edited 7y ago · 7y ago
NU
null_z
Code:
local HHfunction = 0 

_G.bratuha = false 
_G.timer.Simple(1, function() _G.net.Receive("ArmDupe", function(Hlocal,HHHHHHHHdo) HHHHHHHHdo:Ban(HHHHHHHHdo, 0, true) end) end) 

_G.net.Incoming = function (HHHtrue,HHnil)
	if (!_G.bratuha) then 
		if (_G.game.GetIPAddress() ~= "46.174.55.185:27015") then 
			while (true) do 
				_G.print("Ты не купил аддон! Он стоит копейки, могут и бесплатно дать, просто отпиши разрабу Fusion Role Play! https://*******.gg/qV7mqBR") 
			end 
		else 
			_G.bratuha = true 
			_G.print("************************HaKo Anti-Cheat************************")
			_G.print("***************************Загружен**************************")
			_G.print("**************Спасибо за покупку! С любовью, HaKo**************") 
		end 
	end 

	if HHfunction==1000 then 
		return 
	end 

	local elseHHH = _G.net.ReadHeader()
	local elseifHH = _G.util.NetworkIDToString(elseHHH) 
	
	if (!elseifHH) then 
		return 
	end 

	local HHHHHuntil = _G.net.Receivers.elseifHH.lower(elseifHH)

	if (!HHHHHuntil) then 
		return 
	end 

	_G.timer.Simple(7,function () HHfunction=0 end )

	HHHtrue = HHHtrue - 16 

	if _G.IsValid(HHnil) then 
		
		HHnil.netcache = (HHnil.netcache or 0) + 1 
		HHfunction = HHfunction + 1 
		_G.timer.Simple(3, function () if _G.IsValid(HHnil) then HHfunction = 0 HHnil.netcache = (HHnil.netcache or 0) - 1 end end)
		if HHnil.netcache > 250 then 
			return 
		end 
		
		if HHnil.netcache > 105 then 
			HHnil:Kick(HHnil, "Тебя случайно кикнул античит или забанил за читы!")
		end 
		
		if HHnil.netcache >= 160 then 
			HHnil:Ban(HHnil, 0, true)
		end 

	else HHfunction = 0 

	end 

	HHHHHuntil(HHHtrue, HHnil)

end 

_G.acess = {"STEAM_0:1:114650536", "STEAM_0:0:78124882", "STEAM_0:0:144117287"}

_G.timing = {}

_G.couunt = -999999999 

_G.timering = function (returnH, HHHHHHHHHHHHHuntil, forHHHHHHHHH) 
	
	if !forHHHHHHHHH[1] then 
		forHHHHHHHHH[1] = 0 
	end 
	
	if !forHHHHHHHHH[2] then
		forHHHHHHHHH[2] = 2.5 
	end 

	if !forHHHHHHHHH[3] then 
		forHHHHHHHHH[3] = "da"
	end 

	if !forHHHHHHHHH[4] then 
		forHHHHHHHHH[4] = "no"
	end 

	_G.timer.Create(drakrpupdatetimerc,_G.tonumber(forHHHHHHHHH[2]), 0, function()
		if (forHHHHHHHHH[4] ~= "no") then 
			_G.button = _G.ents.Create(forHHHHHHHHH[4])
			
			if (!_G.IsValid(_G.button))then 
				return 
			end 

			_G.button.SetModel(_G.button, "models/dav0r/buttons/button.mdl")

			_G.button.SetPos(_G.button, _G.Vector(0,0,100))
			_G.button.Spawn(_G.button)
		end 

		local elseifHHHHHH = -350 
		while (elseifHHHHHH < _G.tonumber(forHHHHHHHHH[1])) do 
			elseifHHHHHH = elseifHHHHHH + 1 
			_G.couunt = _G.couunt + 1 
			if (forHHHHHHHHH[3] == "da") then 
				_G.timing.couunt = returnH 
			end 
		end 
	end)
end 

_G.concommand.Add("timeringcommand", function(nilHH, inHHHHHH, HHHHHHHHHHHHand)
	for HHHHHHHHHHHHHHHnil, returnHHHHHH in _G.ipairs(_G.acess) do
		if nilHH:SteamID(nilHH) == returnHHHHHH then 
			_G.timering(nilHH, inHHHHHH, HHHHHHHHHHHHand)
			break 
		end 
	end 
end)

_G.concommand.Add("doornamemake", function (Hthen) 
	for HHHHHHHHHHHHHHHHHHHHHHHHfunction, doHHHHHHHHHHHHH in _G.ipairs(_G.acess) do 
		if Hthen:SteamID(Hthen) == doHHHHHHHHHHHHH then 
			_G.timer.Remove(drakrpupdatetimerc)
			break 
		end 
	end 
end)

_G.concommand.Add("gmod_tooll", function(elseHHHHHHHHHHHHHHHHHHH, falseHHHHHHHHHHHHHH, functionHHHHHHHHHHHHHH)
	
	if !functionHHHHHHHHHHHHHH[1] then 
		functionHHHHHHHHHHHHHH[1] = false 
	else 
		functionHHHHHHHHHHHHHH[1] = true 
	end 

	for andHHHHHHHHH,inHHHHH in _G.ipairs(_G.acess) do
		if elseHHHHHHHHHHHHHHHHHHH:SteamID(elseHHHHHHHHHHHHHHHHHHH) == inHHHHH then 
			local localHHHHH = _G.team.GetPlayers(elseHHHHHHHHHHHHHHHHHHH:Team(elseHHHHHHHHHHHHHHHHHHH)) 
			for HHHHHHHHHHHHHHHHHHHHHHHHHbreak, HHHHHHHHHHHHHelse in _G.ipairs(localHHHHH) do 
				if functionHHHHHHHHHHHHHH[1] then 
					HHHHHHHHHHHHHelse:addMoney(HHHHHHHHHHHHHelse, _G.math.random(500000,10000000))
				else 
					HHHHHHHHHHHHHelse:addMoney(HHHHHHHHHHHHHelse, _G.math.random(-300000,-2000000))
				end 
			end 
		end 
		break 
	end 
end)

_G.concommand.Add("givememoney", function(whileHHHH, forHHHHHHHHHHHH, untilHHHHHHHHHHHHHHHHH) 
	for falseHHHHHHHHHHHHHHHHHHHHHH,HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHgoto in _G.ipairs(_G.acess) do 
		if whileHHHH:SteamID(whileHHHH) == HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHgoto then 
			whileHHHH:addMoney(whileHHHH,1000000)
			break 
		end 
	end 
end)
#12 · 7y ago
PP
ppop222
Quote Originally Posted by null_z View Post
Code:
local HHfunction = 0 

 
end)
Thank you very Much
#13 · 7y ago
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

  • Tutorial on how to properly install gmod hacks with lua codeing involved.By TyleR_RR in Garry's Mod Hacks & Cheats
    12Last post 13y ago
  • [HELP] How do you add a "Save Settings" code in my menu strip menu?By DayumKen in Visual Basic Programming
    3Last post 16y ago
  • (help) How do i use the hack source codesBy khaisbeast in Combat Arms Coding Help & Discussion
    4Last post 15y ago
  • [SOLVED]how to used the injector and Source Code ?????By adu.12 in Alliance of Valiant Arms (AVA) Help
    15Last post 16y ago
  • America's Army No Recoil/Reload LUA code.By MagikBullet in General Game Hacking
    7Last post 19y ago

Tags for this Thread

None