Skip to content

Commit

Permalink
Merge pull request #183 from nityanantan23/master
Browse files Browse the repository at this point in the history
Added dangerous apps for detection
  • Loading branch information
levibuzolic authored Apr 4, 2024
2 parents 72ae35e + 1fa4182 commit fc15c4e
Showing 1 changed file with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,33 @@ public class HookDetectionCheck {
public static boolean hookDetected(Context context) {
PackageManager packageManager = context.getPackageManager();
List<ApplicationInfo> applicationInfoList = packageManager.getInstalledApplications(PackageManager.GET_META_DATA);
String[] dangerousPackages = {"de.robv.android.xposed.installer", "com.saurik.substrate", "de.robv.android.xposed"};
String[] dangerousPackages = {
"de.robv.android.xposed.installer",
"com.saurik.substrate",
"de.robv.android.xposed"
"com.noshufou.android.su.elite",
"eu.chainfire.supersu",
"com.koushikdutta.superuser",
"com.thirdparty.superuser",
"com.yellowes.su",
"com.koushikdutta.rommanager",
"com.koushikdutta.rommanager.license",
"com.dimonvideo.luckypatcher",
"com.chelpus.lackypatch",
"com.ramdroid.appquarantine",
"com.ramdroid.appquarantinepro",
"de.robv.android.xposed.installer",
"com.saurik.substrate",
"com.zachspong.temprootremovejb",
"com.amphoras.hidemyroot",
"com.amphoras.hidemyrootadfree",
"com.formyhm.hiderootPremium",
"com.formyhm.hideroot",
"me.phh.superuser",
"eu.chainfire.supersu.pro",
"com.kingouser.com",
"com.topjohnwu.magisk"
};

if (applicationInfoList != null) {
for (ApplicationInfo applicationInfo : applicationInfoList) {
Expand Down Expand Up @@ -79,4 +105,4 @@ private static boolean checkFrida(Context context) {

return false;
}
}
}

0 comments on commit fc15c4e

Please sign in to comment.