Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patched app can't connect to network. #20

Closed
jason-murray opened this issue Mar 28, 2017 · 7 comments
Closed

Patched app can't connect to network. #20

jason-murray opened this issue Mar 28, 2017 · 7 comments

Comments

@jason-murray
Copy link

I have it all running on iOS10.3 however my app seems to connect to the internet on launch to get some data and it is reporting that it cannot connect when run inside IPAPatch, any ideas?

@Naituw
Copy link
Owner

Naituw commented Mar 29, 2017

I'm not sure if it's a issue of IPAPatch or protection behavior in specific app. Would you try another app? or provide me the ipa so I can test it.

@jason-murray
Copy link
Author

jason-murray commented Mar 29, 2017 via email

@Naituw
Copy link
Owner

Naituw commented Mar 29, 2017

@jason-murray Yes, such as the server only response to client with specific bundle identifier. But that is just my guess... need some experiment to confirm that.

@jason-murray
Copy link
Author

I guess it's not possible to spoof the bundle identifier? Sorry I don't know much about app security.

@Naituw
Copy link
Owner

Naituw commented Mar 29, 2017

We should use tools like Charles to inspect actual failing reason of those requests first. If you don't know how to do that, I'm happy to investigate :)

The most common way to get the bundle identifier is through -[NSBundle bundleIdentifier], and it can be spoof by method swizzling.

@jason-murray
Copy link
Author

Thanks for your responses 👍

The app seems to use SSL certificate pinning so I can't see the content of the traffic in Charles, however the useragent is obviously not the same as the original app, I have tried to method swizzle bundleIdentifier but I'm not getting it, I don't know Obj-C.

This looks like an app specific issue though and not a wider IPAPatch issue, so feel free to close the ticket. ^^

@Naituw
Copy link
Owner

Naituw commented Mar 30, 2017

@jason-murray For swizzling the bundleIdentifier, wang9262 have a example in his repo, https://github.com/wang9262/IPAPatch-WeChat/blob/feature/Vong/IPAPatch/IPAPatchEntry.m#L18 You can try and see if it works.
I will close this issue now, If you have any further questions, please feel free to open another issue.

@Naituw Naituw closed this as completed Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants