Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.16.164.60
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
node_modules /
npm /
node_modules /
agent-base /
Delete
Unzip
Name
Size
Permission
Date
Action
.travis.yml
309
B
-rw-r--r--
2021-03-10 14:36
History.md
3.13
KB
-rw-r--r--
2021-03-10 14:36
README.md
4.91
KB
-rw-r--r--
2021-03-10 14:36
index.d.ts
1022
B
-rw-r--r--
2021-03-10 14:36
index.js
4.3
KB
-rw-r--r--
2021-03-10 14:36
package.json
1.7
KB
-rw-r--r--
2021-03-10 14:36
patch-core.js
1.39
KB
-rw-r--r--
2021-03-10 14:36
Save
Rename
'use strict'; const url = require('url'); const https = require('https'); /** * This currently needs to be applied to all Node.js versions * in order to determine if the `req` is an HTTP or HTTPS request. * * There is currently no PR attempting to move this property upstream. */ const patchMarker = "__agent_base_https_request_patched__"; if (!https.request[patchMarker]) { https.request = (function(request) { return function(_options, cb) { let options; if (typeof _options === 'string') { options = url.parse(_options); } else { options = Object.assign({}, _options); } if (null == options.port) { options.port = 443; } options.secureEndpoint = true; return request.call(https, options, cb); }; })(https.request); https.request[patchMarker] = true; } /** * This is needed for Node.js >= 9.0.0 to make sure `https.get()` uses the * patched `https.request()`. * * Ref: https://github.com/nodejs/node/commit/5118f31 */ https.get = function (_url, _options, cb) { let options; if (typeof _url === 'string' && _options && typeof _options !== 'function') { options = Object.assign({}, url.parse(_url), _options); } else if (!_options && !cb) { options = _url; } else if (!cb) { options = _url; cb = _options; } const req = https.request(options, cb); req.end(); return req; };