• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jkusner/LuaObfuscator: A lua obfuscator originally designed for Garry's Mod ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jkusner/LuaObfuscator

开源软件地址(OpenSource Url):

https://github.com/jkusner/LuaObfuscator

开源编程语言(OpenSource Language):

Python 94.0%

开源软件介绍(OpenSource Introduction):

LuaObfuscator

This lua obfuscator was originally designed for Garry's Mod, but should work on vanilla lua. Written for private use in January 2016. I never did anything with it so I decided to put it on GitHub.

Requirements

  • Python 3.4.3+ (VERY IMPORTANT)

Optional Things

  • pyperclip (pip install pyperclip)

Usage

python __main__.py [--input input.lua] [--output output.lua] [--level 1] [--dontcopy] [--debug]

The default values are shown above.

If you don't want the code copied to your clipboard, use --dontcopy.

If your script is not running correctly, use --debug and you may find the issue.

Levels

Passed with the --level x argument.

Lvl Info
0 Original strings, should be very similar in size to input file
1 Creates a small file, less not as good as Lvl 2
2 Creates a small file, recommended level
3 Invisible strings, huge files that appear to be very small, not recommended!

Features

  • Code is tokenized and kind of understood
  • Strings are stripped, ciphered and replaced
  • Code rearrangement while retaining functionality
  • All variables, local and global, are understood and replaced
  • Renaming of variables defined in for loops
  • Basic understanding of code heirarchy

Known issues

  • Garry's Mod Lua adds // comments, which conflicts with Lua 5.3's floor division operator. Code using the floor division operator should be changed to something like math.floor(a/b)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap