这是indexloc提供的服务,不要输入任何密码
Skip to content

Error with Lepro app #152

@StefanoGiu

Description

@StefanoGiu

I'm testing it with Lepro app, trying to intercept MQTT communication. I had to comment this in "// new ApiResolver('module').enumerateMatches('exports:linker*!dlopen').forEach((dlopen) => {
// Interceptor.attach(dlopen.address, {
// onEnter(args) {
// // const moduleArg = args[0].readCString();
// // if (moduleArg) {
// // this.path = moduleArg;
// // this.moduleName = getModuleName(moduleArg);
// // }
// },
// // onLeave(retval) {
// // if (!this.path || !retval || retval.isNull()) return;
// // if (!MODULE_LOAD_CALLBACKS[this.moduleName]) return;

        // // let module = Process.findModuleByName(this.moduleName)
            // // ?? Process.findModuleByAddress(retval);
        // // if (!module) {
            // // // Some modules are loaded in ways that mean Frida can't detect them, and
            // // // can't look them up by name (notably when loading libraries from inside an
            // // // APK on Android). To handle this, we can use dlsym to look up an example
            // // // symbol and find the underlying module details directly, where possible.
            // // module = getAnonymousModule(this.moduleName, this.path, retval);
            // // if (!module) return;
        // // }

        // // Object.keys(MODULE_LOAD_CALLBACKS).forEach((key) => {
            // // if (this.moduleName === key) {
                // // if (module) {
                    // // MODULE_LOAD_CALLBACKS[key](module);
                    // // delete MODULE_LOAD_CALLBACKS[key];
                // // }
            // // }
        // // });
    // // }
// });

// });" config.js because I had a bluetooth fingerprint crash. I'm using an old Samsung Tab S2 with Android 7.

Once commented, I get the below errors, and I'm not able to see MQTT traffic despite I see the connection to AWS on port 8883.

Any help?

Spawning com.lepro.home...

== Redirecting all TCP connections to 192.168.1.62:8082 ==
== Disabled Android root detection ==
Spawned com.lepro.home. Resuming main thread!
== Proxy system configuration overridden to 192.168.1.62:8082 ==
== Proxy configuration overridden to 192.168.1.62:8082 ==
== System certificate trust injected ==
== Certificate unpinning completed ==
== Unpinning fallback auto-patcher installed ==
=> Blocked possible root detection checks. Enable DEBUG_MODE for more details.
[SM T815::com.lepro.home ]->
!!! --- Unexpected TLS failure --- !!!

!!! --- Unexpected TLS failure --- !!!

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined
Manually intercepting tcp6 connection to ::XXXX:XXXX:8883

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

!!! --- Unexpected TLS failure --- !!!
CertificateException: java.io.IOException: No extension found with name KeyUsage
Thrown by java.security.cert.CertificateParsingException->
[ ] Failed to automatically patch failure
TypeError: cannot read property 'overloads' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions