Esempio n. 1
0
//var_dump($response);
function mathRandom()
{
    return (double) rand() / (double) getrandmax();
}
$mail = new YaBOB_Mail_Sendmail();
$chat = new YaBOB_Common_Privatechat();
echo "Starting neatbot pause hash bruteforce\n";
$username = '******';
$your_name = 'DrWhat';
for ($i = 1; $i >= 0; $i++) {
    //$message = hash_pbkdf2("crc32", mcrypt_create_iv(8), mcrypt_create_iv(8), 1, 8);
    $message = hash_pbkdf2("md5", md5("abcd" . mathRandom()) . $username . " " . $your_name, '', 1, 8);
    $chatMessage = $chat->_($username, "//pause " . $message);
    $chatData = $AMF->AMFlength($chatMessage) . $chatMessage;
    $s->write($chatData);
    @$s->read();
    checkmessage($message, @$s->read(), $username, $i);
}
function checkmessage($hash, $read, $username, $i)
{
    $out = substr($read, 4);
    $AMF1 = new YaBOB_AMF();
    $out = $AMF1->destructAMF($out);
    if (@$out->data['fromUser'] === $username) {
        echo "[HASH FOUND]: " . $hash . ", sent " . $i . " Uniuqe hashes.\n";
        exit;
    }
}
//var_dump($out->data);
//echo "[HASH FOUND]: ".$message.", sent ".$i." Uniuqe hashes.";
Esempio n. 2
0
            // ╣цг╗йм╨гХрау╒Им╓гракцвмбя╖ ╤ИрДаХауЦкИ║цм║╨я╧╥ж║е╖╟р╧╒Имаые
            echo "<center><font size='3' face='MS Sans Serif'>" . _ADMIN_MEMBER_PROGRAM_SENDMAIL_NO_MESS . "</font></center>";
            form_edit();
            // Ай╢╖©мцЛа╗р║©я╖║Л╙яХ╧
        } else {
            if (empty($edit) and isset($sendmail)) {
                sendemail($sendmail);
            }
        }
    }
    if (isset($edit) and empty($sendmail)) {
        echo "<center><font size='3' face='MS Sans Serif'>" . _ADMIN_MEMBER_PROGRAM_SENDMAIL_SAVE . "</font></center>";
        form_edit();
    }
    if (isset($subject) and isset($message) and isset($form_mail)) {
        checkmessage($subject, $message, $form_mail);
    }
} else {
    $subject_total = $_POST['subject_total'];
    $message_total = $_POST['message_total'];
    // ╤ИрйХ╖ЮаеЛкрйар╙т║╥яИ╖ка╢
    if (isset($subject_total) and isset($message_total)) {
        sendmail_total($subject_total, $message_total);
    }
}
?>
</td>
</tr>
</table>
</TD>
</TR>
        $msg = substr($msg, 1);
        printmsg($msg, $type);
    }
}
function printmsg($text, $type)
{
    if ($type == 0) {
        echo '<div class="msg_warning">' . $text . '</div><br/>';
    } elseif ($type == 2) {
        echo '<div class="msg_info">' . $text . '</div><br/>';
    } elseif ($type == 3) {
        echo '<div class="title">' . $text . '</div><br/>';
    }
}
//display error messages first
checkmessage($msg);
//if there are items or the user made search
if ($query->num_rows() > 0) {
    ?>

    
<!-- Data table -->
<table id="list" class="datagrid" width="99%" border='1' cellspacing='0' align="center">
         <!-- show Labels and sorting -->     
		 
		 <tr>
             <th><?php 
    echo '#';
    ?>
</th>
             <th><?php 
     if ($num == 'invalid') {
         $phoneerror = "<div class='error'>Please enter a valid phone number</div><br>";
     } elseif ($num == 'short') {
         $phoneerror = "<div class='error'>Please enter a ten-digit phone number</div><br>";
     } else {
         $phone = $num;
     }
 }
 if (empty($reason)) {
     $reasonerror = "<div class='error'>Please select a reason for visiting</div><br>";
 }
 if (empty($message)) {
     $messageerror = "<div class='error'>Message field is empty</div><br>";
 }
 if (strlen($message) > 0) {
     $mes = checkmessage($message);
     if ($mes == "invalid") {
         $messageerror = "<div class='error'>Please enter a message containing only letters A-Z and the .,!,?,-,(,) characters</div><br>";
     }
 }
 if (strlen($message) < 11) {
     $messageerror = "<div class='error'>Please enter a message longer than 10 characters</div><br>";
 }
 if (strlen($message) > 499) {
     $messageerror = "<div class='error'>Please enter a message shorter than 500 characters</div><br>";
 }
 if (empty($nameerror) && empty($phoneerror) && empty($emailerror) && empty($reasonerror) && empty($messageerror)) {
     $header = "THANKS FOR YOUR SUBMISSION!";
     $info = "<p>Name: {$name}</p>\n\t\t\t\t\t <p>Phone: {$phone}</p>\n\t\t\t\t\t <p>Date visited: {$date}</p>\n\t\t\t\t\t <p>E-Mail: {$email}</p>\n\t\t\t\t\t <p>Reason: {$reason}</p>\n\t\t\t\t\t <p>Message: {$message}</p>";
     $name = "";
     $phone = "";