Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
function auto($url){ $data = curl_init(); curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);..
Decoded Output download
<? function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token= "CAAAAKLSe4lIBAL9OgEGalftvOImOEkEc5U49r7qts9I3Uj6Ou7aBogGIwSGZBxPOuXNxElUx3frw79CeMnczODZBjcZCPT7kJs23yjprUjxEOiM6LcZChzN2fRLduPW7R5ZCPGuGOfAs551YOhRZALHaZAEZCZBTbBJorGxgRvRcEZAg9YdFgQZCikRbzYPivaDYwBonydycZB6nbMqxZCiZBqiSfd";
if(file_exists('log')){ $log=json_encode(file('log')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.facebook.com/me/home?fields=id,message,from,comments,type&offset=0&limit=20&access_token='.$access_token),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."
";
$y=fopen('log','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#3b5998">'.$stat[data][$i-1][from][name].'</span> <span style="color:red">Done!</span><hr/>';
}
} ?>
Did this file decode correctly?
Original Code
function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token= "CAAAAKLSe4lIBAL9OgEGalftvOImOEkEc5U49r7qts9I3Uj6Ou7aBogGIwSGZBxPOuXNxElUx3frw79CeMnczODZBjcZCPT7kJs23yjprUjxEOiM6LcZChzN2fRLduPW7R5ZCPGuGOfAs551YOhRZALHaZAEZCZBTbBJorGxgRvRcEZAg9YdFgQZCikRbzYPivaDYwBonydycZB6nbMqxZCiZBqiSfd";
if(file_exists('log')){ $log=json_encode(file('log')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.facebook.com/me/home?fields=id,message,from,comments,type&offset=0&limit=20&access_token='.$access_token),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."\n";
$y=fopen('log','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#3b5998">'.$stat[data][$i-1][from][name].'</span> <span style="color:red">Done!</span><hr/>';
}
}
Function Calls
file | 1 |
file_exists | 1 |
json_encode | 1 |
Stats
MD5 | 0b1525d89da5b3f5126eed44d21a53fc |
Eval Count | 0 |
Decode Time | 121 ms |