PareX

Monaco Loadstrings

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

×