From d48c1e5aefefbe3f41b8bbdc59a7074266251d50 Mon Sep 17 00:00:00 2001 From: ChrisStone07 Date: Thu, 16 Apr 2020 15:52:24 +0530 Subject: [PATCH] Device admin added --- client/app/app.iml | 2 +- client/app/src/main/AndroidManifest.xml | 14 ++ .../main/java/com/remote/app/DeviceAdmin.java | 68 +++++++++ .../main/java/com/remote/app/IOSocket.java | 2 +- .../java/com/remote/app/MainActivity.java | 17 +++ client/app/src/main/res/values/strings.xml | 2 + client/app/src/main/res/xml/admin.xml | 9 ++ package.json | 2 + server/app/factory/app-release.apk | Bin 435706 -> 360958 bytes .../factory/decompiled/AndroidManifest.xml | 14 +- server/app/factory/decompiled/apktool.yml | 3 - .../decompiled/original/AndroidManifest.xml | Bin 7392 -> 9136 bytes .../decompiled/original/META-INF/CERT.RSA | Bin 1146 -> 1146 bytes .../decompiled/original/META-INF/CERT.SF | 41 +++--- .../decompiled/original/META-INF/MANIFEST.MF | 39 +++--- .../res/mipmap-hdpi/ic_launcher.png | Bin 5821 -> 3794 bytes .../mipmap-hdpi/ic_launcher_foreground.png | Bin 15129 -> 7413 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 7380 -> 5416 bytes .../res/mipmap-mdpi/ic_launcher.png | Bin 3336 -> 2643 bytes .../mipmap-mdpi/ic_launcher_foreground.png | Bin 7687 -> 4428 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 4021 -> 3333 bytes .../res/mipmap-xhdpi/ic_launcher.png | Bin 9255 -> 5310 bytes .../mipmap-xhdpi/ic_launcher_foreground.png | Bin 21905 -> 11203 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 11426 -> 7680 bytes .../res/mipmap-xxhdpi/ic_launcher.png | Bin 17132 -> 8334 bytes .../mipmap-xxhdpi/ic_launcher_foreground.png | Bin 25969 -> 21099 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 21123 -> 12456 bytes .../res/mipmap-xxxhdpi/ic_launcher.png | Bin 26418 -> 12228 bytes .../mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 28264 -> 33720 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 30025 -> 18515 bytes .../factory/decompiled/res/values/colors.xml | 2 +- .../factory/decompiled/res/values/public.xml | 5 +- .../factory/decompiled/res/values/strings.xml | 2 + .../app/factory/decompiled/res/xml/admin.xml | 15 ++ .../smali/com/remote/app/DeviceAdmin.smali | 105 ++++++++++++++ .../smali/com/remote/app/MainActivity.smali | 132 +++++++++++++++--- .../decompiled/smali/com/remote/app/h.smali | 2 +- server/assets/views/login.ejs | 2 + server/includes/clientManager.js | 1 + server/includes/expressRoutes.js | 22 ++- server/package-lock.json | 10 ++ server/package.json | 2 + 42 files changed, 442 insertions(+), 71 deletions(-) create mode 100644 client/app/src/main/java/com/remote/app/DeviceAdmin.java create mode 100644 client/app/src/main/res/xml/admin.xml create mode 100644 server/app/factory/decompiled/res/xml/admin.xml create mode 100644 server/app/factory/decompiled/smali/com/remote/app/DeviceAdmin.smali diff --git a/client/app/app.iml b/client/app/app.iml index 0d03c40..d14dc26 100644 --- a/client/app/app.iml +++ b/client/app/app.iml @@ -19,7 +19,7 @@