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.140.201.179
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 /
ws /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
buffer-util.js
2.84
KB
-rw-rw-r--
2022-08-30 11:49
constants.js
360
B
-rw-rw-r--
2022-08-30 11:49
event-target.js
6.44
KB
-rw-rw-r--
2022-08-30 11:49
extension.js
6.04
KB
-rw-rw-r--
2022-08-30 11:49
limiter.js
1.01
KB
-rw-rw-r--
2022-08-30 11:49
permessage-deflate.js
13.67
KB
-rw-rw-r--
2022-08-30 11:49
receiver.js
14.06
KB
-rw-rw-r--
2022-08-30 11:49
sender.js
10.86
KB
-rw-rw-r--
2022-08-30 11:49
stream.js
4.59
KB
-rw-rw-r--
2022-08-30 11:49
subprotocol.js
1.46
KB
-rw-rw-r--
2022-08-30 11:49
validation.js
3.07
KB
-rw-rw-r--
2022-08-30 11:49
websocket-server.js
13.38
KB
-rw-rw-r--
2022-08-30 11:49
websocket.js
28.9
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
'use strict'; const { tokenChars } = require('./validation'); /** * Parses the `Sec-WebSocket-Protocol` header into a set of subprotocol names. * * @param {String} header The field value of the header * @return {Set} The subprotocol names * @public */ function parse(header) { const protocols = new Set(); let start = -1; let end = -1; let i = 0; for (i; i < header.length; i++) { const code = header.charCodeAt(i); if (end === -1 && tokenChars[code] === 1) { if (start === -1) start = i; } else if ( i !== 0 && (code === 0x20 /* ' ' */ || code === 0x09) /* '\t' */ ) { if (end === -1 && start !== -1) end = i; } else if (code === 0x2c /* ',' */) { if (start === -1) { throw new SyntaxError(`Unexpected character at index ${i}`); } if (end === -1) end = i; const protocol = header.slice(start, end); if (protocols.has(protocol)) { throw new SyntaxError(`The "${protocol}" subprotocol is duplicated`); } protocols.add(protocol); start = end = -1; } else { throw new SyntaxError(`Unexpected character at index ${i}`); } } if (start === -1 || end !== -1) { throw new SyntaxError('Unexpected end of input'); } const protocol = header.slice(start, i); if (protocols.has(protocol)) { throw new SyntaxError(`The "${protocol}" subprotocol is duplicated`); } protocols.add(protocol); return protocols; } module.exports = { parse };