Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2017
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Net;
  7. using System.Text;
  8. using System.Threading;
  9. using System.Threading.Tasks;
  10. using crackingLib;
  11. using RestSharp;
  12.  
  13. namespace nulled
  14. {
  15. class Program
  16. {
  17. static int page = 1;
  18. static void makeRequest()
  19. {
  20. var proxy = proxySystem.getProxy();
  21. var cookieJar = cloudFlareSolver.init("https://www.nulled.to/", proxy);
  22. var client = new RestClient("https://www.nulled.to/index.php?app=core&module=global&section=login&do=process");
  23. client.Proxy = new WebProxy(proxy);
  24. client.CookieContainer = cookieJar;
  25.  
  26. var request = new RestRequest(Method.POST);
  27. request.AddParameter("application/x-www-form-urlencoded", "auth_key=AUTHKEYHERE&referer=http%3A%2F%2Fwww.nulled.to%2F&ips_username=USERHERE&ips_password=PASSHERE&rememberMe=1", ParameterType.RequestBody);
  28. var execRequest = client.Execute(request);
  29.  
  30. client.BaseUrl = new Uri("https://www.nulled.to/misc.php?action=addReputation");
  31.  
  32. while (true)
  33. {
  34. var pages = page++;
  35. var request2 = new RestRequest(Method.POST);
  36. request2.AddParameter("application/x-www-form-urlencoded", "rating=positive&target="+ pages+ "&comment=%3Apepo%3A+nice+to+meet+you&csrf=478d4cacb17a6344b6000f104311d5d1", ParameterType.RequestBody);
  37. execRequest = client.Execute(request2);
  38. // Console.WriteLine(execRequest.Content);
  39. if (execRequest.Content.Contains("Your reputation has been updated."))
  40. {
  41. Console.WriteLine("Success UID: " + pages);
  42. }
  43. Thread.Sleep(100);
  44.  
  45. }
  46.  
  47.  
  48.  
  49.  
  50. }
  51.  
  52.  
  53. static void Main(string[] args)
  54. {
  55. proxySystem.Load("./proxies.txt");
  56. Thread[] ts = new Thread[75];
  57.  
  58. for (int i = 0; i < ts.Length; i++)
  59. {
  60. ts[i] = new Thread(() => {
  61. makeRequest();
  62. });
  63. ts[i].Start();
  64. }
  65.  
  66.  
  67.  
  68. Console.ReadKey();
  69. }
  70. }
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement