Giter Site home page Giter Site logo

lua-obfuscator's Introduction

Lua Obfuscator

Obfuscate your lua code because it's so easy to steal!

How to use

First, download it via the releases tab

Second, make sure to extract the files (won't work if you just open it in the zip)

Third, run the exe and type the path to the lua files you'd like to be obfuscated (e.g C:\Users\user\Desktop\obf-these-files will obfuscate all the lua files in that directory)

How to compile

First, open the Lua Obfuscator.sln

Second, make your changes

Third, with Visual Studio, at the top press Build then Build Solution (this can change depending on your IDE)

I have an error

If you have an issue please open one on GitHub and I'll try to help.

lua-obfuscator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lua-obfuscator's Issues

Can't open app (0xc000007b

0xc000007b error when trying to open .exe file, before that was error with ucrtbased.dll, but I fixed this by downloading this dll.
image

(suggestion) don't use loadstring

there are loads of easy to use Lua Bytecode decompilers (like unluac)
, and just using a lua compiler (which, from what i can tell, is all your code does).
Additionally, some environments don't provide loadstring, and require a custom LBI.
Additionally, use of some form of encryption would be useful.

DCS Still not accepting obfuscated LUA

Hi,

I have obfuscated two files with your new version and DCS is not taking it. It worked perfectly with changing load to loadstring, but with the new header it doesn't. Maybe there could be an option for the user to select load or loadstring manually...
Thanks!
image

Not full source code

When trying to recompile it (Added running parameter functionality,) the VSC++ compiler says that lua.h is missing. So are a lot of other header files.

Impossible to run it

Hi, when i start the .exe it gaves me Error Code 0xc000007b. I installed both x86 and x64 vcredist that you linked in the description. I also tried to open the project in Visual Studio but it's the same. Also tried to run it on a clean OS but nothing seems to work :(

Build Error in Visual Studio

Hello,
I opened this because i got 1 error in visual studio while building.
Error LNK1181 cannot open input file 'C:\Users\yoka1\Desktop\Main\Hjackt tools\Lua-Obfuscator-master\packages\lua.5.4.1\build\native\lib\x64\ERROR\Release\lua.lib' Lua Obfusactor C:\Users\yoka1\Desktop\Main\Hjackt tools\Lua-Obfuscator-master\Lua Obfusactor\LINK 1

obfuscated lua doesn't run

Hi,

I have used your code to obfuscate my LUA below, but loading it to the simulator "DCS World", it doesn't work anymore.
Do you have any idea what could be wrong? The script runs fine when not obfuscated.
Thanks a lot!

image

local staticObj = {
	["heading"] = 4.3458698374659,
	["groupId"] = 999,
	["shape_name"] = "rezky",
	["type"] = "REZKY",
	["unitId"] = 998,
	["rate"] = 100,
	["name"] = "Iran_BandarAbbas_Alvand-class-3",
	["category"] = "Ships",
	["y"] = -2685.7201420976,
	["x"] = 107644.82150389,
	["dead"] = false,
	["hidden"] = true,
}

coalition.addStaticObject(34, staticObj)
--Bandar Abbas port, check if hidden on map

Which results in:
load("\108\111\99\97\108\32\115\116\97\116\105\99\79\98\106\32\61\32\123\10\9\91\34\104\101\97\100\105\110\103\34\93\32\61\32\52\46\51\52\53\56\54\57\56\51\55\52\54\53\57\44\10\9\91\34\103\114\111\117\112\73\100\34\93\32\61\32\57\57\57\44\10\9\91\34\115\104\97\112\101\95\110\97\109\101\34\93\32\61\32\34\114\101\122\107\121\34\44\10\9\91\34\116\121\112\101\34\93\32\61\32\34\82\69\90\75\89\34\44\10\9\91\34\117\110\105\116\73\100\34\93\32\61\32\57\57\56\44\10\9\91\34\114\97\116\101\34\93\32\61\32\49\48\48\44\10\9\91\34\110\97\109\101\34\93\32\61\32\34\73\114\97\110\95\66\97\110\100\97\114\65\98\98\97\115\95\65\108\118\97\110\100\45\99\108\97\115\115\45\51\34\44\10\9\91\34\99\97\116\101\103\111\114\121\34\93\32\61\32\34\83\104\105\112\115\34\44\10\9\91\34\121\34\93\32\61\32\45\50\54\56\53\46\55\50\48\49\52\50\48\57\55\54\44\10\9\91\34\120\34\93\32\61\32\49\48\55\54\52\52\46\56\50\49\53\48\51\56\57\44\10\9\91\34\100\101\97\100\34\93\32\61\32\102\97\108\115\101\44\10\9\91\34\104\105\100\100\101\110\34\93\32\61\32\116\114\117\101\44\10\125\10\99\111\97\108\105\116\105\111\110\46\97\100\100\83\116\97\116\105\99\79\98\106\101\99\116\40\51\52\44\32\115\116\97\116\105\99\79\98\106\41\10\45\45\66\97\110\100\97\114\32\65\98\98\97\115\32\112\111\114\116\44\32\99\104\101\99\107\32\105\102\32\104\105\100\100\101\110\32\111\110\32\109\97\112\10")()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.