Sosyal açıldı! Bir göz at → Hemen gir →

✅ Pratik Çoklu Otp Aracı

ahlb

KY Kıdemli Üye
KAYIT
6 Kas 2024
Mesajlar
277
Tepki puanı
1
Kendim için yapay zekaya kodlattığım bir araçtır. Bu tür bir araç daha önce paylaşıldı mı bilmiyorum ancak benim işimi kolaylaştırdığı için sizlerle paylaşmak istedim.

Spoyler: KODLAR C#
Kod:
Kod:
using System.Diagnostics;
using System.Reflection;

namespace myWpAsist
{
    public partial class Form1 : Form
    {
        public string targetPath = @"C:\Program Files (x86)\AnyOTPSetup".Trim();
        public string sourcePath;

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            foreach (Process proc in Process.GetProcessesByName("AnyOTP"))
            {
                try
                {
                    proc.Kill();
                    proc.WaitForExit();
                }
                catch (Exception ex)
                {
                    MessageBox.Show("AnyOTP sonlandırılamadı: " + ex.Message);
                }
            }
            try
            {
                comboBox1.Items.Clear();
                string exePath = Process.GetCurrentProcess().MainModule.FileName;
                string basePath = Path.GetDirectoryName(exePath);

                // Uygulamanın çalıştığı klasörü al
       
              
                // Klasörleri tara
                string[] directories = Directory.GetDirectories(basePath);

                foreach (string dir in directories)
                {
                    string regPath = dir + @"\OtpInfo.reg";

                    if (File.Exists(regPath))
                    {
                      
                        string folderName = Path.GetFileName(dir);
                        comboBox1.Items.Add(folderName);
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Hata (Form Load): " + ex.Message);
            }

        }

        private void button1_Click(object sender, EventArgs e)
        {
            foreach (Process proc in Process.GetProcessesByName("AnyOTP"))
            {
                try
                {
                    proc.Kill();
                    proc.WaitForExit();
                }
                catch (Exception ex)
                {
                    MessageBox.Show("AnyOTP sonlandırılamadı: " + ex.Message);
                }
            }
            sourcePath = comboBox1.SelectedItem.ToString().Trim();
            try
            {
                // Klasördeki dosyaları kopyala
                foreach (string file in Directory.GetFiles(sourcePath))
                {
                    string fileName = Path.GetFileName(file);
                    string destFile = Path.Combine(targetPath, fileName);
                    File.Copy(file, destFile, true);
                }

                // .reg dosyasını sessizce çalıştır
                string regFilePath = targetPath + @"\OtpInfo.reg";
                if (File.Exists(regFilePath))
                {
                    ProcessStartInfo regInfo = new ProcessStartInfo("regedit.exe", $"/s \"{regFilePath}\"")
                    {
                        UseShellExecute = false,
                        CreateNoWindow = true
                    };
                    Process.Start(regInfo);
                }

                // b.exe dosyasını çalıştır
                string exeFilePath = targetPath + @"\StartOTP.exe";
                if (File.Exists(exeFilePath))
                {
                    ProcessStartInfo exeInfo = new ProcessStartInfo(exeFilePath)
                    {
                        FileName = exeFilePath,
                        UseShellExecute = true,
                        WorkingDirectory = targetPath // Bu satır kritik!
                    };
                    Process.Start(exeInfo);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("Bir hata oluştu: " + ex.Message);
            }
        }
    }
}
Senaryo : Otp taşıyıcı ile arşivlenmiş birden fazla otp var ve sürekli klasör içeriğini kopyala C OTP klasörüne at regedit çalıştır şeklinde hepsini aynı pcden kullanabiliyoruz
Programın yaptığı : Kopyalama, regedit çalıştırma, otp çalıştırma tek tık.
Yapılacaklar
1-Kodları derleyin
2- otplerinizi, hesap1, hesap2 vb şekilde klasörler şeklinde tek bir kalsörün içinde toplayın
3- Örnek hesap klasörü : Hook, Spoof, Reg, Start dosyalarına sahiptir.
4- Derlediğiniz programı klasörlerin bulunduğu dizine atın.




Tek tıkla istediğiniz otpyi açar. Alakasız klasörleri dahil etmez.

Daha fazla bilgi için iletişime geçin! ?
 
Anasayfa Kayıt ol Giriş yap
Üst Alt