Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
pm2 /
node_modules /
tx2 /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
utils
[ DIR ]
drwxr-xr-x
2025-04-08 13:05
actions.js
2.17
KB
-rw-r--r--
2025-04-08 13:05
events.js
662
B
-rw-r--r--
2025-04-08 13:05
index.js
1.08
KB
-rw-r--r--
2025-04-08 13:05
issues.js
1.36
KB
-rw-r--r--
2025-04-08 13:05
metrics.js
6.02
KB
-rw-r--r--
2025-04-08 13:05
Save
Rename
const Events = require('./events.js') const Actions = require('./actions.js') const Metrics = require('./metrics.js') const Issues = require('./issues.js') const EventEmitter = require('events') const stringify = require('json-stringify-safe') /** * @namespace TX2 * @class TX2 */ class TX2 extends EventEmitter { constructor() { super() Object.assign(this, Events) Object.assign(this, Actions) Object.assign(this, Metrics) Object.assign(this, Issues) var p_interval = setInterval(() => { this.send({ type : 'axm:monitor', data : Metrics.prepareData() }) }, 990) p_interval.unref() } /** * Send JSON to PM2 * @private * @param {object} args */ send(args) { this.emit('data', args) if (!process.send) { var output = args.data delete output.__name return false } try { process.send(JSON.parse(stringify(args))) } catch(e) { console.error('Process disconnected from parent !') console.error(e.stack || e) process.exit(1) } } } module.exports = TX2