PareX

Fixed Monaco

Jul 2nd, 2019
2,123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HtmlDocument text = webBrowser1.Document;
  2.             string scriptName = "GetText";
  3.             object[] args = new string[0];
  4.             object obj = text.InvokeScript(scriptName, args);
  5.             string script = obj.ToString();
  6.             if (webBrowser1.Text.Contains("loadstring(game:HttpGet(("))
  7.             {
  8.                 int num = script.IndexOf("('") + 2;
  9.                 int length = script.IndexOf("')") - num;
  10.                 WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  11.                 webRequest.Credentials = CredentialCache.DefaultCredentials;
  12.                 HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  13.                 Console.WriteLine(httpWebResponse.StatusDescription);
  14.                 string loadstring = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  15.  
  16.                 Class1.ExecuteLua(loadstring);
  17.             }
  18.             else
  19.             {
  20.                 Class1.ExecuteLua(script);
  21.             }
  22.             if (webBrowser1.Text.Contains("loadstring(game:GetObjects(("))
  23.             {
  24.                
  25.  
  26.                 int num = script.IndexOf("('") + 2;
  27.                 int length = script.IndexOf("')") - num;
  28.                 WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  29.                 webRequest.Credentials = CredentialCache.DefaultCredentials;
  30.                 HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  31.                 Console.WriteLine(httpWebResponse.StatusDescription);
  32.                 string str3 = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  33.  
  34.                 Class1.ExecuteLua(str3);
  35.             }
  36.             if (webBrowser1.Text.Contains("game:GetObjects(("))
  37.             {
  38.                 int num = script.IndexOf("('") + 2;
  39.                 int length = script.IndexOf("')") - num;
  40.                 WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  41.                 webRequest.Credentials = CredentialCache.DefaultCredentials;
  42.                 HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  43.                 Console.WriteLine(httpWebResponse.StatusDescription);
  44.                 string urmomgei = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  45.                 Class1.ExecuteLua(urmomgei);
  46.             }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×