IOS的逆向簽名方法
阿新 • • 發佈:2018-11-21
IOS的逆向簽名方法
- 1.將.ipa檔案解壓->Payload->右擊.app檔案,顯示包內容->找到embedded.mobileprovision檔案->將其拷貝出來,以便後面使用
- 2.若沒有安裝homebrew,ruby,sign,則先依次安裝
- 3.homebrew的安裝方式:
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local –strip 1 brew -v //檢視安裝是否成功,若顯示:Error: /usr/local must be writable! ,則更改一下/usr/local的許可權:sudo chown -R $(whoami) /usr/local ,再執行:brew update
- 4.安裝ruby brew install ruby
- 5.安裝sigh指令碼:sudo gem install sigh
(若提示: Could not find a valid gem 'sigh' (>= 0), here is why: Unable to download data from https://gems.ruby-china.org/ - bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)) 則更新一下ruby: gem update —system( ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz) Dordlys-Mac:~ dordly$ gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/)
gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.org/
https://gems.ruby-china.com/
gem sources --add https://gems.ruby-china.com/ --remove https://gems.ruby-china.org/
gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
gem install sigh ——可以了
- 6.終端輸入:sigh resign 回車
- 7.輸入:.ipa檔案的路徑 回車
- 8.輸入:要用來簽名的證書,也就是鑰匙串中完整名字,回車
- 9.拖入第一步中所拷貝的.mobileprovision檔案,回車
- 10.若提示Successfully signed時,便更改成功
- 11.安裝重簽名的.ipa檔案(注:重新簽名的.ipa檔案不能提交到APPStore,也就是說不能再itunes上安裝,可藉助各種助手或者iTools進行安裝)
實際根據上述方法更改簽名後,安裝還是會不成功,尷尬,所以,使用簽名工具還是可以的(IOS App Signer)
工具下載連結:https://pan.baidu.com/s/15Mn_UsDIb1PjgIKkLDhCpQ 密碼:c09w