Closed anthonycvella closed 9 years ago
The TrustManagerImpl class doesn't exist on older APIs, so we shouldn't try to hook it if it doesn't exist. I'm about to push a fix to my repo, will update you once I confirm it works for me :)
Ahh that's what I figured but I couldn't find a reference as to which API started including TrustManagerImpl.
@Snwspeckle try installing the bin associated with this: https://github.com/jakev/JustTrustMe/commit/862716fb7f0a1fe9e6a5395004223a921d94f984
@jakev I still seem to be getting the errors which are being thrown on line 144. I think this check also needs to be included there?
Yup, it does. Doh, missed that one.
@jakev Are you going to make the change or should I make it and submit a pull request?
Sorry @Snwspeckle - I'm building right now. Link in just a sec.
@jakev No problem, I'm busy building other things as well.
About this tool, by having this installed and running, is there anything else I need to configure to prevent an app from making calls using SSL? (I'm trying to discover hidden endpoints for an app.) The reason I ask is because I've installed this tool but with wireshark I still see the app requesting GoDadddy for a certificate.
@Snwspeckle please try: https://github.com/jakev/JustTrustMe/commit/b03a28336fc11ec059172333e8b99d626986cda3. I apologize if you still have issues, I don't have an API 17 device with me that has Xposed running ATM.
Note that this tool doesn't prevent an app from making calls using SSL, it aims to disable / bypass certificate checks that might fail when man-in-the-middling an application. If you install this you'll still see encrypted traffic, but if you place a proxy between the app and the remote servers, you should be able to see the traffic. :)
@jakev would you mind opening a pull req with the additional check?
@Fuzion24 absolutely! I was hoping to hear back from @Snwspeckle to confirm it worked before submitting the pull request.If i don't hear back in a few hours I'll create the pull request.
@jakev Sorry for not responding! I got caught up in working on something else. The patch did work and the exceptions are no longer thrown.
Unfortunately, it didn't work for what I needed it to do. Looks like the app I'm working to reverse engineer is written in C++ and is using libcurl for all networking requests which does its own certificate pinning & certificate host verification.
@Fuzion24 created: https://github.com/Fuzion24/JustTrustMe/pull/11 :)
@jakev Once the pull request has been accepted, I'll go ahead and mark this issue as closed. Thanks for the fix!
I've cloned & built the latest code but I seem to be getting ClassNotFoundException's when JustTrustMe attempts to hook. I'm running Android 4.2.2, any suggestions?