Skip to content

Cannot start on Android 7 #831

Description

@tux-mind

DEVICE:

Nexus 5X

OS version:

7.1.1 ( API 25 )

cSploit version:

1.7.0-unstable+ce3185f

busybox (installed or not):

not again, just rooted

Rooted with supersu?

yep

logcat (filter it!):

02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]: java.lang.NullPointerException: Attempt to get length of null array
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.net.Endpoint.<init>(Endpoint.java:62)
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.net.Target.setEndpoint(Target.java:626)
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.net.Target.<init>(Target.java:479)
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.core.System.reset(System.java:973)
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.core.System.uncaughtReloadNetworkMapping(System.java:38
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.core.System.init(System.java:199)
02-11 11:03:08.989 10498 10498 E CSPLOIT[core.System.errorLogging]:     at org.csploit.android.CSploitApplication.onCreate(CSploitApplication.java:72)

Related Issues:

Probably a lot.

Cause:

java.net.NetworkInterface#getHardwareAddress returns null, w/o exceptions, it seems a security restriction related error ( NetPermission("getNetworkInformation") required )

refs:

NetworkInterface.java
NetworkInterface.c

Notes:

fix with love <3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions