Skip to content

Commit 1fda233

Browse files
committed
Added Root Detection
1 parent a0de2e1 commit 1fda233

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • InsecureBankv2/app/src/main/java/com/android/insecurebankv2

InsecureBankv2/app/src/main/java/com/android/insecurebankv2/PostLogin.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void onClick(View v) {
8484

8585
void showRootStatus() {
8686
boolean isrooted = doesSuperuserApkExist("/system/app/Superuser.apk")||
87-
doesSUexist();
87+
doesSUexist();
8888
if(isrooted==true)
8989
{
9090
root_status.setText("Rooted Device!!");
@@ -95,7 +95,6 @@ void showRootStatus() {
9595
}
9696
}
9797

98-
9998
private boolean doesSUexist() {
10099
Process process = null;
101100
try {

0 commit comments

Comments
 (0)