Skip to content

Cannot start on Android 7 #831

New issue

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

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

Already on GitHub? # to your account

Closed
tux-mind opened this issue Feb 11, 2017 · 2 comments
Closed

Cannot start on Android 7 #831

tux-mind opened this issue Feb 11, 2017 · 2 comments

Comments

@tux-mind
Copy link
Member

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

@pahapoika
Copy link
Member

Strange.
It works perfectly on Nougat (Oxygenos)
On my op3t.

@IwraStudios
Copy link
Member

Made a branch for the fix: #832

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants