簡單分析了一下這個patch,不保證正確,有錯歡迎高手指正
需要這個patch的原因是因為evad3rs利用了afcd實現某些漏洞
因此iOS7.1更新後 afcd這個檔案與之前版本有些差異
而此patch原理應該是複製舊版(iOS 7.x)的afcd來使用
-------------------------------------------------------
PP助手afc2補丁 (afc2.25pp7)
deb安裝後會有以下目錄及檔案
/var/root/Library/afc2/32/afcd2 iOS7.x的 afcd for 32bit
/var/root/Library/afc2/64/afcd2 iOS7.x的 afcd for 64bit
/var/root/Library/afc2 用來負責安裝/移除等操作的程式
(modmyi上面的afc2add則是透過Erica Utilitie來幫忙)
deb解壓縮檔案完後會呼叫 /var/root/Library/afc2 "install"
進行安裝,過程大約是這樣:
根據機器類型(x32/x64)把對應的afcd2複製到/usr/libexec/afcd2
如圖: http://i.imgur.com/qxHiOYd.png
然後修改 /System/Library/Lockdown/Services.plist
把複製過來的 afcd2 加入 Services 列表
如圖: http://i.imgur.com/JHOL8SL.png
最後執行 chmod +x /usr/libexec/afcd2,給予 afcd2 執行權限
如圖: http://i.imgur.com/S4oUD2V.png
----------
移除過程:
呼叫 /var/root/Library/afc2 "uninstall" 進行移除
這邊也沒有什麼大問題
1.從 /System/Library/Lockdown/Services.plist 中移除掉 afcd2
2.刪除 /usr/libexec/afcd2
如圖: http://i.imgur.com/w5bOgqp.png
----------
基本上行為都跟 modmyi 上面的 afc2add 大致相同
沒看到什麼可疑的地方
不過他們複製的afcd版本舊了一點點就是了
(我從iOS 7.0.6抓的是 afc-218,他們的是afc-207,但差異應該不大)
不想新增pp助手的source的朋友可以從我這直接下載deb安裝
( deb from apt.25pp.com )
http://l4ys.tw/f/PP_afc2_patch_iOS7.1.x_1.01.deb
( 還是會要求先安裝Erica Utilitie,我也不知道他們搞啥= = )
--
需要這個patch的原因是因為evad3rs利用了afcd實現某些漏洞
因此iOS7.1更新後 afcd這個檔案與之前版本有些差異
而此patch原理應該是複製舊版(iOS 7.x)的afcd來使用
-------------------------------------------------------
PP助手afc2補丁 (afc2.25pp7)
deb安裝後會有以下目錄及檔案
/var/root/Library/afc2/32/afcd2 iOS7.x的 afcd for 32bit
/var/root/Library/afc2/64/afcd2 iOS7.x的 afcd for 64bit
/var/root/Library/afc2 用來負責安裝/移除等操作的程式
(modmyi上面的afc2add則是透過Erica Utilitie來幫忙)
deb解壓縮檔案完後會呼叫 /var/root/Library/afc2 "install"
進行安裝,過程大約是這樣:
根據機器類型(x32/x64)把對應的afcd2複製到/usr/libexec/afcd2
如圖: http://i.imgur.com/qxHiOYd.png
然後修改 /System/Library/Lockdown/Services.plist
把複製過來的 afcd2 加入 Services 列表
如圖: http://i.imgur.com/JHOL8SL.png
最後執行 chmod +x /usr/libexec/afcd2,給予 afcd2 執行權限
如圖: http://i.imgur.com/S4oUD2V.png
----------
移除過程:
呼叫 /var/root/Library/afc2 "uninstall" 進行移除
這邊也沒有什麼大問題
1.從 /System/Library/Lockdown/Services.plist 中移除掉 afcd2
2.刪除 /usr/libexec/afcd2
如圖: http://i.imgur.com/w5bOgqp.png
----------
基本上行為都跟 modmyi 上面的 afc2add 大致相同
沒看到什麼可疑的地方
不過他們複製的afcd版本舊了一點點就是了
(我從iOS 7.0.6抓的是 afc-218,他們的是afc-207,但差異應該不大)
不想新增pp助手的source的朋友可以從我這直接下載deb安裝
( deb from apt.25pp.com )
http://l4ys.tw/f/PP_afc2_patch_iOS7.1.x_1.01.deb
( 還是會要求先安裝Erica Utilitie,我也不知道他們搞啥= = )
--
All Comments