
我只是搜索了好一阵子,都没找到相关的内容。应该是全网首发吧~~~~~
Launcher:安卓平台中的桌面启动器,安卓平台的桌面UI统称为Launcher
微信有后台自启动权限,启动会调用个人信息哈~
第一步:反编译微信 jadx查看代码(此处省略此方法)

第二步:搜索Launcher微信xposed,我们可以发现LancherUI.class

第三步:找到Oncreate,然后发现一个可疑字符串login_user_name



第四步:追踪出来,可以看见数据是存在Sharedpreferences。



第五步:继续跟踪dbx().

很显然bSl为局部变量 往上找


这样我们就获得配置文件名称,哈哈哈~
第六步:编写代码,这里只是提供一些字段,还有其它信息按照代码是可以找到的。
XposedHelpers.findAndHookMethod(XposedHelpers.findClass("com.tencent.mm.ui.LauncherUI", WxHook.wxClassLoader), "onCreate", Bundle.class, new XC_MethodHook() {
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
SharedPreferences sharedPreferences = ((Activity) param.thisObject).getSharedPreferences("com.tencent.mm_preferences", 0);
String login_weixin_username = sharedPreferences.getString("login_weixin_username", "null");
String last_login_nick_name = sharedPreferences.getString("last_login_nick_name", "null");
String login_user_name = sharedPreferences.getString("login_user_name", "null");
String last_login_uin = sharedPreferences.getString("last_login_uin", "null");
log(login_weixin_username+"---"+last_login_nick_name+"----"+login_user_name+"----"+last_login_uin);
}
});
第七步:演示效果

这样我们微信的wxid ,昵称(我的名字是 L),登录帐号,uin(解密微信需要用到)都早已拿取到了.
以上均为安卓微信7.0.0学习交流微信xposed,不得作其它违法用途。
[公告]安全检测和工程外包请将项目需求发到看雪企服平台:
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/shouji/article-129056-1.html
奶粉是干的不
出去看看大千世界