包含关键字 lanyus 的文章

BlockSecureFlag

手机升级到QQ最新版,发现推出了闪照功能,查看闪照时禁止截图,查了下实际是加了WindowManager.LayoutParams.FLAG_SECURE标志,so,写了个xposed模块干掉他.

Xposed模块地址在这:http://repo.xposed.info/module/com.lanyus.blocksecureflag
源代码在这:https://github.com/ilanyu/BlockSecureFlag
apk文件在https://github.com/ilanyu/BlockSecureFlag/releases或者Xposed的模块地址都能下载到

下载安装后到xposed安装器中启用模块,勾选需要阻止添加WindowManager.LayoutParams.FLAG_SECURE标志的app,这里需要注意下支付宝、网上银行类的app不建议拦截,像支付宝里的付款码,商家拿到后,直接就能扣费,不需要用户这边的确认.

Android Adguard Crack

Adguard is a good ad blocker, but it needs $9.95/year or $24.95/lifetime, and you can get a cracked version from internet, but the cracked version is not newest. So, I wrote a xposed module to crack Adguard, it can crack the newest version.

The xposed module' core source is:

- 阅读剩余部分 -

Mybatis Plus 插件激活流程分析

大概描述下流程,之前分析的时候做的记录被删了:IDEA中输入激活码,点击激活后,会采集一些电脑的信息,比如是不是32位系统,是不是64位系统,是不是mac,是不是windows,是不是linux等信息,然后和输入的激活码一起通过POST的方式用json格式传递给https://www.codesmagic.com/activate(出现的uri一共有5个,分别是/、/activate、/report、/e、/any,没有去分析其他的),返回值为json格式,包含有verified、message、key、result,key和result就是http://blog.lanyus.com/archives/235.html这里的key和result,会写入到mybatis.xml中。

- 阅读剩余部分 -

记录下android SELinux造成ida无法调试

换了小米note顶配后,cpu是64位的,ida 6.8不支持64位的调试,搞了台旧的小米4来做测试机,刷了最新miui8系统后,附加进程时提示:
The debugger could not attach to the selected process.
This can perhaps indicate the process was just terminated, or that you dot't have the necessary privileges.
如图:
idadebugerror.png

猜测SELinux的问题,关闭SELinux后,成功,发现网上没有提到这个问题,这里记录下

附关闭SELinux的方法:
1、检测SELinux是否打开:getenforce
返回值:Enforcing:强制模式 Permissive:宽容模式 Disabled:关闭

2、临时关闭SELinux:setenforce 0
0为关闭,1为打开,执行后立即生效,无需重启