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

wickedguy

Supreme Member
Joined
Jul 22, 2009
Messages
1,407
Reaction score
1,388
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 ($ch, CURLOPT_URL,'https://en.wordpress.com/signup/');
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt ($ch, CURLOPT_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 ($ch, CURLOPT_REFERER, 'http://wordpress.com/signup/?ref=bigassorangeonleft');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_MAXREDIRS, 3); //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 ($ch, CURLOPT_POST, 1);curl_setopt ($ch, CURLOPT_POSTFIELDS, $poststring);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_MAXREDIRS, 3); //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, $num, 1);
            $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
 
Useful as always.

Thanks wickedguy!

P.S. +rep
 
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 ?
 
whoo great share and pretty easy to customise with keywords !
but i see no proxy, is there a risk the ip getting ban ?
 
whoo great share and pretty easy to customise with keywords !
but i see no proxy, is there a risk the ip getting ban ?

Well, for as long as I've used it, my IP was not banned. :D But of course, there's always a risk.:saeek:
 
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 .
 
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.

 
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 .


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
 
That can be very usefull for people who search to improve their ranking page and having a great backlinks
thank you
 
Back
Top