From b47ed549c85112476130cd46395a6eac91a62657 Mon Sep 17 00:00:00 2001 From: Joao Pena Gil Date: Tue, 23 Jun 2015 15:25:08 +0100 Subject: [PATCH] Added SuperSU.apk to check_root --- .../metasploit/meterpreter/android/check_root_android.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/androidpayload/library/src/com/metasploit/meterpreter/android/check_root_android.java b/java/androidpayload/library/src/com/metasploit/meterpreter/android/check_root_android.java index dfc79691..1257a31f 100644 --- a/java/androidpayload/library/src/com/metasploit/meterpreter/android/check_root_android.java +++ b/java/androidpayload/library/src/com/metasploit/meterpreter/android/check_root_android.java @@ -33,6 +33,12 @@ public class check_root_android implements Command { return true; } + //Added check for SuperSU + file = new File("/system/app/SuperSU.apk"); + if (file.exists()) { + return true; + } + } catch (Exception e1) { }