Change 'su' to 'su -mm' so that the mounted chroot can be seen by other app or terminal as the fs is mounted as globle namespace.
This commit is contained in:
parent
3bfc2a603f
commit
96e79fefca
@ -11,9 +11,9 @@ import java.io.InputStreamReader;
|
||||
|
||||
class ShellType {
|
||||
static final String ANDROID_SHELL = whichCMD("sh") + " -";
|
||||
static final String ANDROID_SU_SHELL = whichCMD("su");
|
||||
static final String KALI_SHELL = whichCMD("su") + " -c /data/data/com.offsec.nethunter/files/scripts/bootkali";
|
||||
static final String KALI_LOGIN_SHELL = whichCMD("su") +" -c /data/data/com.offsec.nethunter/files/scripts/bootkali_login";
|
||||
static final String ANDROID_SU_SHELL = whichCMD("su") + " -mm";
|
||||
static final String KALI_SHELL = whichCMD("su") + " -mm -c bootkali";
|
||||
static final String KALI_LOGIN_SHELL = whichCMD("su") + " -mm -c bootkali_login";
|
||||
|
||||
private static String whichCMD(String theCmd){
|
||||
String output = null;
|
||||
|
Loading…
Reference in New Issue
Block a user