Comments (12)
不知道密钥就穷举或者统计吧。功能不在本仓库范围内。
from lua-simple-encrypt.
hey how can i use this repo... there are no instructions in README.md
from lua-simple-encrypt.
@P-A-I-N
Just visit https://ganlvtech.github.io/lua-simple-encrypt/dist/index.html, select your file and then press the button. (You may need a translator)
This is a javascript tool, your lua won't be upload to any server. All things done on your own computer.
from lua-simple-encrypt.
from lua-simple-encrypt.
Use Lua string.dump
function to dump precompiled chunk. It's lua vm bytecode. It's better than my simple encryption. There is some lua decompilers, but it's still better than simple xor.
from lua-simple-encrypt.
from lua-simple-encrypt.
This kind of encryption would only prevent most users from viewing your original code. Maybe you want to protect some data in a paid script from being redistributed. And it would also prevent people who don't know the password from executing the script.
But It won't prevent advanced "hackers". Even if you encrypt it by a really sophisticated and horible algorithm. Once you give them a key, they can executed the code. Who could execute the code would also avaiable for debugging the code.
The XOR encrypt is really simple. When your code's file is big enough. I can also analyse it by statistics. Because words like if
, end
would appears many time, it's possible to guess the encryption key. (This problem can be solve by using another algorithm.)
My conclusion is just let those who don't know about lua and the beginners don't debugging keep away from your original data.
It's really easy for me to write a decryptor for my program only if i got your key. When you don't have the key. XOR encrypt is also a little hard.
from lua-simple-encrypt.
from lua-simple-encrypt.
ya...its true encryption is for protection....but can i make a encryption by my own ( for lua) btw im not a newbie in lua i make lua scripts for online games...like revo makes encryption for his own...can u teach me ?
In my opinion, if you could modify the lua engine., changing bytecode of the lua VM is a good way. it can prevent anonymous lua engine and decompiler.
There are two ways to make your own encryption. First is encode and decode. The second is break lua code into pieces, implement another vm in lua. I don't think there is an exact way to make your own protection. You just transform the code, making it unreadable but don't change the things you do.
from lua-simple-encrypt.
from lua-simple-encrypt.
Maybe he just find some bug of unluac
. It's true that unluac
has bug, some opcodes will cause it enter an infinite loop. Not only for Revo's, a simple code may also.
I'm recently try to find a way to decompile his encrypted code. (but i don't have enough time to write decompiler)
from lua-simple-encrypt.
from lua-simple-encrypt.
Related Issues (19)
- Multi Upload File HOT 2
- Info HOT 1
- LUA password
- There is no way to decrypt HOT 1
- GameGuardian could not be encrypted HOT 4
- deploy issues HOT 1
- Downloading issue
- Want with No password ! HOT 1
- Help: How do I decrypt it with password? HOT 1
- (I think) I have the key to decrypt a lua file, could you help me?
- HELPPP HOT 1
- Do you have any chance of having an instance without a backdoor? HOT 1
- how to decode HOT 3
- How to know key if they encrypt from here HOT 1
- Select file not working HOT 1
- How to decrease keybyte HOT 2
- how can decrypt this one without password
- Not working for fivem HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-simple-encrypt.