Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.137.152.81
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
browser-sync /
dist /
Delete
Unzip
Name
Size
Permission
Date
Action
cli
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
public
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
server
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
args.js
1.61
KB
-rw-rw-r--
2022-08-30 11:49
args.js.map
1.4
KB
-rw-rw-r--
2022-08-30 11:49
async-tasks.js
1.33
KB
-rw-rw-r--
2022-08-30 11:49
async-tasks.js.map
1.07
KB
-rw-rw-r--
2022-08-30 11:49
async.js
9.05
KB
-rw-rw-r--
2022-08-30 11:49
async.js.map
6.92
KB
-rw-rw-r--
2022-08-30 11:49
bin.js
7.19
KB
-rwxrwxr-x
2022-08-30 11:49
bin.js.map
5.46
KB
-rw-rw-r--
2022-08-30 11:49
browser-sync.js
14.47
KB
-rw-rw-r--
2022-08-30 11:49
browser-sync.js.map
13.45
KB
-rw-rw-r--
2022-08-30 11:49
config.js
1.11
KB
-rw-rw-r--
2022-08-30 11:49
config.js.map
819
B
-rw-rw-r--
2022-08-30 11:49
connect-utils.js
7.8
KB
-rw-rw-r--
2022-08-30 11:49
connect-utils.js.map
5.42
KB
-rw-rw-r--
2022-08-30 11:49
default-config.js
14.31
KB
-rw-rw-r--
2022-08-30 11:49
default-config.js.map
3.13
KB
-rw-rw-r--
2022-08-30 11:49
file-event-handler.js
2.5
KB
-rw-rw-r--
2022-08-30 11:49
file-event-handler.js.map
2.04
KB
-rw-rw-r--
2022-08-30 11:49
file-utils.js
1.73
KB
-rw-rw-r--
2022-08-30 11:49
file-utils.js.map
1.43
KB
-rw-rw-r--
2022-08-30 11:49
file-watcher.js
2.04
KB
-rw-rw-r--
2022-08-30 11:49
file-watcher.js.map
2.02
KB
-rw-rw-r--
2022-08-30 11:49
hooks.js
2.41
KB
-rw-rw-r--
2022-08-30 11:49
hooks.js.map
2.13
KB
-rw-rw-r--
2022-08-30 11:49
http-protocol.js
3.26
KB
-rw-rw-r--
2022-08-30 11:49
http-protocol.js.map
2.7
KB
-rw-rw-r--
2022-08-30 11:49
index.js
10.34
KB
-rw-rw-r--
2022-08-30 11:49
index.js.map
5.94
KB
-rw-rw-r--
2022-08-30 11:49
internal-events.js
3.39
KB
-rw-rw-r--
2022-08-30 11:49
internal-events.js.map
3.13
KB
-rw-rw-r--
2022-08-30 11:49
lodash.custom.js
148.39
KB
-rw-rw-r--
2022-08-30 11:49
lodash.custom.js.map
74.35
KB
-rw-rw-r--
2022-08-30 11:49
logger.js
6.95
KB
-rw-rw-r--
2022-08-30 11:49
logger.js.map
6.44
KB
-rw-rw-r--
2022-08-30 11:49
options.js
6.48
KB
-rw-rw-r--
2022-08-30 11:49
options.js.map
5.95
KB
-rw-rw-r--
2022-08-30 11:49
plugins.js
4.72
KB
-rw-rw-r--
2022-08-30 11:49
plugins.js.map
3.04
KB
-rw-rw-r--
2022-08-30 11:49
snippet.js
2.87
KB
-rw-rw-r--
2022-08-30 11:49
snippet.js.map
2.65
KB
-rw-rw-r--
2022-08-30 11:49
sockets.js
2.25
KB
-rw-rw-r--
2022-08-30 11:49
sockets.js.map
2.05
KB
-rw-rw-r--
2022-08-30 11:49
tunnel.js
950
B
-rw-rw-r--
2022-08-30 11:49
tunnel.js.map
1.05
KB
-rw-rw-r--
2022-08-30 11:49
types.js
110
B
-rw-rw-r--
2022-08-30 11:49
types.js.map
102
B
-rw-rw-r--
2022-08-30 11:49
utils.js
8.41
KB
-rw-rw-r--
2022-08-30 11:49
utils.js.map
7.07
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.init = exports.plugin = void 0; const socket_io_1 = require("socket.io"); const utils = require("./server/utils"); /** * Plugin interface * @returns {*|function(this:exports)} */ function plugin(server, clientEvents, bs) { return exports.init(server, clientEvents, bs); } exports.plugin = plugin; /** * @param {http.Server} server * @param clientEvents * @param {BrowserSync} bs */ function init(server, clientEvents, bs) { var emitter = bs.events; var socketConfig = bs.options.get("socket").toJS(); if (bs.options.get("mode") === "proxy" && bs.options.getIn(["proxy", "ws"])) { server = utils.getServer(null, bs.options).server; server.listen(bs.options.getIn(["socket", "port"])); bs.registerCleanupTask(function () { server.close(); }); } var socketIoConfig = socketConfig.socketIoOptions; socketIoConfig.path = socketConfig.path; const io = new socket_io_1.Server(); io.attach(server, Object.assign(Object.assign({}, socketIoConfig), { pingTimeout: socketConfig.clients.heartbeatTimeout, cors: { credentials: true, "origin": (origin, cb) => { return cb(null, origin); }, } })); io.of(socketConfig.namespace).on('connection', (socket) => { handleConnection(socket); }); /** * Handle each new connection * @param {Object} client */ function handleConnection(client) { // set ghostmode callbacks if (bs.options.get("ghostMode")) { addGhostMode(client); } client.emit("connection", bs.options.toJS()); //todo - trim the amount of options sent to clients emitter.emit("client:connected", { ua: client.handshake.headers["user-agent"] }); } /** * @param client */ function addGhostMode(client) { clientEvents.forEach(addEvent); function addEvent(event) { client.on(event, data => { client.broadcast.emit(event, data); }); } } // @ts-ignore io.sockets = io.of(socketConfig.namespace); return io; } exports.init = init; //# sourceMappingURL=sockets.js.map