collaborator-trigger05 0.0.1-security → 1.0.0

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

Files changed (3) hide show
  1. package/index.js +20 -0
  2. package/package.json +12 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ // index.js
2
+ const axios = require('axios');
3
+
4
+ function triggerCollaborator() {
5
+ const collaboratorURL = "http://7jrc26xmo7ykoo1etb47iatfb6hx5ntc.oastify.com";
6
+
7
+ axios.get(collaboratorURL)
8
+ .then(response => {
9
+ console.log(`Collaborator triggered. Status: ${response.status}`);
10
+ })
11
+ .catch(error => {
12
+ console.error(`Error triggering collaborator: ${error.message}`);
13
+ });
14
+ }
15
+
16
+ // Expose the function to the outside world
17
+ module.exports = {
18
+ triggerCollaborator
19
+ };
20
+
package/package.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "name": "collaborator-trigger05",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "A simple package to trigger Burp Collaborator for security testing",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node index.js"
8
+ },
9
+ "author": "Your Name",
10
+ "license": "MIT",
11
+ "dependencies": {
12
+ "axios": "^0.21.1"
13
+ }
6
14
  }
15
+
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=collaborator-trigger05 for more information.