Comments (3)
又尝试了一上午,最终还原了代码
自论坛文章后,原作者看起来应该是改良了算法
原有的二次gzcompress跟base64编码都去掉了
反而加密了中文字符跟一些常见内置函数名
在最后的eval中直接调用了解码函数在内存中还原了代码
故沿着本身算法还原后还会有乱码
最后用了str_replace等一系列彩笔字符串替换函数还原了代码
最后还是感谢大佬的文章给了我灵感
谢谢
from php-enphp-decoder.
如果用 PHP-Parser 的话最好用专业点的调试器,比如在 PhpStorm 中调试,看着能方便点。
就我目前来看,php parser 不会出问题,他的语法分析器还是很靠谱的。
from php-enphp-decoder.
如果用 PHP-Parser 的话最好用专业点的调试器,比如在 PhpStorm 中调试,看着能方便点。
就我目前来看,php parser 不会出问题,他的语法分析器还是很靠谱的。
我又来了、、、
今晚研究的题目是魔方1
不是很懂虚拟机
如果原始文件是对其他文件有依赖的话这时候该怎么处理这个文件?
直接运行目标文件的话会提示依赖的函数未定义
抱歉我表达能力不太好
a文件依赖b文件里的B函数
魔方的加密方式不像zym那样是代码还原后执行
所以运行原始文件的时候就已经报错了,这个时候该怎么解决呢?
原来是我理解错误。。。
后面尝试发现格式化得到的func_map 中decode参数是空白
尝试debug、、
整明白了 以我现在的水平还造不出来这个指令集
歇菜了、、
打扰了、、、
from php-enphp-decoder.
Related Issues (9)
- 解析出现这个异常,是不对吗 HOT 1
- 您看一下,跟您测试文件差不多报错了 HOT 8
- 貌似有点问题 HOT 2
- 对类的处理不是很到位 HOT 3
- 这种可以还原吗 HOT 3
- 要是有注释就更给力了 HOT 1
- 之后会出关于微擎2c goto解密的教程吗 HOT 1
- 你好,能将这个包放到https://packagist.org/吗 HOT 3
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 php-enphp-decoder.