Раскрашеный текст Скачать Распечатать Редактировать
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
require_once 'init.php';

if(!$_POST)
{
    $curl = new Curl();
    $content = $curl->init("https://new.aol.com/freeaolweb")->serverfriendly()->exec();
    
    $form = new Form($content);
    $fields = $form->setFormHtml(0)->getFormData();
    
    $fields['{actionForm.firstName}'] = $name = Random::name($female = rand(0,1));
    $fields['{actionForm.lastName}'] = $sname = Random::surname();
    $fields['{actionForm.desiredSN}'] = $name.$sname;
    $fields['{actionForm.password}'] = $fields['{actionForm.verifyPassword}'] = $fields['{actionForm.acctSecuityAnswer}'] = $fields['{actionForm.verifyAcctSecurityAnswer}'] = Random::password(8,0,rand(1,4),0);
    $fields['wlw-select_key:{actionForm.acctSecurityQuestion}'] = "The last 4 digits of your Social Security Number?";
    $fields['wlw-select_key:{actionForm.gender}'] = rand(0,1) ? "Male" : "Female";
    $fields['wlw-select_key:{actionForm.dobDay}'] = rand(0,31);
    $fields['wlw-select_key:{actionForm.dobMonth}'] = Random::month(1);
    $fields['{actionForm.dobYear}'] = rand(1960,1986);
    $fields['{actionForm.zipCode}'] = rand(10000,99999);
    $fields['submitButton'] = "Submit";
    $fields['{actionForm.dayPhone}'] = "+".rand(10000000000,99999999999);

    
    $fields['wlw-select_key:{actionForm.acctSecurityQuestion}OldValue'] = "true";
    $fields['wlw-select_key:{actionForm.dobDay}OldValue'] = "true";
    $fields['wlw-select_key:{actionForm.dobMonth}OldValue'] = "true";
    $fields['wlw-select_key:{actionForm.gender}OldValue'] = "true";
    $fields['{actionForm.hasToolbar}'] = "false";
    $fields['{actionForm.isIE}'] = "false";
    
    $_SESSION['curl'] = $curl;
    $_SESSION['fields'] = $fields;
    
    echo "<form method=\"post\"><input type=\"text\" name=\"captcha\" /> <input type=\"submit\" value=\"register\" /><br/> <img src=\"captcha.php?".rand(0,1000000)."\" /></form>";
}
else
{
    $curl = $_SESSION['curl'];
    $fields = $_SESSION['fields'];
    
    $fields['{actionForm.wordVerify}'] = $_POST['captcha'];
    
    $content = $curl->init("https://new.aol.com/freeaolweb/subflows/FreeMemberRegistration/FreeAolRegistrationAction.do")->serverfriendly()->setopt("post",$fields)->exec();
    
    if(strpos($content,"Congratulations, you are now registered for AOL!"))
    {
        die("registered! {$fields['{actionForm.desiredSN}']}@aol.com : {$fields['{actionForm.password}']}");    
    }
    header("Location: .");
}

Яндекс.Метрика