- Adding LuaObfuscator to your GitHub repo
Adding LuaObfuscator to your GitHub repo
Tired of clicking buttons in the GUI? Time to explore the REST API!
The platform comes with a couple of REST API endpoints one can use to automate their Lua obfuscation needs. One of our community members has reached out and wanted to share the GitHub repository he designed to automate the process of obfuscation.
For those unfamiliar with our REST API endpoints, the below lists explain them:
- POST luaobfuscator.com/api/obfuscator/newscript
- POST luaobfuscator.com/api/obfuscator/obfuscate
To use you will need two headers:
apikey: your API key(currently defaulted to 'test')
sessionId: identifier obtained after calling
Your Lua code goes into the body of
api/obfuscator/newscript, which responds with a JSON body containing a message and the
sessionId. Next, you use the
sessionId in the header to call
luaobfuscator.com/api/obfuscator/obfuscate, along with a JSON body describing the settings you wish to apply.
For a more practical example, have a look at the work of one of our community members - who goes by the name of Ferib - as he made a nice GitHub Action to automate the process.
Automated build in your Actions tab!
!! Warning, please note that this is a mere hobby project and not all features have been properly tested, make sure to test your configurations before releasing!