cSploit / android

cSploit - The most complete and advanced IT security professional toolkit on Android.
http://www.csploit.org/
GNU General Public License v3.0
3.32k stars 1.1k forks source link

Launching exploits fail #887

Open ghost opened 7 years ago

ghost commented 7 years ago

So basically I first installed CM 14.1 and a generic Nethunter version. Some things (e.g. launching exploits with cSploit) didn't work so I created my own patched kernel for my phone and installed that. It solved several problems I had elsewhere, but cSploit still can't launch any exploits. I'm thinking this could still be because of some kernel setting being wrong, so if you happen to know what kernel settings cSploit depend on let me know.

It says that cSploit is connected to Metasploit and I can't find any other issues with the app. The error 'job_id' not found is what makes me think this might be related to the kernel, so really, if you know any specific settings for the kernel that are required, let me know. And yes, I've tried re-installing the app, both with 1.6.6 RC2 and nightly. Just let me know if there's any more logs you need, the below is however the only output from attempting to launch an exploit, anything before should be irrelevant.

DEVICE: Samsung Galaxy S4 (i9506)

OS version: CM 14.1 with Nethunter using a custom, patched version of the Kyasu kernel

cSploit version: 1.6.6 RC2 (and nightly tested)

busybox (installed or not): Yes

Rooted with supersu? Yes

logcat (filter it!): org.csploit.android I/CSPLOIT[net.metasploit.MsfExploit.launch]: exploit launch failed: 'job_id' not found or null

lflare commented 6 years ago

This seems to be related to this part,

https://github.com/cSploit/android/blob/309d363c7e5d2572bb231954d2eb027c21f2f0d6/cSploit/src/main/java/org/csploit/android/net/metasploit/MsfExploit.java#L285