Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $host = "localhost"; $username = "besoadmin"; $password = "Mitchy2017Liker"; $d..

Decoded Output download

<?php 
$host = "localhost"; 
$username = "besoadmin"; 
$password = "Mitchy2017Liker";	 
$dbname = "wiliker"; 
 
 
//database connect 
mysql_connect($host,$username,$password) or die(mysql_error()); 
mysql_select_db($dbname) or die(mysql_error()); 
mysql_query("SET NAMES utf8"); 
 
function get_json($url) { 
    $ch = curl_init(); 
 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
    curl_setopt($ch, CURLOPT_URL, $url); 
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); 
	curl_setopt($ch, CURLOPT_FAILONERROR, 0); 
    $data = curl_exec($ch); 
    curl_close($ch); 
	return json_decode($data); 
    } 
 
$output = ''; 
   //get users and try liking 
  $result = mysql_query("SELECT * FROM token order by RAND() Limit 30 "); 
  if($result){ 
      while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ 
			$m = $row['token']; 
			$graph_url ="https://graph.facebook.com/me?access_token=" . $m; 
			$user = get_json($graph_url); 
		try { 
	if ($user->id) { 
		?><font style="color:green;"> Token Works</font><br> <?php ;} 
		 else{ 
			mysql_query(" DELETE FROM token WHERE token='$m'"); 
            ?><font style="color:red;"> Mati</font><br> <?php  
		} 
		} 
       catch (FacebookApiException $e) { 
            $output .= "<p>'". $row['name'] . "' Like  gagal :( .</p>"; 
         } 
}; 
} 
?>

Did this file decode correctly?

Original Code

<?php
$host = "localhost";
$username = "besoadmin";
$password = "Mitchy2017Liker";	
$dbname = "wiliker";


//database connect
mysql_connect($host,$username,$password) or die(mysql_error());
mysql_select_db($dbname) or die(mysql_error());
mysql_query("SET NAMES utf8");

function get_json($url) {
    $ch = curl_init();

    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
	curl_setopt($ch, CURLOPT_FAILONERROR, 0);
    $data = curl_exec($ch);
    curl_close($ch);
	return json_decode($data);
    }

$output = '';
   //get users and try liking
  $result = mysql_query("SELECT * FROM token order by RAND() Limit 30 ");
  if($result){
      while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
			$m = $row['token'];
			$graph_url ="https://graph.facebook.com/me?access_token=" . $m;
			$user = get_json($graph_url);
		try {
	if ($user->id) {
		?><font style="color:green;"> Token Works</font><br> <?php ;}
		 else{
			mysql_query(" DELETE FROM token WHERE token='$m'");
            ?><font style="color:red;"> Mati</font><br> <?php 
		}
		}
       catch (FacebookApiException $e) {
            $output .= "<p>'". $row['name'] . "' Like  gagal :( .</p>";
         }
};
}
?>

Function Calls

mysql_connect 1

Variables

$host localhost
$dbname wiliker
$password Mitchy2017Liker
$username besoadmin

Stats

MD5 bdbb7f2ac7a188ad5ac956e336d75ad7
Eval Count 0
Decode Time 90 ms