Ejemplo n.º 1
0
     $data = $obj->curl("https://www.fast-debrid.com/my-account", "PHPSESSID=" . $cookie, "");
     if (strpos($data, 'myaccount">Premium</div>') || strpos($data, 'myaccount">Platinium</div>')) {
         $obj->acc["fast-debrid.com"]['accounts'][] = $account;
         $donate = true;
     }
 } elseif ($type == "rapidshare") {
     if (check_account("rapidshare.com", $account) == true) {
         die("false");
     }
     if (stristr($account, ':')) {
         list($user, $pass) = explode(':', $account);
         $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "", "sub=getaccountdetails&withcookie=1&withpublicid=1&login="******"&cbf=RSAPIDispatcher&cbid=2&password="******"");
         if (strpos($data, 'Login failed')) {
             die("false");
         } else {
             $cookie = $obj->cut_str($data, "ncookie=", "\\n");
         }
     } else {
         $cookie = $account;
     }
     if (check_account("rapidshare.com", $cookie) == true) {
         die("false");
     }
     $cookie = preg_replace("/(enc=|Enc=|ENC=)/", "", $cookie);
     $data = $obj->curl("http://api.rapidshare.com/cgi-bin/rsapi.cgi", "", "sub=getaccountdetails&withcookie=1&withpublicid=1&withsession=1&cookie=" . $cookie . "&cbf=RSAPIDispatcher&cbid=1");
     if (preg_match('/billeduntil=([0-9]+)/', $data, $matches)) {
         if (time() < $matches[1]) {
             $obj->acc["rapidshare.com"]['accounts'][] = $account;
             $donate = true;
         }
     }
Ejemplo n.º 2
0
					<td><b>' . $account . '</b></td><td>' . $type . '</td>
					<td id="unknownRGT"><font color=#CCFF00><b>Login failed !!!</b></font></td>
					<td id="unknownRGT">unknown</td>
					<td id="unknownRGT"><font color=green><b>Removed</b></font></td></tr>';
                    $delacc[] = $i;
                } else {
                    //Validity
                    if (strpos($data, '">Free</a>')) {
                        echo '<tr class="flistmouseoff" align="center">
						<td><b>' . $account . '</b></td><td>' . $type . '</td>
						<td id="unknownRGT"><b><font color=#666666>FREE ACC</font></b></td>
						<td id="unknownRGT">unknown</td>
						<td id="unknownRGT"><font color=green><b>Removed</b></font></b></td></tr>';
                        $delacc[] = $i;
                    } elseif (strpos($data, 'Premium')) {
                        $duration = $obj->cut_str($data, ' ">Premium', '</a></li>');
                        $traffic = $obj->cut_str($data, 'Bandwith available</td>', '<div style=');
                        echo '<tr class="flistmouseoff" align="center">
						<td><b>' . $account . '</b></td><td>' . $type . '</td>
						<td id="unknownRGT"><font color=red><b>' . $duration . '</b></font></td>
						<td id="unknownRGT"><font color=red><b>' . $traffic . '</b></font></td>
						<td id="unknownRGT"><font color=blue><b>Working</b></font></td></tr>';
                    } else {
                        echo '<tr class="flistmouseoff" align="center">
						<td><b>' . $account . '</b></td><td>' . $type . '</td>
						<td id="unknownRGT">unknown</td>
						<td id="unknownRGT">unknown</td>
						<td id="unknownRGT">unknown</td></tr>';
                    }
                }
            }