ssl-kill-switch2 icon indicating copy to clipboard operation
ssl-kill-switch2 copied to clipboard

Not working with Instagram

Open GarlandM opened this issue 8 years ago • 8 comments

It appears Instagram has changed how they handle cert pinning, as it no longer works with Instagram.

GarlandM avatar Feb 19 '18 05:02 GarlandM

@GarlandM Here is solution https://github.com/nabla-c0d3/ssl-kill-switch2/issues/13#issuecomment-360294883

ghost avatar Feb 19 '18 13:02 ghost

Hi @karek314 your solution does not work with any of the newest Instagram ipas (33.0) on iPhoneCake ("Can't patch because patch address has not been found"). Is it possible that the hook you provided is already outdated?

jercypackson avatar Feb 22 '18 15:02 jercypackson

Hi @jercypackson, next time please open issue in hexbytescanner-hooks repo as it's related to that issue. We don't want to make a mess in @nabla-c0d3 repository.

Indeed, pattern broke. I bet it's either due different compiler behaviour or slightly different version of openssl lib. That pattern was pretty fresh and untested. I have pushed v2 version of it. It should work fine. https://github.com/karek314/hexbytescanner-hooks/blob/master/openssl_hook_v2.json

If it breaks again, i will be glad if someone PR improved version. below is what we are looking for, i gave more details here nopv2

Enjoy new pattern then :)

ghost avatar Feb 22 '18 20:02 ghost

@karek314 I'm a little confused how to put all these together to make it work. Do you have any instructions/manual for like finding the pattern and patching the apps? Thank in advance!

liuxuan30 avatar Aug 21 '18 03:08 liuxuan30

@liuxuan30 I think you will find everything with links below

  • https://github.com/karek314/HandyIPAPatcher

  • https://github.com/karek314/hexbytescanner

  • https://github.com/karek314/hexbytescanner-hooks

  • https://github.com/karek314/hexbytescanner-hooks/issues?q=is%3Aissue+is%3Aclosed

Finding pattern itself is just experience, if you find any clue which library is used, then you can search for it, try to finds similar code in ASM, small hint - some strings are statically linked with the same functions, thus it's good start.

ghost avatar Aug 21 '18 20:08 ghost

still not working with instagram :(

gaplan avatar Nov 08 '18 17:11 gaplan

How to make working with instagram?

SergeKZ avatar Feb 28 '20 06:02 SergeKZ

If someone has a solution, contact me [email protected]

havsar avatar Nov 11 '22 18:11 havsar