Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben
Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben
private void DownloadFile(object state)
{
Form1._Closure$__39-0 CS$<>8__locals1 = new Form1._Closure$__39-0(CS$<>8__locals1);
CS$<>8__locals1.$VB$Me = this;
Conversions.ToInteger(state);
string text = "";
CS$<>8__locals1.$VB$Local_useMac = "";
string text2 = "";
string text3 = "";
string scheme;
string host;
try
{
Uri uri = new Uri(this.url);
scheme = uri.Scheme;
host = uri.Host;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error");
return;
}
string uriString = string.Format("http://{0}/{1}?type=stb&action=handshake&prehash=false&JsHttpRequest=1-xml", this.panel, this.scanType);
checked
{
while (!this.cts.Token.IsCancellationRequested)
{
Form1._Closure$__39-1 CS$<>8__locals2 = new Form1._Closure$__39-1(CS$<>8__locals2);
CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2 = CS$<>8__locals1;
if (this.backupQueue.Count > 0)
{
this.backupQueue.TryDequeue(out text);
}
else
{
if (this.downloadQueue.Count <= 0)
{
this.cts.Cancel();
break;
}
this.downloadQueue.TryDequeue(out text);
}
if (!string.IsNullOrEmpty(text))
{
ref int ptr = ref this.scanCount;
this.scanCount = ptr + 1;
CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac = text.Substring(0, text.LastIndexOf(':'));
base.Invoke((CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$I0 == null) ? (CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$I0 = delegate()
{
CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Me.TextBox2.Text = CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac;
}) : CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$I0);
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(new Uri(uriString));
httpWebRequest.Method = "GET";
httpWebRequest.Accept = "*/*";
httpWebRequest.UserAgent = Module1.useragent;
httpWebRequest.Referer = scheme + "://" + host;
httpWebRequest.Timeout = 11000;
httpWebRequest.AllowAutoRedirect = true;
httpWebRequest.Headers.Add("Accept-Language", "en-US,*");
httpWebRequest.Headers.Add("Accept-Charset", "UTF-8,*;q=0.8");
httpWebRequest.Headers.Add("X-User-Agent", "Model: MAG250; Link: WiFi");
if (httpWebRequest.CookieContainer == null)
{
httpWebRequest.CookieContainer = new CookieContainer();
}
httpWebRequest.CookieContainer.Add(new Cookie("mac", WebUtility.UrlEncode(CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac), "/", host));
httpWebRequest.CookieContainer.Add(new Cookie("stb_lang", "en", "/", host));
httpWebRequest.CookieContainer.Add(new Cookie("timezone", "Europe/Paris", "/", host));
try
{
using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
{
if (httpWebResponse.StatusCode == 200)
{
using (httpWebResponse.GetResponseStream())
{
using (Stream responseStream2 = httpWebResponse.GetResponseStream())
{
if (responseStream2 != null)
{
using (StreamReader streamReader = new StreamReader(responseStream2, Encoding.UTF8, false, 4096, true))
{
text3 = streamReader.ReadToEnd();
}
if (text3.Contains("Error"))
{
continue;
}
}
}
goto IL_323;
}
continue;
IL_323:
goto IL_331;
}
continue;
}
IL_331:
JObject jobject = JObject.Parse(text3);
text2 = jobject["js"]["token"].ToString();
}
catch (Exception ex2)
{
}
string text4 = text.Substring(0, text.LastIndexOf(':'));
bool flag = Conversions.ToBoolean(text.Split(new char[]
{
':'
})[6]);
new Stopwatch();
if (this.hitList.Contains(CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac))
{
return;
}
httpWebRequest = (HttpWebRequest)WebRequest.Create(new Uri(string.Format("http://{0}/{1}?type=stb&action=get_profile&JsHttpRequest=1-xml", this.panel, this.scanType)));
httpWebRequest.Method = "GET";
httpWebRequest.Accept = "*/*";
httpWebRequest.UserAgent = Module1.useragent;
httpWebRequest.Referer = scheme + "://" + host;
httpWebRequest.Timeout = 11000;
httpWebRequest.AllowAutoRedirect = true;
httpWebRequest.Headers.Add("Accept-Language", "en-US,*");
httpWebRequest.Headers.Add("Accept-Charset", "UTF-8,*;q=0.8");
httpWebRequest.Headers.Add("X-User-Agent", "Model: MAG254; Link: Ethernet,WiFi");
httpWebRequest.Headers.Add("Authorization", "Bearer " + text2);
if (httpWebRequest.CookieContainer == null)
{
httpWebRequest.CookieContainer = new CookieContainer();
}
httpWebRequest.CookieContainer.Add(new Cookie("mac", WebUtility.UrlEncode(CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac), "/", host));
httpWebRequest.CookieContainer.Add(new Cookie("stb_lang", "en", "/", host));
try
{
using (HttpWebResponse httpWebResponse2 = (HttpWebResponse)httpWebRequest.GetResponse())
{
if (httpWebResponse2.StatusCode == 200)
{
using (httpWebResponse2.GetResponseStream())
{
using (Stream responseStream4 = httpWebResponse2.GetResponseStream())
{
if (responseStream4 != null)
{
using (StreamReader streamReader2 = new StreamReader(responseStream4, Encoding.UTF8, false, 4096, true))
{
text3 = streamReader2.ReadToEnd();
}
}
}
goto IL_568;
}
continue;
IL_568:
goto IL_576;
}
continue;
}
IL_576:
JObject jobject = JObject.Parse(text3);
string value = jobject["js"]["id"].ToString();
if (jobject.ContainsKey("ip"))
{
jobject["js"]["ip"].ToString();
}
if (string.IsNullOrEmpty(value))
{
continue;
}
}
catch (Exception ex3)
{
continue;
}
httpWebRequest = (HttpWebRequest)WebRequest.Create(new Uri(string.Format("http://{0}/{1}?type=account_info&action=get_main_info&JsHttpRequest=1-xml", this.panel, this.scanType)));
httpWebRequest.Method = "GET";
httpWebRequest.Accept = "*/*";
httpWebRequest.UserAgent = Module1.useragent;
httpWebRequest.Referer = scheme + "://" + host;
httpWebRequest.Timeout = 11000;
httpWebRequest.AllowAutoRedirect = true;
httpWebRequest.Headers.Add("Accept-Language", "en-US,*");
httpWebRequest.Headers.Add("Accept-Charset", "UTF-8,*;q=0.8");
httpWebRequest.Headers.Add("X-User-Agent", "Model: MAG254; Link: Ethernet,WiFi");
httpWebRequest.Headers.Add("Authorization", "Bearer " + text2);
if (httpWebRequest.CookieContainer == null)
{
httpWebRequest.CookieContainer = new CookieContainer();
}
httpWebRequest.CookieContainer.Add(new Cookie("mac", WebUtility.UrlEncode(CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac), "/", host));
httpWebRequest.CookieContainer.Add(new Cookie("stb_lang", "en", "/", host));
try
{
using (HttpWebResponse httpWebResponse3 = (HttpWebResponse)httpWebRequest.GetResponse())
{
if (httpWebResponse3.StatusCode == 200)
{
using (httpWebResponse3.GetResponseStream())
{
using (Stream responseStream6 = httpWebResponse3.GetResponseStream())
{
if (responseStream6 != null)
{
using (StreamReader streamReader3 = new StreamReader(responseStream6, Encoding.UTF8, false, 4096, true))
{
text3 = streamReader3.ReadToEnd();
}
}
}
goto IL_796;
}
continue;
IL_796:
goto IL_7A4;
}
continue;
}
IL_7A4:;
}
catch (Exception ex4)
{
continue;
}
if (!string.IsNullOrEmpty(text3) && text3.Contains("phone"))
{
JObject jobject = JObject.Parse(text3);
string text5 = jobject["js"]["mac"].ToString();
if (!string.IsNullOrWhiteSpace(text5))
{
CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac = text5;
}
string text6;
if (text3.Contains("end_date"))
{
text6 = jobject["js"]["end_date"].ToString();
}
else
{
text6 = jobject["js"]["phone"].ToString();
}
int num;
if (text6.ToLower().StartsWith("un"))
{
num = 9999;
}
else
{
num = (int)DateAndTime.DateDiff(DateInterval.Day, DateTime.Today, Conversions.ToDate(text6), FirstDayOfWeek.Sunday, FirstWeekOfYear.Jan1);
num.ToString();
}
if (flag)
{
this.AdjacentMacs(text4);
}
if (num >= Module1.minExpDays)
{
httpWebRequest = (HttpWebRequest)WebRequest.Create(new Uri(string.Format("http://{0}/{1}?action=get_genres&type=itv&JsHttpRequest=1-xml", this.panel, this.scanType)));
httpWebRequest.Method = "GET";
httpWebRequest.Accept = "*/*";
httpWebRequest.UserAgent = Module1.useragent;
httpWebRequest.Referer = scheme + "://" + host;
httpWebRequest.Timeout = 11000;
httpWebRequest.AllowAutoRedirect = true;
httpWebRequest.Headers.Add("Accept-Language", "en-US,*");
httpWebRequest.Headers.Add("Accept-Charset", "UTF-8,*;q=0.8");
httpWebRequest.Headers.Add("X-User-Agent", "Model: MAG254; Link: Ethernet,WiFi");
httpWebRequest.Headers.Add("Authorization", "Bearer " + text2);
if (httpWebRequest.CookieContainer == null)
{
httpWebRequest.CookieContainer = new CookieContainer();
}
httpWebRequest.CookieContainer.Add(new Cookie("mac", WebUtility.UrlEncode(CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Local_useMac), "/", host));
httpWebRequest.CookieContainer.Add(new Cookie("stb_lang", "en", "/", host));
try
{
using (HttpWebResponse httpWebResponse4 = (HttpWebResponse)httpWebRequest.GetResponse())
{
if (httpWebResponse4.StatusCode == 200)
{
using (httpWebResponse4.GetResponseStream())
{
using (Stream responseStream8 = httpWebResponse4.GetResponseStream())
{
if (responseStream8 != null)
{
using (StreamReader streamReader4 = new StreamReader(responseStream8, Encoding.UTF8, false, 4096, true))
{
text3 = streamReader4.ReadToEnd();
}
}
}
goto IL_A61;
}
continue;
IL_A61:
goto IL_A6F;
}
continue;
}
IL_A6F:;
}
catch (Exception ex5)
{
continue;
}
ptr = ref this.hitCount;
this.hitCount = ptr + 1;
CS$<>8__locals2.$VB$Local_dgvRow = new DataGridViewRow();
text5 = ((num > 9900) ? text6 : Conversions.ToDate(text6).ToShortDateString());
CS$<>8__locals2.$VB$Local_dgvRow.CreateCells(this.DataGridView1, new object[]
{
text4,
text5,
num,
"ℹ️",
"\ud83d\udcfa"
});
CS$<>8__locals2.$VB$Local_dgvRow.Cells[3].Tag = text3;
CS$<>8__locals2.$VB$Local_dgvRow.Cells[4].Tag = string.Format("{0}|{1}|{2}|{3}", new object[]
{
this.panel,
text4,
text2,
text6
});
this.DataGridView1.Invoke(new VB$AnonymousDelegate_0(delegate()
{
CS$<>8__locals2.$VB$NonLocal_$VB$Closure_2.$VB$Me.DataGridView1.Rows.Add(CS$<>8__locals2.$VB$Local_dgvRow);
}));
this.ToolStripLabel1.Text = string.Format("({0}/{1}) Hits", this.hitCount, this.unlimCount);
if (this.hitCount >= 15)
{
this.DataGridView1.Invoke(new VB$AnonymousDelegate_0(delegate()
{
this.DataGridView1.FirstDisplayedScrollingRowIndex = this.DataGridView1.Rows.Count - 1;
}));
}
this.DataGridView1.Invoke(new VB$AnonymousDelegate_0(delegate()
{
this.DataGridView1.ClearSelection();
}));
if (num < 9900)
{
if (this.SoundCheckBox.Checked)
{
MyProject.Computer.Audio.Play(Resources.Hit, AudioPlayMode.Background);
}
}
else
{
ptr = ref this.unlimCount;
this.unlimCount = ptr + 1;
if (this.SoundCheckBox.Checked)
{
MyProject.Computer.Audio.Play(Resources.UnlimitedHit, AudioPlayMode.Background);
}
}
if (text3.ToLower().Contains("nbc"))
{
this.notes = "NBC";
}
if (this.hitCount >= this.maxHits || this.unlimCount >= this.maxHitSave)
{
this.cts.Cancel();
}
}
}
}
}
this.cts.Cancel();
}
}
Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Das Digital Eliteboard ist ein kostenloses Forum und ist auf Spenden angewiesen, um sich auch in Zukunft selbst zu finanzieren. Wenn auch du mit dem Digital Eliteboard zufrieden bist, würden wir uns über jede Unterstützung freuen.
Hier kannst du uns unterstützen SPENDEN