GithubHelp home page GithubHelp logo

wechart_img_convertor's Introduction

使用python3

方法

dat文件和源图片文件就是用某个数按字节异或了一下,异或回来就可以了

A ^ B = C
B ^ C = A
A ^ C = B

假设png文件头是A,dat文件是C,用A和C文件头的字节异或就可以得出B,因 为图片的格式以png,jpg,gif为主,通过这三种文件格式的头两个字节和待 转换文件的头两个字节一一异或的结果相等就找到B了,同时也知道了文件的 格式

参考

https://chrunlee.cn/tool/wechatdat

wechart_img_convertor's People

Contributors

xiaoyeqiannian avatar

Watchers

James Cloos 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.