Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by 4r1p ( 6 years ago )
<?php
function number($length) {
$characters = '0123456789';
$charactersLength = strlen($characters);
$randomString = '';
for ($i = 0; $i < $length; $i++) {
$randomString .= $characters[rand(0, $charactersLength - 1)];
}
return $randomString;
}
function nama(){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://ninjaname.horseridersupply.com/indonesian_name.php");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$ex = curl_exec($ch);
preg_match_all('~(• (.*?)<br/>• )~', $ex, $name);
return $name[2][mt_rand(0, 14) ];
}
echo "Berapa Email :";
$count = trim(fgets(STDIN));
$id = 1;
for($i=0; $i < $count; $i++){
$domain = "@gmail.com";
$nama = explode(" ", nama());
$nama1 = $nama[0];
$nama2 = $nama[1];
$email = strtolower($nama1.$nama2.number(3)."$domain");
echo $email;
echo "\n";
$o = fopen("randomgmail.txt", 'a');
fwrite($o, $email."\n");
fclose($o);
}
?>
Revise this Paste