Kotani bald collection
- The main purpose of this blog is:
I hope brothers install less third-party cracked APP, it is possible to take away your information without anyone noticing
1. Dynamic library Framework-hook code
Today with a letter very simple demonstration, very simple ~
-
To prepare data
-
Cracked shell. Ipa
-
Preferably with a description file certificate (you can also use a free one)
-
Tools: Yololib, class-dump
-
Self-signed script (this can also be used on the web tools of any kind, the purpose is to re-sign)
-
Click the information address, password: UWg9
-
Originally I wrote a re-signed blog ~, after a while, now there are more tools, so I will not publish ~
1.1. To create a Framework
-
- Dynamic library injection flowchart
-
- join
load
Methods test
- join
Load comes before main. So let’s write log and see if it goes
Well, it turns out he didn’t leave
1.2. Into the Framework
Before you inject code, explore MachO with your buddies
-
- the
MachO binaries
Dragged intoMachOView
inside
- the
I don’t know how far brothers understand Load Commands
According to the observation, we just need to inject the framework and Load Commands associated with it
-
yololib
use
-
- Command:
Yololib MachO Path Path of the framework
- Command:
-
- Let’s add it to the script we wrote earlier
appSign.sh
In the
- Let’s add it to the script we wrote earlier
-
- Run the project
You can verify that the code injection was successful
2. hook
–In a letter
methods
With Xcode can LLDB debugging, is very comfortable
2.1. The hooks, registration,
button
Our goal: to invalidate the registration
-
- The landing page
viewDebug
debugging
- The landing page
-
- Click the register button to find
Classes and methods
- Click the register button to find
-
- Disable the register button by code
Using a very simple method to exchange ~
-
- Run the validation
Click the register button
Hook the registration button directly and replace it with your own
2.2. Login information acquisition
The main purpose of my writing is to remind you! Don’t install third-party jailbreaking apps! Have a risk!
-
- In order to
Account and Password Login
For example, cut to the corresponding screen and take a look at the layout
- In order to
-
- Thought analysis
-
- We are in
Click login
To get the password
- We are in
-
- We need to find
Password input box
The text of the
- We need to find
And we can see that. So what we’re looking for is this wcuit text field
-
- What we’re going to do is
Static analysis
Here comes the next tool:class-dump
)
-
class-dump
The header file toHeader
folder
Class-dump -h MachO path -o Header
-
- with
subline
orvscode
Open theHeader
folder
- with
-
- Search related
Classes and methods
- Search related
- What we’re going to do is
-
- The code goes ~
-
- validation
3. Summary
-
- The main purpose of this article is:
Try not to install third-party cracking apps. Have a risk!
- The main purpose of this article is:
-
- The main purpose of this article is:
Try not to install third-party cracking apps. Have a risk!
- The main purpose of this article is:
-
- The main purpose of this article is:
Try not to install third-party cracking apps. Have a risk!
- The main purpose of this article is:
-
Don't log in with your own account
That’s the idea and the validation. (If the title, Xiaogu’s guilt is big ~)
-
- This is
Take the first step in reverse!
- This is