微信

来自百合仙子's Wiki
跳转到导航 跳转到搜索

微信浏览器

微信在 Android 下的 User Agent:[1]

mozilla/5.0 (linux; u; android 4.1.2; zh-cn; mi-one plus build/jzo54k) applewebkit/534.30 (khtml, like gecko) version/4.0 mobile safari/534.30 micromessenger/5.0.1.352

微信在 iPhone 下的 User Agent:

mozilla/5.0 (iphone; cpu iphone os 5_1_1 like mac os x) applewebkit/534.46 (khtml, like gecko) mobile/9b206 micromessenger/5.0

数据库

获取 key:md5(IMEI + uin)(int32,保留负号)的前七位(小写)。IMEI 可在微信数据目录的 MicroMsg/CompatibleInfo.cfg 文件中找到。uin 可在微信数据目录的 shared_prefs/system_config_prefs.xml 文件中,或者网页版 cookie 中找到。[2]

解密:

PRAGMA key = "key";
PRAGMA cipher_compatibility = 3;
PRAGMA cipher_use_hmac = off;
PRAGMA kdf_iter = 4000;
ATTACH DATABASE "decrypted_database.db" AS decrypted_database KEY "";
SELECT sqlcipher_export("decrypted_database");
DETACH DATABASE decrypted_database;

参见

外部链接

网页版接口

评论

参考资料