微信PC版聊天记录SQLite解密

  • 内容
  • 评论
  • 相关

首先,简单介绍一下微信加密数据库EnMicroMsg.db的破解方法:

如果你的模拟器或者真机已经获得了root权限,就可以直接将记录聊天记录的数据库文件拷贝出来,数据库文件具体存放位置如下:

Android手机版微信聊天记录在/data/data/中:

电脑版

C:\Users\Administrator\Documents\WeChat Files\微信号\Msg

Sandbox

C:\Sandbox\Administrator\沙盘名__DebugTest01\user\current\Documents\WeChat Files\微信号\Msg

 

获取密码gethash.php

<?php

/*
(手机IMEI + 微信uin )取MD5的前7位
866980025988136
866980025988144
2955909605

HXTG.WeChatGetHash.PHP
*/

                                //\\
                               //\/\\
                             //\/\/\/\\
                           //\/\/\/\/\/\\
                         //\/\/\/\/\/\/\/\\
                       //\/\/\/\/\/\/\/\/\/\\
                    $IMEI   =  '866980025988136';
                $UIN=                            '2955909605';
            echo          'IMEI is : </br>'          .$IMEI.'</br>';
        echo            'WeChatUIN is : </br>'          .$UIN.'</br>';
    echo             $IMEI   .  $UIN   .  '</br>';        //   WeChatuin
 echo               MD5  ($IMEI.$UIN) . '</br></br>';        //  Crypt this
                 $HASH = substr(MD5($IMEI.$UIN), 8, 24);
           echo 'wechat pass is : </br>'. substr($HASH, 0, 7);








?>

 

 

 

 

数据库加密是 SQLCipher

https://www.zetetic.net/sqlcipher/open-source/

 

 

111

 

然后 获取 手机 IMEI码   *#06#

获取微信UIN  如上图 用chrome的网络工具抓事件

 

 

 

 

然后丢进  sqliteSPY 就OK了

 

 

 

参考文章

SQLiteClipher

 

SQLiteClipher4Android

http://blog.csdn.net/yuanbohx/article/details/41674949

SQLiteSPY

http://www.onlinedown.net/softdown/71661_2.htm

http://www.tuicool.com/articles/JRVZBb

SQLCipher Core

The source code for the core SQLCipher library can be found here, or can be cloned from our git repository:

git clone https://github.com/sqlcipher/sqlcipher.git

SQLCipher for Android

Source code for the Android packages are made available via git:

git clone https://github.com/sqlcipher/android-database-sqlcipher.git

SQLCipher for Android Community Edition binaries are made available as a free service to the community here:

SQLCipher For Android

 

 

 

评论

3条评论
  1. qwe

    是同一个微信号,手机的可以打开

    • ICEFOX

      @qwe 手机版本的 网上有详细的过程 可以参考 cxun 大神的 ios微信聊天记录查看器 github.com/cxun/

  2. qwe

    微信桌面版怎么办? msg/micromsg的密码用这个密码打不开