Skip to content

Instantly share code, notes, and snippets.

View jaoye's full-sized avatar
🎯
Focusing

jaoye jaoye

🎯
Focusing
View GitHub Profile
@jaoye
jaoye / Vue
Created February 27, 2020 06:18
<!-- 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"
@jaoye
jaoye / AppStore_API.md
Last active August 9, 2023 06:23
[AppStore API] AppStore API #AppStore
@jaoye
jaoye / PlistBuddy_use.md
Last active April 24, 2019 02:06
[Reading and modifying plist file on the command line] #cli #macOS #plist
打印值
/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
@jaoye
jaoye / 20190411-11.12.37.md
Last active April 11, 2019 03:18
[TheOS Command Line iOS 11 Killed: 9 crashing] #TheOS #iOSHook

添加 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>
+	
@jaoye
jaoye / MSHookFunction_Doc.md
Last active April 1, 2019 02:11
[How to use MSHookFunction] #CydiaSubstrate #iOSHook

CydiaSubstrate Hook 有两个函数 MSHookMessageEx 和 MSHookFunction

MSHookMessageEx 用来 hook Objective-C 函数

MSHookFunction 用来 hook C/C++ 函数

MSHookMessageEx 使用的是 method swizzle 方法

MSHookFunction 是通过函数地址进行的交换

@jaoye
jaoye / Crach Dash
Created December 13, 2018 02:30
Crach Dash
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
@jaoye
jaoye / Xcode Hidden Symbols
Last active December 7, 2018 06:51
Xcode package .a lib Hidden Symbols
Symbols Hidden by Default YES
Perform Single-Object Prelink YES
Strip Style Non-Global Symbols
Deployment Postprocessing YES
Enable BitCode NO
scheme release
@jaoye
jaoye / Crack Sublime Text 3.1.1 (3176)
Last active April 21, 2023 17:21
[Crack Sublime Text] #Crach
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 )
@jaoye
jaoye / gist:c878ac74a70f3cd6a29195a91814d0f2
Last active April 1, 2019 01:50
[Xcode User-Defined Build Setting] #Xcode
## 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)"