Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Ever seen a backdoor in a script that looks like the following?
- RunString([==[
- enccodetbl = {...}
- function RunHASHOb()
- ...
- end
- pcall(RunHASHOb)
- ]==],"SDATA")
- Here's a deobfuscator for that. Just feed it the enccodetbl.
- NEW: Now also includes an obfuscator to turn a string into an enccodetbl.
- Please don't abuse for your shitty backdoors.
- ]]
- local function RunHASHOb(enccodetbl)
- local pdata = ""
- for i=1, #enccodetbl do
- pdata = pdata..string.char(bit.bxor(enccodetbl[i], 108))
- end
- return pdata
- end
- local function MakeHASHOb(pdata)
- local enccodetbl = {}
- for i=1, #pdata do
- enccodetbl[i] = bit.bxor(string.byte(pdata[i]), 108)
- end
- return "{"..table.concat(enccodetbl, ",").."}"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement