GithubHelp home page GithubHelp logo

ac-pm / sslunpinning_xposed Goto Github PK

View Code? Open in Web Editor NEW
750.0 28.0 113.0 2.02 MB

Android Xposed Module to bypass SSL certificate validation (Certificate Pinning).

License: GNU General Public License v2.0

Java 100.00%

sslunpinning_xposed's Introduction

Attention: I'm working in a new suite of tools that include SSLUnpinning feature and many, many others! Look here -> https://github.com/ac-pm/Inspeckage

SSLUnpinning - Xposed Module

Android Xposed Module to bypass SSL certificate validation (Certificate Pinning).

Description

If you need to intercept the traffic from an app which uses certificate pinning, with a tool like Burp Proxy, the SSLUnpinning will help you with this hard work! The SSLUnpinning through Xposed Framework, makes several hooks in SSL classes to bypass the certificate verifications for one specific app, then you can intercept all your traffic.

API

Java Secure Socket Extension (JSSE)

  • javax.net.ssl.*

APACHE

  • org.apache.http.conn.ssl.*

OKHTTP

  • okhttp3.*

Usage

Download

Get it from Xposed repo: http://repo.xposed.info/module/mobi.acpm.sslunpinning

How to uninstall

    adb uninstall mobi.acpm.sslunpinning

Screenshots

License

See ./LICENSE.

Author

ACPM

sslunpinning_xposed's People

Contributors

ac-pm avatar v-e-o 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

sslunpinning_xposed's Issues

SSLUnpinning (with Xposed) for Android apps that use Volley

Hi @ac-pm,

Any chance you will add support for SSLUnpinning (with Xposed) for apps that use Volley?

I can use your Cydia substrate SSLUnpinning apk. Works perfectly. But when I use the Xposed framework & SSLUnpinning it does not work. It does seem to perform an SSL Strip style functionality but nothing more. I also tried to use the library on the Twitter Android app(which I guess uses Twitter's okhttp?).

Hey Ho!

This app doesnt work with Twitch, Skrill.

I am used Fiddler4 + Android.

Any ideas?

SSL error

My application checks its certificate and does not accept other certificates. My application uses the Arrays.equals method (byte [], byte []) to compare its certificate with mine. Since my charles certificate does not match the application certificate, it refuses to work with a fake certificate.
Help how to bypass and intercept the traffic of the application, which does not accept other certificates such programs as fiddler, charles

Instagram 10.0.0 and up.

Hey,

Since v10.0.0 and up, I have been getting SSL errors even while using the xposed module.
Anyway to tell why this is happening?

Thanks :)

"Class ref in pre-verified class resolved to unexpected implementation" error

Loading modules from /data/app/mobi.acpm.sslunpinning-2.apk
Loading class mobi.acpm.sslunpinning.Module
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
on android 4.4.2

Does not disable certificate pinning - DROID 4 (4.1.2)

After installing Xposed Framework, rebooting, activating SSLUnpinning, rebooting, apply bypass to an app, reboot, there is still no captured traffic from apps that use certificate pinning.

Also does not disable certificate pinning when used from a virtual machine.

X509Util error

I noticed recently that I am seeing a lot of errors like the ones below when using a WebView generated by an unpinned application:

12-26 23:03:49.802 E/X509Util(13200): Error creating trust manager (mobi.acpm.sslunpinning.EmptyTrustManager): java.lang.IllegalArgumentException: tm is an instance of mobi.acpm.sslunpinning.EmptyTrustManager which is not a supported type of X509TrustManager

12-26 23:03:49.802 E/X509Util(13200): Could not find suitable trust manager

12-26 23:03:49.802 E/X509Util(13200): Error creating trust manager (mobi.acpm.sslunpinning.EmptyTrustManager): java.lang.IllegalArgumentException: tm is an instance of mobi.acpm.sslunpinning.EmptyTrustManager which is not a supported type of X509TrustManager

pinning not bypassed - same as #3

Hi

I have installed and tested this application and it doesnt work well at all with android 5.1.1

I have tried to bypass pinning in 3 different applications but it didnt work at all in any of them

Thanks

`/storage/emulated/0/XSSLUnpinning/app.conf: open failed: EACCES (Permission denied)`

I've installed Xposed and SSLUnpinning on freshly rooted Android 6 but I can't make it work. I've found this exception in logcat:

03-21 12:02:27.420  4009  4009 W System.err: java.io.FileNotFoundException: /storage/emulated/0/XSSLUnpinning/app.conf: open failed: EACCES (Permission denied)
03-21 12:02:27.421  4009  4009 W System.err:    at libcore.io.IoBridge.open(IoBridge.java:452)
03-21 12:02:27.421  4009  4009 W System.err:    at java.io.FileInputStream.<init>(FileInputStream.java:76)
03-21 12:02:27.421  4009  4009 W System.err:    at java.io.FileReader.<init>(FileReader.java:42)
03-21 12:02:27.421  4009  4009 W System.err:    at mobi.acpm.sslunpinning.ConfigUtil.readFromFile(ConfigUtil.java:48)
03-21 12:02:27.421  4009  4009 W System.err:    at mobi.acpm.sslunpinning.Module.handleLoadPackage(Module.java:34)
03-21 12:02:27.421  4009  4009 W System.err:    at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-21 12:02:27.421  4009  4009 W System.err:    at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-21 12:02:27.421  4009  4009 W System.err:    at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-21 12:02:27.421  4009  4009 W System.err:    at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-21 12:02:27.422  4009  4009 W System.err:    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-21 12:02:27.422  4009  4009 W System.err:    at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-21 12:02:27.422  4009  4009 W System.err:    at android.app.ActivityThread.-wrap1(ActivityThread.java)
03-21 12:02:27.422  4009  4009 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
03-21 12:02:27.422  4009  4009 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:102)
03-21 12:02:27.422  4009  4009 W System.err:    at android.os.Looper.loop(Looper.java:148)
03-21 12:02:27.422  4009  4009 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:5417)
03-21 12:02:27.422  4009  4009 W System.err:    at java.lang.reflect.Method.invoke(Native Method)
03-21 12:02:27.422  4009  4009 W System.err:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
03-21 12:02:27.422  4009  4009 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
03-21 12:02:27.422  4009  4009 W System.err:    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-21 12:02:27.422  4009  4009 W System.err: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
03-21 12:02:27.422  4009  4009 W System.err:    at libcore.io.Posix.open(Native Method)
03-21 12:02:27.422  4009  4009 W System.err:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
03-21 12:02:27.422  4009  4009 W System.err:    at libcore.io.IoBridge.open(IoBridge.java:438)
03-21 12:02:27.422  4009  4009 W System.err:    ... 19 more

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.