Пара скриптов с закрытого форума.
расположение /Submit/register_t
FM.php
Сабмит в 7 онлайновых менеджеров закладок:
+++++++++++++++++++++++++++++++++++++++
<?php
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
// this script submit url to russian socila bookmarks (online favorites manegers)
// http://www.100zakladok.ru
// http://bobrdobr.ru/
// http://memori.ru
// http://moemesto.ru/
// http://myscoop.ru
// http://mister-wong.ru
// http://zakladki.yandex.ru/
// for request more please write to humanemulator@gmail.com
// ======================= COMMON INFO =================
// submitted url title (several title is good)
$title0 = "Title1";
$title1 = "Title2";
$title2 = "Title3";
$title3 = "Title4";
$title4 = "Title5";
// submitted url
$url = "http://mysite.com/page1.html";
// submitted url describtion (several describtion is good)
$description0="Decribtion1";
$description1="Decribtion2";
$description2="Decribtion3";
$description3="Decribtion4";
$description4="Decribtion5";
// tags (common)
$tags ="tags1, tags2, tags3, tags4, tags5";
// login information
$login_kwd="xhe"; // common
$login_kwd1="xhe1"; // for memorri.ru and zakladki.yandex.ru
$psw_kwd="simbernar"; // common password
// ======================================================
// ======================= http://www.100zakladok.ru===========
/*// navigate to main page
$browser->navigate("http://www.100zakladok.ru");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("Tїюф","true");
$browser->wait(1);
$input->set_value_by_name("ln",$login_kwd);
$input->set_value_by_name("lp",$psw_kwd);
$button->click_by_number(0);
$browser->wait(1);
// submit datas
$button->click_by_name("add");
$browser->wait(0.5);
$input->set_value_by_name("title_1",$title0);
$input->set_value_by_name("bm_url_1",$url);
$input->set_value_by_name("tags_1",$tags);
$textarea->set_value_by_name("descr_1",$description0);
$button->click_by_name("add_proc");
$browser->wait(1);
// ======================================================
// ====================== http://bobrdobr.ru/ ==================
// navigate to main page
$browser->navigate("http://bobrdobr.ru/");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("TющЄш","true");
$browser->wait(1);
$input->set_value_by_number(4,$login_kwd);
$input->set_value_by_name("password",$psw_kwd);
$button->click_by_number(4);
$browser->wait(1);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("url",$url);
$input->set_value_by_name("name",$title1);
$textarea->set_value_by_name("tags",$tags);
$textarea->set_value_by_name("description",$description1);
$button->click_by_name("add_bookmark_submit");
$browser->wait(1);
// ======================================================
// ======================== http://memori.ru ==================
// navigate to main page
$browser->navigate("http://memori.ru");
$browser->wait(2);
// loggining
$anchor->click_by_inner_text("TющЄш","true");
$browser->wait(2);
$input->set_value_by_name("login",$login_kwd1);
$input->set_value_by_name("passw",$psw_kwd);
$button->click_by_number(1);
$browser->wait(2);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("u_data",$url); $input->set_value_by_name(... [url=http://moemesto.ru/]http://moemesto.ru/ ==================
// navigate to main page
$browser->navigate("http://moemesto.ru/");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("тющЄш","true");
$browser->wait(1);
$input->set_value_by_name("login",$login_kwd);
$input->set_value_by_name("password",$psw_kwd);
$button->click_by_name("do_auth");
$browser->wait(1);
// submit datas
$anchor->click_by_inner_text("чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("url",$url);
$input->set_value_by_name("title",$title4);
$textarea->set_value_by_name("desc",$description4);
$input->set_value_by_name("tags",$tags);
// check state
$checked = $checkbox->is_checked_by_name("save");
if ($checked=="true")
$checkbox->set_checked_by_name("save","false");
else
$checkbox->set_checked_by_name("save","true");
$button->click_by_name("do_post");
$browser->wait(1);
// ======================================================
// ===================== http://myscoop.ru ===================
// navigate to main page
$browser->navigate("http://myscoop.ru");
$browser->wait(1);
// // loggining
$input->set_value_by_name("text2",$login_kwd);
$input->set_value_by_name("text22",$psw_kwd);
$button->click_by_number(1);
$browser->wait(2);
sleep(2);
// submit datas
$image->click_by_name("image2");
$browser->wait(1);
$input->set_value_by_number(0,$title0);
$input->set_value_by_number(1,$url);
$textarea->set_value_by_number(0,$description1);
$input->set_value_by_number(2,$tags);
$button->click_by_name("submit2");
$browser->wait(1);
// ======================================================
// ===================== http://mister-wong.ru =================
// navigate to main page
$browser->navigate("http://www.mister-wong.ru/index.php?action=login");
$browser->wait(1);
// loggining
$input->set_value_by_name("user_name",$login_kwd);
$input->set_value_by_name("user_password",$psw_kwd);
$button->click_by_name("login");
$browser->wait(2);
sleep(2);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№",true);
$browser->wait(2);
$input->set_value_by_number(1,$url);
$input->set_value_by_number(2,$title0);
$textarea->set_value_by_number(0,$description2);
$input->set_value_by_number(3,$tags);
$button->click_by_number(1);
$browser->wait(1);*/
// ======================================================
// ===================== http://zakladki.yandex.ru ==============
// navigate to main page
$browser->navigate("http://zakladki.yandex.ru/");
sleep(1);
$browser->wait();
// loggining
$input->set_value_by_number(0,$login_kwd1);
$input->set_value_by_number(1,$psw_kwd);
$button->click_by_number(0);
sleep(1);
$browser->wait();
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє",false);
sleep(1);
$browser->wait();
$input->set_value_by_number(1,$title0);
$input->set_value_by_number(2,$url);
$textarea->set_value_by_number(0,$description3);
$input->set_value_by_number(3,$tags);
$button->click_by_number(1);
sleep(1);
$browser->wait();
// ======================================================
// Quit
$app->quit();
?>
расположение: /Submit/register to SE.php
Скрипт сабмита в 5 поисковиков
( Rambler Yandex Google MSN Yahoo)
Все просто ))
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?php
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
// This scrip register your site in 5 Search Engines
// Rambler
// Yandex
// Google
// MSN
// Yahoo
// for request more SE please write to humanemulator@gmail.com
// ======================= COMMON INFO =================
$title="MySite";
$url="http://MySite.com";
$comments="My Site\nDescribtion";
$contact_face="I";
$contact_mail="my@rambler.ru";
// ======================================================
// ======================= RAMBLER ======================
// goto to add page
$browser->navigate("http://www.rambler.ru/doc/add_site.shtml");
$browser->wait(1);
$button->click_by_inner_text("Начать регистрацию");
$browser->wait(1);
// add reg info
$input->set_value_by_name("title",$title);
$input->set_value_by_name("url",$url);
$textarea->set_value_by_name("comments",$comments);
$input->set_value_by_name("contact",$contact_face);
$input->set_value_by_name("email",$contact_mail);
$button->click_by_inner_text("Зарегистрировать");
$browser->wait(1);
// ======================================================
// ======================= YANDEX ======================
// goto to add page
$browser->navigate("http://webmaster.yandex.ru/");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("rep",$captcha);
$button->click_by_inner_text("Добавить");
$browser->wait(1);
// ======================================================
// ======================= GOOGLE ======================
// goto to add page
$browser->navigate("http://www.google.com/addurl/?continue=/addurl");
$browser->wait(1);
// add reg info
$input->set_value_by_number(1,$url);
$input->set_value_by_number(2,$title);
$captcha=$app->dlg_captcha_from_image_number(7);
$input->set_value_by_name("captcha",$captcha);
$button->click_by_number(1);
$browser->wait(1);
// ======================================================
// ======================= MSN ======================
// goto to add page
$browser->navigate("http://beta.search.msn.com/docs/submit.aspx");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("h",$captcha);
$button->click_by_name("submit_url");
$browser->wait(1);
// ======================================================
// ======================= YAHOO ======================
// goto to add page
$browser->navigate("https://siteexplorer.search.yahoo.com/submit");
$browser->wait(1);
// add reg info
$input->set_value_by_name("txtUrl",$url);
$button->click_by_name("btnSubmitUrl");
$browser->wait(1);
// ======================================================
// Quit
$app->quit();
?>
Автоматическая регистрация yahoo & geocities
<?php
#######################################
# @copyright © 2009 cathderay
#
# cathderay@gmail.com
#
#######################################
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
echo "çàïóñòèëèñü".date( 'H:i l d F', time())."
";
$browser->navigate("http://www.fakenamegenerator.com/mobile/gen-male-us-us.php");
$browser->wait(1);
// ïîëó÷àåì òåêñò
$fake_names= $webpage->get_body();
$fake_names = strip_tags($fake_names, '<h1><a>
<h2><h3>');
//write4Log_string("fake_names.html", $fake_names);
$browser->wait(240,1);
preg_match('%<H1>Your Identity</H1>(.*)
(.*)
(.*)
%siU', $fake_names, $fake_matches);
print_r($fake_matches);
/*
[1] => Lawrence C. Messina [2] => 3728 Whitetail Lane [3] => Dallas, TX 75201 )
*/
//write4Log_string("fake_matches.html", implode( ' ', $fake_matches));
$gen_firstname = substr(trim($fake_matches[1]), 0, strpos(trim($fake_matches[1]), " "));
$gen_lastname = substr(trim($fake_matches[1]), strrpos(trim($fake_matches[1]), " ")+1, strlen(trim
($fake_matches[1])));
$rand_1 = rand(0,1);
$rand_2 = rand(0,1);
$rand_3 = rand(0,1);
$gen_login = ($rand_1 ? strtolower($gen_firstname) : strrev($gen_lastname)) . ($rand_2 ? rand(1961, 1992) : "")
. ($rand_1 ? strtolower($gen_lastname) : strrev($gen_firstname)) . (!$rand_2 ? rand(1953, 1992) : "").(!$rand_3 ?
substr(strtolower($gen_firstname), 2) : "");
$gen_password = genPassword().rand(0,9);
$browser->clear_cash();
$browser->clear_history();
$browser->clear_address_bar_history();
$browser->clear_cookies("");
$browser->enable_quiet_regime("false");
$browser->enable_java_script("false");
$needproxy=false;
// proxy & user agent
if ($needproxy)
{
$browser->set_default_authorization("login","pass");
$browser->enable_proxy("all connections","124.161.132.14:80");
}
$browser->navigate("https://edit.yahoo.com/registration?.intl=us&new=1&.done=http%
3A//mail.yahoo.com&.src=ym&.v=0&.u=5mr0brp4ttvhh&partner=&.partner=&pkg=&stepid=&.p=&promo=&.last=");
$browser->wait_for(240,1);
$input->set_value_by_name('firstname',$gen_firstname);
$input->set_value_by_name('secondname',$gen_lastname);
$listbox->select_name_by_inner_name('mm','1');
$listbox->select_name_by_inner_name('country','us');
$input->set_value_by_name('dd','12');
$input->set_value_by_name('yyyy','1980');
$listbox->select_name_by_inner_name('gender','m');
$input->set_value_by_name('postalcode','06484');
$input->set_value_by_name('yahooid',$gen_login);
print_r("
");
print_r('yahooid: '.$gen_login."
");
$input->set_value_by_name('password',$gen_password);
$input->set_value_by_name('passwordconfirm',$gen_password);
print_r('password: '.$gen_password."
");
$listbox->select_name_by_inner_name('secquestion','What is the last name of your favorite musician?');
$input->set_value_by_name('secquestionanswer','secquestionanswer');
//$captcha = $app->dlg_captcha_from_image_number(6);
$captcha = $app->dlg_captcha_from_url_exactly("ab.login.yahoo.com","false");
print_r($captcha);
$browser->wait_for(240,1);
$input->set_value_by_name('cword',$captcha);
$browser->get_cookie();
$checkbox->click_by_name("tos_agreed");
$browser->wait_for(240,1);
//$mouse->click('269','506');
//$button->click_by_number(0);
// $webpage->click_on_element_by_inner_text("Create My Account");
$button->click_by_inner_text("Create My Account");
$browser->wait(1);
WaitSome();
$data=$webpage->get_source();
//$data = $webpage->get_body();
if(strpos($data, "Congratulations")) {
$geocities = signup_geocities($gen_login, $gen_password);
if($geocities) {
write4Log_string("acc.yahoo.com.txt",
"\"".$gen_login."@yahoo.com\",\"".$gen_password."\",\"".$geocities."\"\n", "a");
}else {
write4Log_string("acc.yahoo.com.txt", "\"".$gen_login."@yahoo.com\",\"".$gen_password."\"\n", "a");
}
}else {
echo "Îáëîì!";
}
$browser->disable_proxy("all connections");
// Quit
$app->quit();
// ------------------------------------------------------func
function signup_geocities($gen_login, $gen_password) {
global $browser, $mouse, $input, $button, $app, $webpage, $radiobox, $checkbox;
$browser->clear_cash();
$browser->clear_history();
$browser->clear_address_bar_history();
$browser->clear_cookies("");
$browser->enable_quiet_regime("false");
$browser->enable_java_script("false");
$browser->navigate('http://geocities.yahoo.com/');
$browser->wait_for(240,1);
$browser->wait(1);
$input->set_value_by_name('login',$gen_login.'@yahoo.com');
$input->set_value_by_name('passwd',$gen_password);
$button->click_by_inner_text("Sign In");
//$browser->wait_for(240,1);
$browser->wait(3);
$browser->navigate('http://geocities.yahoo.com/reg');
$browser->wait(3);
$radiobox->click_by_name("q1");
$radiobox->click_by_number("0");
$checkbox->click_by_name("q2");
$checkbox->click_by_number("1");
$captcha = $app->dlg_captcha_from_url_exactly("ab.login.yahoo.com","false");
print_r($captcha);
$browser->wait_for(240,1);
$browser->wait(3);
$input->set_value_by_name('_secword',$captcha);
$button->click_by_inner_text("Submit");
$browser->wait_for(240,1);
$data = $webpage->get_body();
if(strpos($data, "Welcome to Yahoo! GeoCities")) {
return "http://www.geocities.com/".$gen_login;
}else {
echo "Îáëîì ñ geocities.yahoo.com!";
return false;
}
}
function WaitSome()
{
global $sleepsecond;
usleep(mt_rand($sleepsecond/4,$sleepsecond/2));
}
function write4Log_string($filename, $record, $type = "w"){
$logFile = fopen($filename,$type);
fwrite($logFile,$record);
fclose($logFile);
}
function genPassword() {
$chars = array
("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","1","2","3"
,"4","5","6","7","8","9","0");
$max_elements = count($chars) - 1;
$l = rand(8,13);
for ($i = 0; $i < $l; $i++) {
srand((double)microtime()*1000000);
$newpw .= $chars[rand(0,$max_elements)];
}
return $newpw;
}
?>
расположение /Submit/register_t
Сабмит в 7 онлайновых менеджеров закладок:
+++++++++++++++++++++++++++++++++++++++
<?php
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
// this script submit url to russian socila bookmarks (online favorites manegers)
// http://www.100zakladok.ru
// http://bobrdobr.ru/
// http://memori.ru
// http://moemesto.ru/
// http://myscoop.ru
// http://mister-wong.ru
// http://zakladki.yandex.ru/
// for request more please write to humanemulator@gmail.com
// ======================= COMMON INFO =================
// submitted url title (several title is good)
$title0 = "Title1";
$title1 = "Title2";
$title2 = "Title3";
$title3 = "Title4";
$title4 = "Title5";
// submitted url
$url = "http://mysite.com/page1.html";
// submitted url describtion (several describtion is good)
$description0="Decribtion1";
$description1="Decribtion2";
$description2="Decribtion3";
$description3="Decribtion4";
$description4="Decribtion5";
// tags (common)
$tags ="tags1, tags2, tags3, tags4, tags5";
// login information
$login_kwd="xhe"; // common
$login_kwd1="xhe1"; // for memorri.ru and zakladki.yandex.ru
$psw_kwd="simbernar"; // common password
// ======================================================
// ======================= http://www.100zakladok.ru===========
/*// navigate to main page
$browser->navigate("http://www.100zakladok.ru");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("Tїюф","true");
$browser->wait(1);
$input->set_value_by_name("ln",$login_kwd);
$input->set_value_by_name("lp",$psw_kwd);
$button->click_by_number(0);
$browser->wait(1);
// submit datas
$button->click_by_name("add");
$browser->wait(0.5);
$input->set_value_by_name("title_1",$title0);
$input->set_value_by_name("bm_url_1",$url);
$input->set_value_by_name("tags_1",$tags);
$textarea->set_value_by_name("descr_1",$description0);
$button->click_by_name("add_proc");
$browser->wait(1);
// ======================================================
// ====================== http://bobrdobr.ru/ ==================
// navigate to main page
$browser->navigate("http://bobrdobr.ru/");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("TющЄш","true");
$browser->wait(1);
$input->set_value_by_number(4,$login_kwd);
$input->set_value_by_name("password",$psw_kwd);
$button->click_by_number(4);
$browser->wait(1);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("url",$url);
$input->set_value_by_name("name",$title1);
$textarea->set_value_by_name("tags",$tags);
$textarea->set_value_by_name("description",$description1);
$button->click_by_name("add_bookmark_submit");
$browser->wait(1);
// ======================================================
// ======================== http://memori.ru ==================
// navigate to main page
$browser->navigate("http://memori.ru");
$browser->wait(2);
// loggining
$anchor->click_by_inner_text("TющЄш","true");
$browser->wait(2);
$input->set_value_by_name("login",$login_kwd1);
$input->set_value_by_name("passw",$psw_kwd);
$button->click_by_number(1);
$browser->wait(2);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("u_data",$url); $input->set_value_by_name(... [url=http://moemesto.ru/]http://moemesto.ru/ ==================
// navigate to main page
$browser->navigate("http://moemesto.ru/");
$browser->wait(1);
// loggining
$anchor->click_by_inner_text("тющЄш","true");
$browser->wait(1);
$input->set_value_by_name("login",$login_kwd);
$input->set_value_by_name("password",$psw_kwd);
$button->click_by_name("do_auth");
$browser->wait(1);
// submit datas
$anchor->click_by_inner_text("чръырфъє","true");
$browser->wait(1);
$input->set_value_by_name("url",$url);
$input->set_value_by_name("title",$title4);
$textarea->set_value_by_name("desc",$description4);
$input->set_value_by_name("tags",$tags);
// check state
$checked = $checkbox->is_checked_by_name("save");
if ($checked=="true")
$checkbox->set_checked_by_name("save","false");
else
$checkbox->set_checked_by_name("save","true");
$button->click_by_name("do_post");
$browser->wait(1);
// ======================================================
// ===================== http://myscoop.ru ===================
// navigate to main page
$browser->navigate("http://myscoop.ru");
$browser->wait(1);
// // loggining
$input->set_value_by_name("text2",$login_kwd);
$input->set_value_by_name("text22",$psw_kwd);
$button->click_by_number(1);
$browser->wait(2);
sleep(2);
// submit datas
$image->click_by_name("image2");
$browser->wait(1);
$input->set_value_by_number(0,$title0);
$input->set_value_by_number(1,$url);
$textarea->set_value_by_number(0,$description1);
$input->set_value_by_number(2,$tags);
$button->click_by_name("submit2");
$browser->wait(1);
// ======================================================
// ===================== http://mister-wong.ru =================
// navigate to main page
$browser->navigate("http://www.mister-wong.ru/index.php?action=login");
$browser->wait(1);
// loggining
$input->set_value_by_name("user_name",$login_kwd);
$input->set_value_by_name("user_password",$psw_kwd);
$button->click_by_name("login");
$browser->wait(2);
sleep(2);
// submit datas
$anchor->click_by_inner_text("-юсртшЄ№",true);
$browser->wait(2);
$input->set_value_by_number(1,$url);
$input->set_value_by_number(2,$title0);
$textarea->set_value_by_number(0,$description2);
$input->set_value_by_number(3,$tags);
$button->click_by_number(1);
$browser->wait(1);*/
// ======================================================
// ===================== http://zakladki.yandex.ru ==============
// navigate to main page
$browser->navigate("http://zakladki.yandex.ru/");
sleep(1);
$browser->wait();
// loggining
$input->set_value_by_number(0,$login_kwd1);
$input->set_value_by_number(1,$psw_kwd);
$button->click_by_number(0);
sleep(1);
$browser->wait();
$anchor->click_by_inner_text("-юсртшЄ№ чръырфъє",false);
sleep(1);
$browser->wait();
$input->set_value_by_number(1,$title0);
$input->set_value_by_number(2,$url);
$textarea->set_value_by_number(0,$description3);
$input->set_value_by_number(3,$tags);
$button->click_by_number(1);
sleep(1);
$browser->wait();
// ======================================================
// Quit
$app->quit();
?>
расположение: /Submit/register to SE.php
Скрипт сабмита в 5 поисковиков
( Rambler Yandex Google MSN Yahoo)
Все просто ))
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?php
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
// This scrip register your site in 5 Search Engines
// Rambler
// Yandex
// MSN
// Yahoo
// for request more SE please write to humanemulator@gmail.com
// ======================= COMMON INFO =================
$title="MySite";
$url="http://MySite.com";
$comments="My Site\nDescribtion";
$contact_face="I";
$contact_mail="my@rambler.ru";
// ======================================================
// ======================= RAMBLER ======================
// goto to add page
$browser->navigate("http://www.rambler.ru/doc/add_site.shtml");
$browser->wait(1);
$button->click_by_inner_text("Начать регистрацию");
$browser->wait(1);
// add reg info
$input->set_value_by_name("title",$title);
$input->set_value_by_name("url",$url);
$textarea->set_value_by_name("comments",$comments);
$input->set_value_by_name("contact",$contact_face);
$input->set_value_by_name("email",$contact_mail);
$button->click_by_inner_text("Зарегистрировать");
$browser->wait(1);
// ======================================================
// ======================= YANDEX ======================
// goto to add page
$browser->navigate("http://webmaster.yandex.ru/");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("rep",$captcha);
$button->click_by_inner_text("Добавить");
$browser->wait(1);
// ======================================================
// ======================= GOOGLE ======================
// goto to add page
$browser->navigate("http://www.google.com/addurl/?continue=/addurl");
$browser->wait(1);
// add reg info
$input->set_value_by_number(1,$url);
$input->set_value_by_number(2,$title);
$captcha=$app->dlg_captcha_from_image_number(7);
$input->set_value_by_name("captcha",$captcha);
$button->click_by_number(1);
$browser->wait(1);
// ======================================================
// ======================= MSN ======================
// goto to add page
$browser->navigate("http://beta.search.msn.com/docs/submit.aspx");
$browser->wait(1);
// add reg info
$input->set_value_by_name("url",$url);
$captcha=$app->dlg_captcha_from_image_number(0);
$input->set_value_by_name("h",$captcha);
$button->click_by_name("submit_url");
$browser->wait(1);
// ======================================================
// ======================= YAHOO ======================
// goto to add page
$browser->navigate("https://siteexplorer.search.yahoo.com/submit");
$browser->wait(1);
// add reg info
$input->set_value_by_name("txtUrl",$url);
$button->click_by_name("btnSubmitUrl");
$browser->wait(1);
// ======================================================
// Quit
$app->quit();
?>
Автоматическая регистрация yahoo & geocities
<?php
#######################################
# @copyright © 2009 cathderay
#
# cathderay@gmail.com
#
#######################################
// The following code is required to properly run Xedant.com Human Emulator
require("../../Templates/xedant_human_emulator.php");
echo "çàïóñòèëèñü".date( 'H:i l d F', time())."
";
$browser->navigate("http://www.fakenamegenerator.com/mobile/gen-male-us-us.php");
$browser->wait(1);
// ïîëó÷àåì òåêñò
$fake_names= $webpage->get_body();
$fake_names = strip_tags($fake_names, '<h1><a>
<h2><h3>');
//write4Log_string("fake_names.html", $fake_names);
$browser->wait(240,1);
preg_match('%<H1>Your Identity</H1>(.*)
(.*)
(.*)
%siU', $fake_names, $fake_matches);
print_r($fake_matches);
/*
[1] => Lawrence C. Messina [2] => 3728 Whitetail Lane [3] => Dallas, TX 75201 )
*/
//write4Log_string("fake_matches.html", implode( ' ', $fake_matches));
$gen_firstname = substr(trim($fake_matches[1]), 0, strpos(trim($fake_matches[1]), " "));
$gen_lastname = substr(trim($fake_matches[1]), strrpos(trim($fake_matches[1]), " ")+1, strlen(trim
($fake_matches[1])));
$rand_1 = rand(0,1);
$rand_2 = rand(0,1);
$rand_3 = rand(0,1);
$gen_login = ($rand_1 ? strtolower($gen_firstname) : strrev($gen_lastname)) . ($rand_2 ? rand(1961, 1992) : "")
. ($rand_1 ? strtolower($gen_lastname) : strrev($gen_firstname)) . (!$rand_2 ? rand(1953, 1992) : "").(!$rand_3 ?
substr(strtolower($gen_firstname), 2) : "");
$gen_password = genPassword().rand(0,9);
$browser->clear_cash();
$browser->clear_history();
$browser->clear_address_bar_history();
$browser->clear_cookies("");
$browser->enable_quiet_regime("false");
$browser->enable_java_script("false");
$needproxy=false;
// proxy & user agent
if ($needproxy)
{
$browser->set_default_authorization("login","pass");
$browser->enable_proxy("all connections","124.161.132.14:80");
}
$browser->navigate("https://edit.yahoo.com/registration?.intl=us&new=1&.done=http%
3A//mail.yahoo.com&.src=ym&.v=0&.u=5mr0brp4ttvhh&partner=&.partner=&pkg=&stepid=&.p=&promo=&.last=");
$browser->wait_for(240,1);
$input->set_value_by_name('firstname',$gen_firstname);
$input->set_value_by_name('secondname',$gen_lastname);
$listbox->select_name_by_inner_name('mm','1');
$listbox->select_name_by_inner_name('country','us');
$input->set_value_by_name('dd','12');
$input->set_value_by_name('yyyy','1980');
$listbox->select_name_by_inner_name('gender','m');
$input->set_value_by_name('postalcode','06484');
$input->set_value_by_name('yahooid',$gen_login);
print_r("
");
print_r('yahooid: '.$gen_login."
");
$input->set_value_by_name('password',$gen_password);
$input->set_value_by_name('passwordconfirm',$gen_password);
print_r('password: '.$gen_password."
");
$listbox->select_name_by_inner_name('secquestion','What is the last name of your favorite musician?');
$input->set_value_by_name('secquestionanswer','secquestionanswer');
//$captcha = $app->dlg_captcha_from_image_number(6);
$captcha = $app->dlg_captcha_from_url_exactly("ab.login.yahoo.com","false");
print_r($captcha);
$browser->wait_for(240,1);
$input->set_value_by_name('cword',$captcha);
$browser->get_cookie();
$checkbox->click_by_name("tos_agreed");
$browser->wait_for(240,1);
//$mouse->click('269','506');
//$button->click_by_number(0);
// $webpage->click_on_element_by_inner_text("Create My Account");
$button->click_by_inner_text("Create My Account");
$browser->wait(1);
WaitSome();
$data=$webpage->get_source();
//$data = $webpage->get_body();
if(strpos($data, "Congratulations")) {
$geocities = signup_geocities($gen_login, $gen_password);
if($geocities) {
write4Log_string("acc.yahoo.com.txt",
"\"".$gen_login."@yahoo.com\",\"".$gen_password."\",\"".$geocities."\"\n", "a");
}else {
write4Log_string("acc.yahoo.com.txt", "\"".$gen_login."@yahoo.com\",\"".$gen_password."\"\n", "a");
}
}else {
echo "Îáëîì!";
}
$browser->disable_proxy("all connections");
// Quit
$app->quit();
// ------------------------------------------------------func
function signup_geocities($gen_login, $gen_password) {
global $browser, $mouse, $input, $button, $app, $webpage, $radiobox, $checkbox;
$browser->clear_cash();
$browser->clear_history();
$browser->clear_address_bar_history();
$browser->clear_cookies("");
$browser->enable_quiet_regime("false");
$browser->enable_java_script("false");
$browser->navigate('http://geocities.yahoo.com/');
$browser->wait_for(240,1);
$browser->wait(1);
$input->set_value_by_name('login',$gen_login.'@yahoo.com');
$input->set_value_by_name('passwd',$gen_password);
$button->click_by_inner_text("Sign In");
//$browser->wait_for(240,1);
$browser->wait(3);
$browser->navigate('http://geocities.yahoo.com/reg');
$browser->wait(3);
$radiobox->click_by_name("q1");
$radiobox->click_by_number("0");
$checkbox->click_by_name("q2");
$checkbox->click_by_number("1");
$captcha = $app->dlg_captcha_from_url_exactly("ab.login.yahoo.com","false");
print_r($captcha);
$browser->wait_for(240,1);
$browser->wait(3);
$input->set_value_by_name('_secword',$captcha);
$button->click_by_inner_text("Submit");
$browser->wait_for(240,1);
$data = $webpage->get_body();
if(strpos($data, "Welcome to Yahoo! GeoCities")) {
return "http://www.geocities.com/".$gen_login;
}else {
echo "Îáëîì ñ geocities.yahoo.com!";
return false;
}
}
function WaitSome()
{
global $sleepsecond;
usleep(mt_rand($sleepsecond/4,$sleepsecond/2));
}
function write4Log_string($filename, $record, $type = "w"){
$logFile = fopen($filename,$type);
fwrite($logFile,$record);
fclose($logFile);
}
function genPassword() {
$chars = array
("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","1","2","3"
,"4","5","6","7","8","9","0");
$max_elements = count($chars) - 1;
$l = rand(8,13);
for ($i = 0; $i < $l; $i++) {
srand((double)microtime()*1000000);
$newpw .= $chars[rand(0,$max_elements)];
}
return $newpw;
}
?>