cycript官網:http://www.cycript.org/
在cydia搜尋 MTerminal,并安裝
在cydia搜尋 Cycript,并安裝
輸入cycript,進入cy#
ctrl + D 退出 cycript後,首先 列出程序
ps -e | grep SpringBoard
注入程序
cycript -p pid或程序名
Inject Into Processes
bash# cycript -p SpringBoard
cy#
Objective-C Messages
cy# [UIApp description]
@"<SpringBoard: 0x10ed05e40>"
cy# choose(CALayer)[0]
#"<CALayer: 0x115807910>"
[UIApp description]
[[UIApp keyWindow] recursiveDescription]
ps -e | grep app
cycript -p pidNumber/appExeName
alertView = [[UIAlertViewalloc]initWithTitle:@"肖帥愛蘇玫"message:@"xsism.com"delegate:nilcancelButtonTitle:@"520"otherButtonTitles:nil];
[alertView show]
[alertView release]
同樣的,可以通過#0x11111111位址值 取到目前對象
未完待續