コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            PatreonBrowser.browser.Load("https://www.patreon.com/settings/profile");
            Thread.Sleep(1200);
            string html = PatreonBrowser.getSource();

            string[] split = html.Split('\n');
            foreach (string l in split)
            {
                if (l.Contains("stripeSessionEmail"))
                {
                    string[] emailR = l.Split(':');
                    string   email  = emailR[1].Replace(",", string.Empty).Replace("'", string.Empty).Replace(" ", string.Empty);
                    MessageBox.Show(email);
                }
                else
                {
                }
            }
        }
コード例 #2
0
 private void button2_Click_1(object sender, EventArgs e)
 {
     try
     {
         string Foundemail = "";
         PatreonBrowser.browser.Load("https://www.patreon.com/settings/profile");
         Thread.Sleep(800);
         string   html  = PatreonBrowser.getSource();;
         string[] split = html.Split('\n');
         foreach (string l in split)
         {
             if (l.Contains("stripeSessionEmail"))
             {
                 string[] emailR = l.Split(':');
                 string   email  = emailR[1].Replace(",", string.Empty).Replace("'", string.Empty).Replace(" ", string.Empty);
                 string[] es     = email.Split('"');
                 Foundemail = es[1];
             }
             else
             {
             }
         }
         if (!Foundemail.Contains("@"))
         {
         }
         string s = FindEmail(Foundemail);
         if (s == "true")
         {
             l_verified.Text      = "Verified";
             l_verified.ForeColor = System.Drawing.Color.Green;
             User.PremiumMember   = true;
             User.Status          = "Verified";
         }
         else if (s == "false")
         {
             l_verified.Text      = "Not Verified";
             l_verified.ForeColor = System.Drawing.Color.Red;
             User.PremiumMember   = false;
             User.Status          = "Not Verified";
         }
         else if (s == "Unknown Email 456")
         {
             l_verified.Text      = "Unknown Email 456";
             l_verified.ForeColor = System.Drawing.Color.Pink;
             User.Status          = "Not Verified";
             User.PremiumMember   = false;
         }
         else if (s == "Unknown Email 457")
         {
             l_verified.Text      = "Unknown Email 457";
             l_verified.ForeColor = System.Drawing.Color.Pink;
             User.Status          = "Not Verified";
             User.PremiumMember   = false;
         }
         else if (s == "Unknown Error 89")
         {
             l_verified.Text      = "Unknown Error 89";
             l_verified.ForeColor = System.Drawing.Color.Blue;
             User.Status          = "Not Verified";
             User.PremiumMember   = false;
         }
         else if (s == "404")
         {
             l_verified.Text      = "Error 404";
             l_verified.ForeColor = System.Drawing.Color.Blue;
             User.Status          = "Not Verified";
             User.PremiumMember   = false;
         }
         else if (s == "Error 784")
         {
             l_verified.Text      = "Error 784";
             l_verified.ForeColor = System.Drawing.Color.Blue;
             User.Status          = "Not Verified";
             User.PremiumMember   = false;
         }
         else
         {
             User.Status        = "Not Verified";
             User.PremiumMember = false;
         }
         PatreonBrowser.browser.Hide();
         PatreonBrowser.StartBrowser(p_patreon);
     }
     catch
     {
         l_verified.Text      = "Error 932";
         l_verified.ForeColor = System.Drawing.Color.Blue;
     }
 }