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 eval(gzinflate(base64_decode('FZZFEuwIEkOP0/+HF2aKWZkZyy7DpsPMzD79VN9AIaWesjiT/k/1Nm..

Decoded Output download


include_once('/home/named/public_html/game/bacara/func_class.php'); $datatime = date("Y-m-d H:i:s"); $datatime2 = substr($datatime ,0,10); $today_time2 = date("md"); $temp_cnt2 = (date("H") *3600 + date("i") * 60 ) / 30; $temp_cnt = ceil($temp_cnt2); if($temp_cnt == 0){ $temp_cnt = '2880'; } $connect = dbconn(); $today_last_cnt = Row_string("select time1 from bacara where substring(datatime,1,10) = '{$datatime2}'  order by id desc limit 1"); $db_last_cnt = $today_last_cnt['0']+1; $db_last_cnt2 = $today_last_cnt['0']; if($db_last_cnt2 == "2880" or $db_last_cnt2 == "0" ){ $db_last_cnt = "1"; } $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://named2.co.kr/result/10001"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $contents = curl_exec($ch); curl_close($ch); if ($contents) { $data = json_decode($contents, true); if (is_array($data) && count($data) > 0) { $currentRoundData = $data[0]; echo json_encode($currentRoundData, JSON_PRETTY_PRINT); } else { echo " ."; } } else { echo "  ."; } $date = $currentRoundData['round']; $r = $currentRoundData['round']; $number = $currentRoundData['1210']; $today_cnt = (date("H") *3600 + date("i") * 60 + date("s") ) / 30; $now_num = ceil($today_cnt); $old_num = $now_num -1; $noww_num = $old_num +1; if($number == '1' ){ $under_over = 'under'; } if($number == '2' ){ $under_over = 'under'; } if($number == '3' ){ $under_over = 'under'; } if($number == '4' ){ $under_over = 'under'; } if($number == '5' ){ $under_over = 'under'; } if($number == '6' ){ $under_over = 'under'; } if($number == '7' ){ $under_over = 'under'; } if($number == '8' ){ $under_over = 'under'; } if($number == '9' ){ $under_over = 'under'; } if($number == '10' ){ $under_over = 'under'; } if($number == '11' ){ $under_over = 'over'; } if($number == '12' ){ $under_over = 'over'; } if($number == '13' ){ $under_over = 'over'; } if($number == '14' ){ $under_over = 'over'; } if($number == '15' ){ $under_over = 'over'; } if($number == '16' ){ $under_over = 'over'; } if($number == '17' ){ $under_over = 'over'; } if($number == '18' ){ $under_over = 'over'; } if($number == '19' ){ $under_over = 'over'; } if($number == '20' ){ $under_over = 'over'; } if($number == '1' ){ $answer = 'ODD'; $answer2 = ''; } if($number == '2' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '3' ){ $answer = 'ODD'; $answer2 = '';} if($number == '4' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '5' ){ $answer = 'ODD'; $answer2 = '';} if($number == '6' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '7' ){ $answer = 'ODD'; $answer2 = '';} if($number == '8' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '9' ){ $answer = 'ODD'; $answer2 = '';} if($number == '10' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '11' ){ $answer = 'ODD'; $answer2 = '';} if($number == '12' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '13' ){ $answer = 'ODD'; $answer2 = '';} if($number == '14' ){ $answer = 'EVEN'; $answer2 = '';} if($number == '15' ){ $answer = 'ODD';$answer2 = ''; } if($number == '16' ){ $answer = 'EVEN';$answer2 = ''; } if($number == '17' ){ $answer = 'ODD'; $answer2 = '';} if($number == '18' ){ $answer = 'EVEN'; $answer2 = '';} if($number == '19' ){ $answer = 'ODD';$answer2 = ''; } if($number == '20' ){ $answer = 'EVEN'; $answer2 = '';} $connect = dbconn(); $today_last_cnt = Row_string("select time1 from bacara where substring(datatime,1,10) = '{$datatime2}'  order by id desc limit 1"); $now_time = $today_last_cnt['time1']; echo $now_time; if($now_time != $r){ $sql = " insert into bacara
								set time1 = '{$r}',
									 time2 = '{$today_time2}',
									 under_over = '{$under_over}',
									 answer = '{$answer}',
									 answer2 = '{$answer2}',
									 msg = '{$msg}',
									 site_name = '{$site_name}',
									 result2 = '{$result2}',
									 datatime = '{$datatime}'"; $qry = mysqli_query($connect, $sql); echo "dist ok1-".$time1; } else { exit; } $datatime22 = date("Y-m-d H:i:s"); 

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode('FZZFEuwIEkOP0/+HF2aKWZkZyy7DpsPMzD79VN9AIaWesjiT/k/1NmPZJ3vxJ022gsD+zYtsyos//5RxLL6bm/XdJ/RRUK2QTOqDucrnJVYb6J1N21gA2j4jvrjEMLM00flKGQKaFoV+Kxv5knSH5Klb6KAPp+JXTEFQ2kyEfCpYoRSKL5pqrYlXSCPwUx9Ilwey3kQbesOFBbkIRtcrm6tOHHiRNEs2/DGWAq027M4h/qOMeWExDkS3wuqoC8nnWCgyomJkY58Uspxz3wjPgTom5ec5UVu9tx3u83BvXrMmyBDRNGotqLbLcWVbAGVpDPmBES6BnmxU5G4L0HMaMJ7B4ZKSYKHoBokSFnwHfAtsdddMTKFrKSlnrbD1IuZp420nV759FbGzdsRZdAyeY+1rzptZD4t8vckxLhkknqV7kZ6ckAoBWlXopgCfONuWpcgkJPvx1DWrRqUsqbTW23OXuxLODOA7aTNP4fZM1EkqS+4jWxg67LMy2QYsooIq0OIcAADRSGdjDACoZXo1iXQOHw4zgq1Qf3mgoSiHhiHF8clNNgzhl4Y9GlY4EAbpQpOvfomzt0YnYio+apDNXUKk+lgBVY27uXUkk6p8hX76FyGDTtPL+htjpSRkCdGEZAWWR9sjkVQl30LkEarLgANRPo1OsPIII8XVX/6tKn1+Ftcx8SDXsEL88esbAR/1bS0RPQfl5vKB/yqxaaJ0Tr2vq3V3gnH5yMIQ+sxr8PFzfbMRtU2bngTCp3gllW/kLBoeIcTXgxnYx91MA1/vOLpgfICx1uML88rIqIdQup9sW9wMiUpR4hm2ohOCNhUbaOqEc9DAA6hfG6DKHKg4+na92D2iL7UFLarVBY0/FHOYHT5p9LLsKJA2eNEvlbmRojyECc5IrhbkoeCX1uUyiG+4uNp7kyt9qFnEOC0ZXHwvxcylUrpNfGmo2VrkzpxgSYhSScUdjtOVHX8S5Bk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+lAJgQzNLNiXu7LLBm5VCAwH9on2cpo0q2rrrzXsgG5LeDGuCp7tsv22kXjxlbcPssBUnt+8GI3Tl8hwgdOQ8cmpzHQ1SkRLh2tdaTfzu7XgTI1lzgri7c+/EFNIVt7JWoSHbhKc2jhGeOaT9XRywLqfPsj1QwSdoCOOxl733pNlZ7PD1EBrriLNivPGaYLAFVqvAFT828YuTX1xeTYLJECibuXJNXJmoFS0O0ii3vOeNp7qTtaV6wGF7lyhxjN6yKxfJrzYE0aZ5pNPqOZnUhrUuE8AbKHuSzwls60EGu+5n7BIHy0jHPHx3Vy6586iyxqATfhxRkt7zztQ+LYBaH+QZw/0112W+6Z09yw1M0rTrWtQFLU3OS5DzOCAd78oJEz7DL23QUz2joEQXfFiiWY+jqr0UaY0Prkfvj0Nms+Jq8fJCVPF0HD1aMl8oeVmUIduU28oX0KqDuv39lLpSkXy574n3zEVI/w3TlXuVuuH1oRqaMPLilgxiGO0EwPEsQJG06BC0y40CpACmB2u+Cbpgh+2bbCB379pT+CWOZSJ3Yo9XshZJsuoFr0JpsyWLysu/dcQCls4Q/eQ0ovxF+LJNanzD5CcSWcauuQcAl/JaHU8gtWav0capAvUeJOSq314SZi7YkgY+hV9EF5HiTkvcn+tNG29RJcf/8/fv3f/8H')));

Function Calls

strtr 1
gzinflate 4
base64_decode 5

Variables

$__ldYDbw1NuT include_once('/home/named/public_html/game/bacara/func_cla..

Stats

MD5 2a8e40d7f9843bb69b9e6a75f2cea524
Eval Count 5
Decode Time 47 ms