1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Free PHP script--> Auto Signup at wordpress.com

Discussion in 'Blogging' started by wickedguy, Sep 23, 2011.

  1. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    Ok guys, feeling happy today. :D Here's a free php script which will auto create accounts at wordpress.com for you.

    With this script, you will be able to create 1000's of accounts at wordpress.

    1. You need a text file with a list of names/keywords. Name it 'sites.txt'
    2. You need a catch all email. Read here how to set it up.
    Code:
    http://www.siteground.com/tutorials/email/catch_all_email.htm
    3. You need to change this part in the script.
    Code:
    $user_email=$randomname.'@yoursite.com';
    change only the yoursite . com to YOUR real catch all domain.
    The script will auto create passwords and will display successful results in the following manner.

    the newly created domain||username||password

    What can you do with this?
    You can create domains and sell them :D:D


    PHP:
    <?php 
    set_time_limit
    (0);
    $names=file('sites.txt');
    foreach(
    $names as $randomname){
    signup($randomname);
    sleep(5);
    }


    function 
    signup($randomname){
    $ch curl_init();
    curl_setopt ($chCURLOPT_URL,'https://en.wordpress.com/signup/');
    curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);
    curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    curl_setopt ($chCURLOPT_COOKIEJAR'cookie.txt');
    curl_setopt ($chCURLOPT_RETURNTRANSFER1);
    curl_setopt($chCURLOPT_CONNECTTIMEOUT15);
    curl_setopt($chCURLOPT_TIMEOUT15);
    curl_setopt ($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
    curl_setopt ($chCURLOPT_REFERER'http://wordpress.com/signup/?ref=bigassorangeonleft');
    curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);
    curl_setopt($chCURLOPT_MAXREDIRS3); //follow up to 3 redirections - avoids loops
    $data curl_exec ($ch);
    flush();
    //echo $data;exit;


    $pattern='/<input type=\'hidden\' name=\'signup_form_id\' value=\'(.*?)\'/si';
    preg_match($pattern,$data,$match);
    $signup_form_id=$match[1];

    $pattern='/<input type=\"hidden\" id=\"_signup_form\" name=\"_signup_form\" value=\"(.*?)\"/si';
    preg_match($pattern,$data,$match);
    $_signup_form=$match[1];

    $randomname=trim($randomname);
    $randomname=strtolower($randomname);
    $tld='.wordpress.com';
    $blogname=$randomname;
    $user_name=$randomname;
    $password=makeRandomPassword();

    //change this
    $user_email=$randomname.'@yoursite.com';



    $poststring="thevalueofthedropdown&form_type=blog&stage=&signup_form_id=$signup_form_id&_signup_form=$_signup_form&u=&blogname=$blogname&tld=$tld&user_name=$user_name&pass1=$password&pass2=$password&user_email=$user_email&wpcom_blog_sub=1&language=1&tos=1";
    //echo $poststring;exit;
    curl_setopt ($chCURLOPT_POST1);curl_setopt ($chCURLOPT_POSTFIELDS$poststring);
    curl_setopt ($chCURLOPT_RETURNTRANSFER1);
    curl_setopt($chCURLOPT_CONNECTTIMEOUT15);
    curl_setopt($chCURLOPT_TIMEOUT15);
    curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);
    curl_setopt($chCURLOPT_MAXREDIRS3); //follow up to 3 redirections - avoids loops
    $data curl_exec ($ch);
    flush();
    curl_close($ch);
    if(
    stristr($data,'Activate Your WordPress.com Account')){echo "http://$blogname.wordpress.com||$blogname||$password";}
    }



    function 
    makeRandomPassword() {
      
    $salt "abchefghjkmnpqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
      
    srand((double)microtime()*1000000);
          
    $i 0;
          while (
    $i <= 6) {
                
    $num rand() % 45;
                
    $tmp substr($salt$num1);
                
    $pass $pass $tmp;
                
    $i++;
          }
          return 
    $pass;
    }

    ?>
    Don't wanna hit thanks? Then don't :D:D:D
    Don't wanna give +Rep? Then don't :D:D:D
     
    • Thanks Thanks x 14
  2. remmaps

    remmaps Regular Member

    Joined:
    Apr 13, 2010
    Messages:
    212
    Likes Received:
    123
    Home Page:
    Useful as always.

    Thanks wickedguy!

    P.S. +rep
     
  3. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    Pleasure mate :D
     
  4. HostStage

    HostStage Jr. VIP Jr. VIP Premium Member UnGagged Attendee

    Joined:
    May 20, 2010
    Messages:
    1,770
    Likes Received:
    1,729
    Occupation:
    BHW - CEO of Webhosting Company
    Location:
    BWH from France
    Home Page:
    WOw that's it ?? No more thanks or rep ??

    Well wicked thank you for your time and share !

    thanks + rep given !!

    I'm wondering how simple would it be to change a sites.txt file into an user input and an output ?
     
  5. olimix

    olimix Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    232
    Likes Received:
    71
    Location:
    11h11 brothers
    whoo great share and pretty easy to customise with keywords !
    but i see no proxy, is there a risk the ip getting ban ?
     
  6. wickedguy

    wickedguy Supreme Member

    Joined:
    Jul 22, 2009
    Messages:
    1,402
    Likes Received:
    1,379
    Location:
    BHW--> South Africa
    Home Page:
    Well, for as long as I've used it, my IP was not banned. :D But of course, there's always a risk.:saeek:
     
  7. olimix

    olimix Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    232
    Likes Received:
    71
    Location:
    11h11 brothers
    I'm surprised to see very few answer to this Post , this script is good
    but i think i know why
    The vast majority of people on this forum don't know anything about programming language .
    Thats why so many people are using wordpress for anything , even for an article on the domain:(
    people go learn html and php it's easy and you wil not be lost if there is no plugin for what you want to do lol .
     
  8. scotta

    scotta Registered Member

    Joined:
    Dec 16, 2009
    Messages:
    57
    Likes Received:
    38
    Nice, and if you change http://$blogname.wordpress.com||$blogname||$password
    to http://$blogname.wordpress.com <br> $blogname <br> $password <br><br> it is a little easier to read the output.

     
  9. ronegraT

    ronegraT Power Member

    Joined:
    Dec 29, 2010
    Messages:
    620
    Likes Received:
    101
    Occupation:
    sleeping
    Location:
    Sweden
    How will this file be done, name|keyword or on one row each?
     
  10. seomusic

    seomusic Regular Member

    Joined:
    May 25, 2010
    Messages:
    376
    Likes Received:
    56

    they dont have time to learn for that .. why would we have to spend lots of time learning for php and html when we can have a website just a press of a button.. and others are too busy to earning and doing their internet marketing stuff.. and beside they will just hire a coder.. lol
     
  11. sumitb

    sumitb Newbie

    Joined:
    Mar 11, 2013
    Messages:
    5
    Likes Received:
    0
    how to use ittttt
     
  12. goel.aman125

    goel.aman125 Junior Member

    Joined:
    Jul 12, 2013
    Messages:
    155
    Likes Received:
    114
    Location:
    Internet :p
    does it still work?
     
  13. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    232
    Likes Received:
    98
    Location:
    Here
    Try it.

    The message you have entered is too short.
     
  14. errabbaa

    errabbaa Registered Member

    Joined:
    Jun 11, 2012
    Messages:
    59
    Likes Received:
    9
    That can be very usefull for people who search to improve their ranking page and having a great backlinks
    thank you