search
HomeWeChat AppletWeChat DevelopmentTeach you how to modify WeChat exercise steps (IOS)

Note: I believe that friends who like reverse engineering have already heard about the WeChat automatic red envelope grabbing plug-in, or it can be said that it has been widely disseminated, but the author found that there are actually only two articles about it. Original, the rest are crazy reprints. After looking at the "love" for WeChat on the Internet, currently the only thing is grabbing red envelopes, so I bring you another practical skill---modifying WeChat exercise parameters, so mom doesn't have to worry about me. Tie your phone to a dog's leg!

Hardware Tools: It is best to have a jailbroken iPhone. It doesn't matter if you don't have one. I will add non-jailbroken ones later. Environment development, This article is aimed at Tweak coding under Theos

Software tools: A senior person has already written the configuration and installation of development tools for us. It is just a software installation, so I don’t need to step on the shoulders of my predecessors to continue my studies. Wait a minute, we also need to install a treasure to view WeChat header files. :class-dump, of course, the prerequisite for using it is that the app needs to be shelled before the header file can be exported correctly. As for how to shell the app, Google can definitely help you. Currently, we can’t do anything that can be found on Google. To delve deeper, we will only talk about the hardware and software that are currently undisclosed

A sports and health, where we record our daily step count behavior, etc., so the WeChat sports rankings definitely need to get the data when ranking the steps of friends, so where to get it? Needless to say, go Sports and health, if we can perform dynamic hijacking when WeChat retrieves data, forge fake data and send it to WeChat, then is it done? Answer: if(YES){NSLog(@"Yes"); }


Observe the WeChat header file

Use the class-dump -H WeChat.app -o WeChatHead command to export the WeChat header file

It’s really huge, thousands of them.h

We found that there are several very conspicuous attributes m7StepCount in the WCDeviceStepObject class ,hkStepCount, etc. As follows:


##The Chinese of the keyword "stepCount" is "number of steps" ", So is this a parameter that we want to hijack and modify? It is useless to say more, just try it and you will know.


Create a Tweak project as follows:


#Write the Tweak.xm file as follows:



##We return to the above picture" 98800" steps for testing,

make and install the Tweak project and check the results on the test machine, as follows:



It’s done, you will control the cover of the ranking list from now on, you You can type "Advertisement for rent, 5 yuan monthly subscription" and "lost" to entertain people's attention.

The above code is just a brief description, the complete source code will be placed on the author's WeChat official account [public brush step] ] Friends can test it by themselves



Summary

: There are few reverse development materials, and many problems need to be solved by yourself , as long as you sit down and study it, you will eventually be rewarded!


The above is the detailed content of Teach you how to modify WeChat exercise steps (IOS). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment