Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.IO;
- using System.Threading;
- public class Program
- {
- public static void Main()
- {
- int threshold = Convert.ToInt32(File.ReadAllText(@"D:\threshold.txt"));
- int counter = Convert.ToInt32(File.ReadAllText(@"D:\counter.txt"));
- string[] login = File.ReadAllLines(@"D:\login.txt");
- string[] hmc = File.ReadAllLines(@"D:\hmc.txt");
- while(Convert.ToInt32(hmc[counter])<threshold && counter < login.Length)
- {
- counter++;
- }
- if(counter>=login.Length)
- {
- System.Windows.Forms.MessageBox.Show(Convert.ToString("We spined " + login.Length + " times and are done"));
- File.WriteAllText(@"D:\counter.txt", "0");
- Thread.Sleep(100000000);
- }
- string[] pwandmail = login[counter].Split(':');
- System.Windows.Forms.SendKeys.SendWait(pwandmail[0]);
- System.Windows.Forms.SendKeys.SendWait("{TAB}");
- System.Windows.Forms.SendKeys.SendWait(pwandmail[1]);
- System.Windows.Forms.SendKeys.SendWait("{ENTER}");
- File.WriteAllText(@"D:\counter.txt", Convert.ToString(counter));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement