Git Product home page Git Product logo

wechat_image_decode's Introduction

微信Image中的dat文件转png

突发奇想

定期清微信垃圾的时候发现image文件夹内的文件都是dat文件,然后就想把dat转png。

步骤

  • 获取加密密码

    用十六进制打开dat文件,获取前两个字节,然后跟FFD8进行异或,得到加密密码

  • 转换格式

    读取dat文件,执行异或操作,最后写入png文件。

Future Work

优化程序

参考

python 读取文件、并以十六进制的方式写入到新文件

解密微信电脑版image文件夹下缓存的用户图片

Python-PyQt5-图形可视化界面(5)--打开文件或文件夹--QFileDialog

利用正则表达式从文件路径中提取出文件名(包含后缀)

wechat_image_decode's People

Contributors

country-if avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.