Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3. using System.Threading;
  4.  
  5. public class Program
  6. {
  7. public static void Main()
  8. {
  9. int threshold = Convert.ToInt32(File.ReadAllText(@"D:\threshold.txt"));
  10. int counter = Convert.ToInt32(File.ReadAllText(@"D:\counter.txt"));
  11. string[] login = File.ReadAllLines(@"D:\login.txt");
  12. string[] hmc = File.ReadAllLines(@"D:\hmc.txt");
  13. while(Convert.ToInt32(hmc[counter])<threshold && counter < login.Length)
  14. {
  15. counter++;
  16. }
  17. if(counter>=login.Length)
  18. {
  19. System.Windows.Forms.MessageBox.Show(Convert.ToString("We spined " + login.Length + " times and are done"));
  20. File.WriteAllText(@"D:\counter.txt", "0");
  21. Thread.Sleep(100000000);
  22. }
  23. string[] pwandmail = login[counter].Split(':');
  24. System.Windows.Forms.SendKeys.SendWait(pwandmail[0]);
  25. System.Windows.Forms.SendKeys.SendWait("{TAB}");
  26. System.Windows.Forms.SendKeys.SendWait(pwandmail[1]);
  27. System.Windows.Forms.SendKeys.SendWait("{ENTER}");
  28. File.WriteAllText(@"D:\counter.txt", Convert.ToString(counter));
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement