CydiaSubstrate Hook 有两个函数 MSHookMessageEx 和 MSHookFunction
MSHookMessageEx 用来 hook Objective-C 函数
MSHookFunction 用来 hook C/C++ 函数
MSHookMessageEx 使用的是 method swizzle 方法
MSHookFunction 是通过函数地址进行的交换
| ## Add User-Defined Settring | |
| > Targets -> Build Settings -> + -> Add User-Defined Setting | |
| > Key APPURL Value http://github.com | |
| ## Add Preprocessor Macros | |
| > Targets -> Build Settings -> search "Preprocessor Macros" | |
| > APPURL="$(APPURL)" |
| IDA Pro | |
| open '/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text' | |
| [File] -> [Produce file] -> [Create C file] | |
| get 'Sublime Text.c' | |
| search 'Sublime Text.c' Find "Thanks for purchasing!" in [show_thanks] | |
| search show_thanks fun | |
| ''' | |
| if ( v13 ) |
| Remove [Dash] WaitingView 8 seconds | |
| Open IDA Pro | |
| search "waitingView" -> [DHPinky waitingView] | |
| search "DHPinky" -> select [DHPinky showPinky:] | |
| F5 | |
| find "[r12 setWaitCount:0x8]" | |
| 2333 Let's change 0x8 | |
| mov edx, 0x8 -> BA 08 00 00 00 -> BA 00 00 00 00 |
CydiaSubstrate Hook 有两个函数 MSHookMessageEx 和 MSHookFunction
MSHookMessageEx 用来 hook Objective-C 函数
MSHookFunction 用来 hook C/C++ 函数
MSHookMessageEx 使用的是 method swizzle 方法
MSHookFunction 是通过函数地址进行的交换
添加 Entitlements.plist 的配置
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.springboard.launchapplications</key>
<true/>
+ <key>platform-application</key>
+ 打印值
/usr/libexec/PlistBuddy -c Print:CFBundleExecutable Info.plist
合并
/usr/libexec/PlistBuddy -c 'Merge framework/Info.plist' Info.plist
/usr/libexec/PlistBuddy -c Set :CFBundleIdentifier Info.plist
Sets the CFBundleIdentifier property to com.apple.plistbuddy
/usr/libexec/PlistBuddy -c Add :CFBundleGetInfoString string "App version 1.0.1" Info.plist
转自: https://fann.im/blog/2018/05/15/app-store-front-code/
X-Apple-Store-Front header is needed to scrape in App Store.
// 29 or 26 or 9
CN 143465-19,29
US 143441-1,29
JP 143462-9,29
KR 143466-13,29
| <!-- component template --> | |
| <script type="text/x-template" id="grid-template"> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th v-for="key in columns" | |
| @click="sortBy(key)" | |
| :class="{active: sortKey == key}"> | |
| {{key | capitalize}} | |
| <span class="arrow" |