Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Vote()
- {
- string path = @"C:/data.txt";
- string line1, line2, line3, line4, line5, line6, line7, line8, line9, line10;
- using (StreamReader reader = new StreamReader(path))
- {
- line1 = reader.ReadLine();
- line2 = reader.ReadLine();
- line3 = reader.ReadLine();
- line4 = reader.ReadLine();
- line5 = reader.ReadLine();
- line6 = reader.ReadLine();
- line7 = reader.ReadLine();
- line8 = reader.ReadLine();
- line9 = reader.ReadLine();
- line10 = reader.ReadLine();
- }
- int loopvar = 1;
- DateTime now = DateTime.Now;
- Console.WriteLine(now);
- Post("http://insanityflyff.com/account.php", "login_username=" + line1 + "&login_password=" + line2 + "&login_submit=Submit");
- rtb.AppendText("Logged into insanity flyff!");
- while (loopvar < 7)
- {
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
- loopvar = loopvar + 1;
- MessageBox.Show("1");
- }
- if (line3 != null)
- {
- Post("http://insanityflyff.com/account.php", "login_username=" + line3 + "&login_password=" + line4 + "&login_submit=Submit");
- rtb.AppendText("Logged into insanity flyff!");
- while (loopvar < 7)
- {
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
- loopvar = loopvar + 1;
- MessageBox.Show("2");
- }
- }
- if (line5 != null)
- {
- Post("http://insanityflyff.com/account.php", "login_username=" + line5 + "&login_password=" + line6 + "&login_submit=Submit");
- rtb.AppendText("Logged into insanity flyff!");
- while (loopvar < 7)
- {
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
- loopvar = loopvar + 1;
- }
- }
- if (line7 != null)
- {
- Post("http://insanityflyff.com/account.php", "login_username=" + line7 + "&login_password=" + line8 + "&login_submit=Submit");
- rtb.AppendText("Logged into insanity flyff!");
- while (loopvar < 7)
- {
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
- loopvar = loopvar + 1;
- }
- }
- if (line9 != null)
- {
- Post("http://insanityflyff.com/account.php", "login_username=" + line9 + "&login_password=" + line10 + "&login_submit=Submit");
- rtb.AppendText("Logged into insanity flyff!");
- while (loopvar < 7)
- {
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=1", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=2", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=3", "");
- Post("http://insanityflyff.com/ajax.php?a=vote&submit=4", "");
- loopvar = loopvar + 1;
- }
- MessageBox.Show("Voted");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement