Last active
February 3, 2022 15:41
-
-
Save t-rekttt/757ec86943f7be1f86a54fc038d0d22a to your computer and use it in GitHub Desktop.
Revisions
-
t-rekttt revised this gist
Dec 30, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,7 @@ - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh ``` make scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib ``` 5. ```ssh root@localhost -p <port ssh>``` -
t-rekttt revised this gist
Dec 29, 2017 . No changes.There are no files selected for viewing
-
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ps ax | grep “Facebook” 10. Mở terminal mới 11. ``` scp -r -P <port ssh> root@localhost:<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app> Payload ``` 12. Quay lại terminal đang mở shell iPhone 13. -
t-rekttt revised this gist
Dec 29, 2017 . No changes.There are no files selected for viewing
-
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 47 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,23 +9,58 @@ scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dyli ``` 5. ```ssh root@localhost -p <port ssh>``` (Password nếu có: alpine) 6. ``` ldid -S /usr/lib/dumpdecrypted.dylib ``` 7. Install app Facebook trên điện thoại, mở app 8. ``` ps ax | grep “Facebook” ``` 9. Copy đoạn ``` /var/container,…/Facebook.app/Facebook ``` 10. Mở terminal mới 11. ``` scp -r -P <port ssh> root@localhost/<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app> Payload ``` 12. Quay lại terminal đang mở shell iPhone 13. ``` DYLD_INSERT_LIBRARIES=/usr/lib/dumpdecrypted.dylib <đoạn vừa copy ở b9> ``` 14. ``` scp -P <port ssh> root@localhost:”Facebook.decrypted FBSharedFramework.decrypted MobileConfig.decrypted” . ``` 15. ``` mv Facebook.decrypted Payload/Facebook.app/Facebook ``` 16. ``` mv FBSharedFramework.decrypted Payload/Facebook.app/Frameworks/FBSharedFramework.framework/FBSharedFramework ``` 17. ``` mv MobileConfig.decrypted Payload/Facebook.app/Frameworks/MobileConfig.framework/MobileConfig ``` 18. ``` zip -r app.zip Payload/ ``` 19. Xóa app Facebook trên điện thoại 20. ``` mv app.zip app.ipa ``` 21. ``` cp app.ipa OneForAllFacebook/Assets/app.ipa ``` 22. Mở project OneForAllFacebook/IPAPatch/ trên Xcode 23. Click chọn thư mục IPAPatch trong XCode, đổi lại tên Bundle Identifier nếu bị lỗi 24. Click build (nút play) -
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,16 +4,16 @@ - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh ``` scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib ``` 5. ```ssh root@localhost -p <port ssh>``` (Password nếu có: alpine) 6. ```ldid -S /usr/lib/dumpdecrypted.dylib``` 7. Install app Facebook trên điện thoại, mở app 8. ```ps ax | grep “Facebook”``` 9. Copy đoạn ```/var/container,…/Facebook.app/Facebook``` 10. Mở terminal mới 11. `scp -r -P <port ssh> root@localhost/<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app> Payload` 12. Quay lại terminal đang mở shell iPhone -
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh ```shell scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib ``` 5. `ssh root@localhost -p <port ssh>` -
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,9 @@ - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh ```bash scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib ``` 5. `ssh root@localhost -p <port ssh>` (Password nếu có: alpine) 6. `ldid -S /usr/lib/dumpdecrypted.dylib` -
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,14 +3,17 @@ 3. Clone 2 repo: - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh `scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib` 5. `ssh root@localhost -p <port ssh>` (Password nếu có: alpine) 6. `ldid -S /usr/lib/dumpdecrypted.dylib` 7. Install app Facebook trên điện thoại, mở app 8. `ps ax | grep “Facebook”` 9. Copy đoạn `/var/container,…/Facebook.app/Facebook` 10. Mở terminal mới 11. `scp -r -P <port ssh> root@localhost/<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app> Payload` 12. Quay lại terminal đang mở shell iPhone 13. `DYLD_INSERT_LIBRARIES=/usr/lib/dumpdecrypted.dylib <đoạn vừa copy ở b9>` 14. `scp -P <port ssh> root@localhost:”Facebook.decrypted FBSharedFramework.decrypted MobileConfig.decrypted” .` -
t-rekttt revised this gist
Dec 29, 2017 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,24 +3,24 @@ 3. Clone 2 repo: - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh `scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib` 5. `ssh root@localhost -p <port ssh>` (Password nếu có: alpine) 6. `ldid -S /usr/lib/dumpdecrypted.dylib` 7. Install app Facebook trên điện thoại, mở app 8. `ps ax | grep “Facebook”` 9. Copy đoạn `/var/container,…/Facebook.app/Facebook` 10. Mở terminal mới 11. `scp -r -P <port ssh> root@localhost/<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app>` Payload 12. Quay lại terminal đang mở shell iPhone 13. `DYLD_INSERT_LIBRARIES=/usr/lib/dumpdecrypted.dylib <đoạn vừa copy ở b9>` 14. `scp -P <port ssh> root@localhost:”Facebook.decrypted FBSharedFramework.decrypted MobileConfig.decrypted” .` 15. `mv Facebook.decrypted Payload/Facebook.app/Facebook` 16. `mv FBSharedFramework.decrypted Payload/Facebook.app/Frameworks/FBSharedFramework.framework/FBSharedFramework` 17. `mv MobileConfig.decrypted Payload/Facebook.app/Frameworks/MobileConfig.framework/MobileConfig` 18. `zip -r app.zip Payload/` 19. Xóa app Facebook trên điện thoại 20. `mv app.zip app.ipa` 21. `cp app.ipa OneForAllFacebook/Assets/app.ipa` 22. Mở project OneForAllFacebook/IPAPatch/ trên Xcode 23. Click chọn thư mục IPAPatch trong XCode, đổi lại tên Bundle Identifier nếu bị lỗi 24. Click build (nút play) -
t-rekttt created this gist
Dec 29, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ 1. Jailbreak iPhone, cắm iPhone vào máy 2. Chạy lệnh iproxy <port ssh muốn dùng> 22 3. Clone 2 repo: - https://github.com/conradev/dumpdecrypted - https://github.com/phwd/OneForAllFacebook 4. cd vào thư mục dumpdecrypted, chạy lệnh scp -P <port ssh> dumpdecrypted.dylib root@localhost:/usr/lib/dumpdecrypted.dylib 5. ssh root@localhost -p <port ssh> (Password nếu có: alpine) 6. ldid -S /usr/lib/dumpdecrypted.dylib 7. Install app Facebook trên điện thoại, mở app 8. ps ax | grep “Facebook” 9. Copy đoạn /var/container,…/Facebook.app/Facebook 10. Mở terminal mới 11. scp -r -P <port ssh> root@localhost/<đoạn vừa copy ở b9, lấy đến trước phần Facebook.app> Payload 12. Quay lại terminal đang mở shell iPhone 13. DYLD_INSERT_LIBRARIES=/usr/lib/dumpdecrypted.dylib <đoạn vừa copy ở b9> 14. Scp -P <port ssh> root@localhost:”Facebook.decrypted FBSharedFramework.decrypted MobileConfig.decrypted” . 15. mv Facebook.decrypted Payload/Facebook.app/Facebook 16. mv FBSharedFramework.decrypted Payload/Facebook.app/Frameworks/FBSharedFramework.framework/FBSharedFramework 17. mv MobileConfig.decrypted Payload/Facebook.app/Frameworks/MobileConfig.framework/MobileConfig 18. zip -r app.zip Payload/ 19. Xóa app Facebook trên điện thoại 20. mv app.zip app.ipa 21. cp app.ipa OneForAllFacebook/Assets/app.ipa 22. Mở project OneForAllFacebook/IPAPatch/ trên Xcode 23. Click chọn thư mục IPAPatch trong XCode, đổi lại tên Bundle Identifier nếu bị lỗi 24. Click build (nút play) 25. Bật burpsuite, set proxy listener thành All interfaces 26. Bật gzip decode 27. Mở Safari trên iPhone, truy cập http://burp để cài cert 28. Trỏ proxy và debug