Code Monkey home page Code Monkey logo

wic's Introduction

Wechat Image Conversion

注意

  1. 如果使用代码运行的话需要使用Python运行,且需要binascii包,推荐装一个winPython或是anaconda. 如果使用的是编译后的exe运行则不需要Python,可以直接运行.

  2. 不要外传,以免算法失效

使用指南

查找dat文件

电脑端的话...打开文件夹:

我的文档\WeChat Files\你的用户名\Data

然后通过两种方法查找原始的dat文件:

  1. 根据修改时间

  2. 在电脑端的微信上找到那张图片的前后图片, 然后右键保存,从弹出的保存窗口中复制默认的文件名, 然后在文件夹中搜索文件名,会找到一个和此保存的文件名相似的dat文件, 然后查找前后.

操作步骤(两种方法选一种)

  1. 首先确认系统是否打开显示文件扩展名的选项.没有的话请谷歌或百度.

  2. 方法中所提到的"通过在电脑端发送color_sheet.jpg文件,得到dat文件", 指的是将color_sheet.jpg文件发送到文件传输助手或是任意一位好友. 主要目的是为了得到对应的dat文件.通过此文件明文与密文的对应关系来解码需要恢复的dat文件.

第一种方法

  1. 通过在电脑端发送color_sheet.jpg文件,得到dat文件, 复制到代码文件夹,更名为color_trans.dat

  2. 把需要转换的文件复制进代码文件夹,更名为in.dat

  3. 运行代码:python wic.py

  4. 查看out.jpg文件

第二种方法

  1. 百度云盘 密码: 2j9h 下载WinEXE.zip文件,解压到文件夹

  2. 通过在电脑端发送color_sheet.jpg文件,得到dat文件, 复制到程序文件夹,更名为color_trans.dat

  3. 把需要转换的文件复制进程序文件夹,更名为in.dat

  4. 运行wic.exe

  5. 查看out.jpg文件

如果觉得能用,知乎点个赞吧...

wic's People

Contributors

seraphli 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.