Results 1 to 6 of 6

Thread: [Code] Catchall Tutorial

  1. #1
    Administrator Gameloader's Avatar
    Join Date
    May 2011
    Location
    Bottingforce.com DUH!
    Posts
    1,155
    Bots Posted
    97
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    [Code] Catchall Tutorial

    Here a little tutorial to explain how to generate random email addys for catchalls for webbrowser bots

    In your code find

    Code:
        public partial class Form1 : Form
        {
    under it add (in between the "" add your words separated by a comma for example "word1,word2,word3,word3"

    Code:
            string words = "";
    find the following

    Code:
            public Form1()
            {
                InitializeComponent();
    }
    under it add

    Code:
            private int RandomNumber(int min, int max)
            {
                Random random = new Random();
                return random.Next(min, max);
            }
            static string RandomNumber()
            {
                Random RandomClass = new Random();
                int RandomNumber = 0;
    
                RandomNumber = RandomClass.Next(1, 13);
                return RandomNumber.ToString();
            }
            static class RandomLetterNum
            {
                static Random _random = new Random();
                public static char GetLetter()
                {
                    // This method returns a random lowercase letter.
                    // ... Between 'a' and 'z' inclusize.
                    int number = _random.Next(1, 9); // Zero to 25
                    char num = (char)('1' + number);
                    return num;
                }
            }
    now for the page that has the form you wanna fill out put this

    Code:
                            string[] words1 = words.Split(',');
                            string catchall = words1[RandomNumber(1, 20000)] + words1[RandomNumber(1, 14523)] + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter();
                            label21.Text = catchall + email.Text;
    the 20000 and the 14523 depend how how many words your word list is. if your word list is 50000 words you could use for the first one 50000 then for the second one something like 25555. the reason you dont want to use 50000 twice is because it will use the same word twice since the "random" inst completely random. so for example you your code should look something like this

    Code:
            private void browser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
            {
                    if (browser.DocumentText.Contains("Complete The Follow For Entry"))
                    {
                            string[] words1 = words.Split(',');
                            string catchall = words1[RandomNumber(1, 20000)] + words1[RandomNumber(1, 14523)] + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter();
                            browser.Document.GetElementById("Firstname").SetAttribute("value", first.Text);
                            browser.Document.GetElementById("Lastname").SetAttribute("value", last.Text);
                            browser.Document.GetElementById("Email").SetAttribute("value", catchall + email.Text);
                    }
               }
    that pretty much sums it up. if you want to display what email is being used you can do something like this instead

    Code:
            private void browser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
            {
                    if (browser.DocumentText.Contains("Complete The Follow For Entry"))
                    {
                            string[] words1 = words.Split(',');
                            string catchall = words1[RandomNumber(1, 20000)]  + words1[RandomNumber(1, 14523)] + RandomLetterNum.GetLetter() +  RandomLetterNum.GetLetter() + RandomLetterNum.GetLetter() +  RandomLetterNum.GetLetter();                      
                            label1.Text = catchall + email.Text
                            browser.Document.GetElementById("Firstname").SetAttribute("value", first.Text);
                            browser.Document.GetElementById("Lastname").SetAttribute("value", last.Text);
                            browser.Document.GetElementById("Email").SetAttribute("value", label1.Text);
                    }
               }
    this methd will create an email that looks like this: wordword1234@catchall.com

  2. Than/ks Weed«, Restricted1, »BlindJimmy« thanked for this post
  3. #2
    Member Restricted1's Avatar
    Join Date
    Jun 2011
    Posts
    66
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks this looks nice

  4. #3
    Senior Member
    Join Date
    Sep 2011
    Posts
    176
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, this is a great way to create believable emails that won't get your catchall banned

  5. #4
    Senior Member
    Join Date
    Aug 2011
    Posts
    161
    Bots Posted
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shouldn't the random not have duplicates like that if you make the random object static outside the function so it's only created once?

  6. #5
    l33tp4n3g3
    Guest
    You could just increment a number and add generated usernames at the beginning. Assign number 0 to any variable. Set the variable to 0. Increment at the end of a loop and you have incrementing catchalls.

  7. #6
    Member dracq's Avatar
    Join Date
    Jan 2012
    Posts
    69
    Bots Posted
    0
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not sure where i should post this but the bastards at godaddy will screw you hard if you do not renew in time i was burned hard an they never contacted me till wa to late so make sure you are renewing when you should otherwise the godaddy catchall a must have .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •