Jump to content

[Tool] Double-Click Lua Compiler


Sora

Recommended Posts

hi everybody ^^

this is my new double-click compiler

its uses simple compiling method which may block the noobs from decompiling it

results would be loadstring with slashes and numbers like this

loadstring('\27\76\117\97\81\0\1\4\4\4\8\0\25\0\0\0\112\114\105\110\116\40\34\105\116\122\32\119\111\114\107\105\110\103\32\33\34\41\13\10\0\0\0\0\0\0\0\0\0\0\0\2\2\4\0\0\0\5\0\0\0\65\64\0\0\28\64\0\1\30\0\128\0\2\0\0\0\4\6\0\0\0\112\114\105\110\116\0\4\14\0\0\0\105\116\122\32\119\111\114\107\105\110\103\32\33\0\0\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0')()

Usage :

just copy + paste the script you want to compile in the same folder(the compiler folder) then name it script.lua click on sora.exe and you'll get it compiled as script.luac

Download :

http://adf.ly/KUK6Q

Scan results :

https://www.virustotal.com/en/file/3b22 ... 362765074/

Edited by Guest
Link to comment
This isn't really compiling, just some code converted to bytes and then to decimal. To get the real code back, you just need some very basic knowledge and it ends up being as easy as decompiling a script.
i've wrote it's may block noobs from decompiling it ..

it's compiles like any other compiler we use , then convert it's bytes to hexadecimal as you said above ..

if this wasn't a compiler then all compilers even lua's compiler are not a real compilers :roll: .

Link to comment
This isn't really compiling, just some code converted to bytes and then to decimal. To get the real code back, you just need some very basic knowledge and it ends up being as easy as decompiling a script.
i've wrote it's may block noobs from decompiling it ..

it's compiles like any other compiler we use , then convert it's bytes to hexadecimal as you said above ..

if this wasn't a compiler then all compilers even lua's compiler are not a real compilers :roll: .

http://en.wikipedia.org/wiki/Compiler

Link to comment

Pretty "good" solution.

1. Reference the code as a string variable

2. Print it to a file

local code = "\27\76\117\97\81\0\1\4\4\4\8\0\25\0\0\0\112\114\105\110\116\40\34\105\116\122\32\119\111\114\107\105\110\103\32\33\34\41\13\10\0\0\0\0\0\0\0\0\0\0\0\2\2\4\0\0\0\5\0\0\0\65\64\0\0\28\64\0\1\30\0\128\0\2\0\0\0\4\6\0\0\0\112\114\105\110\116\0\4\14\0\0\0\105\116\122\32\119\111\114\107\105\110\103\32\33\0\0\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" 
local newFile = fileCreate("output.txt") 
if (newFile) then 
    fileWrite(newFile, code) 
    fileClose(newFile) 
end 

print("it doesn't do shit!") 

Link to comment
Pretty "good" solution.

1. Reference the code as a string variable

2. Print it to a file

local code = "\27\76\117\97\81\0\1\4\4\4\8\0\25\0\0\0\112\114\105\110\116\40\34\105\116\122\32\119\111\114\107\105\110\103\32\33\34\41\13\10\0\0\0\0\0\0\0\0\0\0\0\2\2\4\0\0\0\5\0\0\0\65\64\0\0\28\64\0\1\30\0\128\0\2\0\0\0\4\6\0\0\0\112\114\105\110\116\0\4\14\0\0\0\105\116\122\32\119\111\114\107\105\110\103\32\33\0\0\0\0\0\4\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0" 
local newFile = fileCreate("output.txt") 
if (newFile) then 
    fileWrite(newFile, code) 
    fileClose(newFile) 
end 

print("it doesn't do :~!") 

Yes, this way will decompile the file -_-

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...