Advertisement
ZELOYT

Updated For Every Button code for your monoco exploit

Jan 9th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. Execute Button:
  2. HtmlDocument text = webBrowser1.Document;
  3. string scriptName = "GetText";
  4. object[] args = new string[0];
  5. object obj = text.InvokeScript(scriptName, args);
  6. string script = obj.ToString();
  7. if (webBrowser1.Text.Contains("loadstring(game:HttpGet(("))
  8. {
  9. int num = script.IndexOf("('") + 2;
  10. int length = script.IndexOf("')") - num;
  11. WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  12. webRequest.Credentials = CredentialCache.DefaultCredentials;
  13. HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  14. Console.WriteLine(httpWebResponse.StatusDescription);
  15. string loadstring = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  16.  
  17. api.SendLuaScript(loadstring);
  18. }
  19. else
  20. {
  21. api.SendLuaScript(script);
  22. }
  23. if (webBrowser1.Text.Contains("loadstring(game:GetObjects(("))
  24. {
  25.  
  26.  
  27. int num = script.IndexOf("('") + 2;
  28. int length = script.IndexOf("')") - num;
  29. WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  30. webRequest.Credentials = CredentialCache.DefaultCredentials;
  31. HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  32. Console.WriteLine(httpWebResponse.StatusDescription);
  33. string str3 = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  34.  
  35. api.SendLuaScript(str3);
  36. }
  37. if (webBrowser1.Text.Contains("game:GetObjects(("))
  38. {
  39. int num = script.IndexOf("('") + 2;
  40. int length = script.IndexOf("')") - num;
  41. WebRequest webRequest = WebRequest.Create(script.Substring(num, length));
  42. webRequest.Credentials = CredentialCache.DefaultCredentials;
  43. HttpWebResponse httpWebResponse = (HttpWebResponse)webRequest.GetResponse();
  44. Console.WriteLine(httpWebResponse.StatusDescription);
  45. string urmomgei = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  46. api.SendLuaScript(urmomgei);
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. Attach button:
  60. api.LaunchExploit();
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. Load Button:
  68.  
  69. if (Functions.openfiledialog.ShowDialog() == DialogResult.OK)
  70. {
  71. try
  72. {
  73.  
  74. string MainText = File.ReadAllText(Functions.openfiledialog.FileName);
  75. webBrowser1.Document.InvokeScript("SetText", new object[]
  76. {
  77. MainText
  78. });
  79.  
  80. }
  81. catch (Exception ex)
  82. {
  83. MessageBox.Show("Error: Could not read file from disk. Original error: " + ex.Message);
  84.  
  85.  
  86.  
  87.  
  88.  
  89. clear button:
  90. webBrowser1.Document.InvokeScript("SetText", new object[]
  91. {
  92. ""
  93. });
  94.  
  95.  
  96.  
  97.  
  98. Script Hub Button:
  99.  
  100.  
  101.  
  102.  
  103. Main main = new Main();
  104. main.Show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement