Code Monkey home page Code Monkey logo

hackingfacebook's Introduction

HackingFacebook

Bypassing Facebook for iOS's SSL Pinning, allow us to capture decrypted HTTPS request send from Facebook, with tools like Charles.

Screen Shot

Description

This repository shows how to kill the certificate pinning in Facebook for iOS without Jailbreak your device.

I've successfully captured decrypted https requests from Facebook with Charles by apply this patch. I tested the currently newest Facebook for iOS version 79.0, this patch may become invalid with newer version.

About

Instructions

Update 20170319

I've developed a new tool to finish this steps in more simple way, see:

https://github.com/Naituw/IPAPatch

Original Instructions

  1. Prepare Facebook_extenstion_removed.ipa

    • Get decrypted Facebook ipa, wether from a jailbroken device or ipa download site (I'm using ipa downloaded from http://www.iphonecake.com)
    • Unzip ipa, Remove Payload/Facebook.app/Plugins folder, which contains App Extensions.
    • Zip the Payload folder, and rename to Facebook_extenstion_removed.ipa
  2. Inject Code to Facebook_extenstion_removed.ipa

    • Build DyldXcodeProject, make sure the target is selected to real device (NOT iPhone Simulators), copy the result framework's binary file to a folder named DyldsForInjection

    • Use the script provide in DyldPatcher, patch the binary we generated, to Facebook_extenstion_removed.ipa, the patched file is named Facebook_extenstion_removed-patched.ipa

         cd DyldPatcher
         ./patchapp.sh Facebook_extenstion_removed.ipa DyldsForInjection
      
  3. Resign Facebook_extenstion_removed-patched.ipa

    • Use the modified version of iResign to resign the file, the result file is Facebook_extenstion_removed-patched-resigned.ipa, this version will sign the dyld we injected correctly.
  4. Install and Run

    • Install Facebook_extenstion_removed-patched-resigned.ipa via Xcode
    • Capture HTTPS requests like other apps with Charles!

hackingfacebook's People

Contributors

naituw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hackingfacebook's Issues

It does not work with fb ver 77

First of all i downloaded fb.ipa ver 77.0.0.45.70 from internet. I have installed via cydia impactor on ip5 ios 10.3 it working fine.
But when i follow the steps u guide it ok until i installed it on iphone. It was thrown out when i clicked fb icon.

王者荣耀ipa

王者荣耀ipa,在用ipapatch打开的时候,看不到CPU信息。

J

K

Jmb

Choose a new password

Choose a new password

A strong password is a combination of letters and punctuation marks. It must be at least 6 characters long.
New Password
Confirm Password
To make sure your account's secure, we can log you out of any other computers and phones. You can log back in with your new password.
Log me out of other devices
Keep me logged in
If your account was hacked, please select "Log me out of other devices"

Facebook

I want to be hacking Facebook without problems

Dyld Error Message: Dyld Message: Library not loaded

Hello There,

This is my Error message;

Dyld Error Message:
Dyld Message: Library not loaded: @executable_path/Dylibs/HackingFacebook.framework
Referenced from: /var/containers/Bundle/Application/37DD5110-D42B-4A99-9B36-530BE1898B20/Facebook.app/Facebook
Reason: no suitable image found. Did find:
/var/containers/Bundle/Application/37DD5110-D42B-4A99-9B36-530BE1898B20/Facebook.app/Dylibs/HackingFacebook.framework: not a file
/private/var/containers/Bundle/Application/37DD5110-D42B-4A99-9B36-530BE1898B20/Facebook.app/Dylibs/HackingFacebook.framework: not a file
Dyld Version: 390.7

Binary Images:
0xff000 - 0x46e2fff Facebook armv7 <4a2e4eb3afdecdce9c1cc021cd3da805> /var/containers/Bundle/Application/37DD5110-D42B-4A99-9B36-530BE1898B20/Facebook.app/Facebook
0x6c33000 - 0x6ea2fff MobileConfig armv7 <9f46eb7cec87f5c41af4ef1b359e2c8d> /var/containers/Bundle/Application/37DD5110-D42B-4A99-9B36-530BE1898B20/Facebook.app/Frameworks/MobileConfig.framework/MobileConfig
0x1fe3b000 - 0x1fe62fff dyld armv7 <146dc907cdf7350eb7cf92a77291119f> /usr/lib/dyld

Error Formulating Crash Report:
Failed while requesting activity/breadcrumb diagnostics

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.