Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. public void Vote()
  2. {
  3. string path = @"C:/data.txt";
  4. string line1, line2, line3, line4, line5, line6, line7, line8, line9, line10;
  5.  
  6. using (StreamReader reader = new StreamReader(path))
  7. {
  8.  
  9. line1 = reader.ReadLine();
  10. line2 = reader.ReadLine();
  11. line3 = reader.ReadLine();
  12. line4 = reader.ReadLine();
  13. line5 = reader.ReadLine();
  14. line6 = reader.ReadLine();
  15. line7 = reader.ReadLine();
  16. line8 = reader.ReadLine();
  17. line9 = reader.ReadLine();
  18. line10 = reader.ReadLine();
  19. }
  20. int loopvar = 1;
  21. DateTime now = DateTime.Now;
  22. Console.WriteLine(now);
  23. Post("http://insanityflyff.com/account.php", "login_username=" + line1 + "&login_password=" + line2 + "&login_submit=Submit");
  24. rtb.AppendText("Logged into insanity flyff!");
  25. while (loopvar < 7)
  26. {
  27. Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
  28. Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
  29. Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
  30. Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
  31. loopvar = loopvar + 1;
  32. MessageBox.Show("1");
  33. }
  34.  
  35. if (line3 != null)
  36. {
  37. Post("http://insanityflyff.com/account.php", "login_username=" + line3 + "&login_password=" + line4 + "&login_submit=Submit");
  38. rtb.AppendText("Logged into insanity flyff!");
  39. while (loopvar < 7)
  40. {
  41. Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
  42. Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
  43. Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
  44. Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
  45. loopvar = loopvar + 1;
  46. MessageBox.Show("2");
  47. }
  48. }
  49. if (line5 != null)
  50. {
  51. Post("http://insanityflyff.com/account.php", "login_username=" + line5 + "&login_password=" + line6 + "&login_submit=Submit");
  52. rtb.AppendText("Logged into insanity flyff!");
  53. while (loopvar < 7)
  54. {
  55. Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
  56. Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
  57. Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
  58. Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
  59. loopvar = loopvar + 1;
  60. }
  61. }
  62. if (line7 != null)
  63. {
  64. Post("http://insanityflyff.com/account.php", "login_username=" + line7 + "&login_password=" + line8 + "&login_submit=Submit");
  65. rtb.AppendText("Logged into insanity flyff!");
  66.  
  67. while (loopvar < 7)
  68. {
  69. Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
  70. Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
  71. Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
  72. Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
  73. loopvar = loopvar + 1;
  74. }
  75. }
  76. if (line9 != null)
  77. {
  78. Post("http://insanityflyff.com/account.php", "login_username=" + line9 + "&login_password=" + line10 + "&login_submit=Submit");
  79. rtb.AppendText("Logged into insanity flyff!");
  80. while (loopvar < 7)
  81. {
  82. Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
  83. Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
  84. Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
  85. Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
  86. loopvar = loopvar + 1;
  87. }
  88. MessageBox.Show("Voted");
  89. }
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement