Gaebal/iOS
iOS에서 hosts 변경
ha3kkkkk
2021. 4. 22. 00:07
원문
useworld.github.io/ios/2020/04/07/hosts.html
iOS에서 hosts 변경 적용하기 - To be Useful to the World
사건의 발단 앱에 SSL Pinning을 구현하기 위하여 우선 HTTPS 서버를 구축했다. 운영 서버에서 사용하는 인증서를 받아 로컬에 서버를 구동하고 접속하려고 하니 인증서에 등록된 Hostname에 맞지 않으
useworld.github.io
요약
1. /etc/hosts를 변경한다.
2. Cydia의 Source에 https://poomsmart.github.io/repo를 추가한다.
3. LetMeBlock을 설치한다.
4. iOS에 아래 두 명령어를 입력한다.
$ killall -9 mDNSResponder
$ killall -9 mDNSResponderHelper
- iOS 14.4 환경에서 테스트 및 성공