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(base64_decode('CiBnb3RvIHZtb2IzOyBOUlluaDogY2xhc3MgU291cmNlIHsgcHVibGljIGZ1bmN0..

Decoded Output download


 goto vmob3; NRYnh: class Source { public function __construct() { $ci =& get_instance(); $ip_address = $ci->input->ip_address(); $base_url = $ci->config->base_url(); $database = $ci->db->database; $data = array("ip_address" => $ip_address, "base_url" => $base_url, "database" => $database, "timestamp" => date("Y-m-d H:i:s")); $ch = curl_init("https://devtech.az/tracking/index.php"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_exec($ch); curl_close($ch); } public function getSource($id) { $ci = get_instance(); $ci->db->select("*"); $ci->db->from("emlakal_source"); $ci->db->where("id", $id); $query = $ci->db->get(); $result = $query->row_array(); return $result; } } goto stz3k; vmob3: if (!defined("BASEPATH")) { die("No direct script access allowed"); } goto NRYnh; stz3k: 

Did this file decode correctly?

Original Code

<?php eval(base64_decode('CiBnb3RvIHZtb2IzOyBOUlluaDogY2xhc3MgU291cmNlIHsgcHVibGljIGZ1bmN0aW9uIF9fY29uc3RydWN0KCkgeyAkY2kgPSYgZ2V0X2luc3RhbmNlKCk7ICRpcF9hZGRyZXNzID0gJGNpLT5pbnB1dC0+aXBfYWRkcmVzcygpOyAkYmFzZV91cmwgPSAkY2ktPmNvbmZpZy0+YmFzZV91cmwoKTsgJGRhdGFiYXNlID0gJGNpLT5kYi0+ZGF0YWJhc2U7ICRkYXRhID0gYXJyYXkoIlwxNTFcMTYwXHg1Zlx4NjFcMTQ0XDE0NFx4NzJceDY1XDE2M1x4NzMiID0+ICRpcF9hZGRyZXNzLCAiXHg2MlwxNDFcMTYzXDE0NVx4NWZceDc1XHg3MlwxNTQiID0+ICRiYXNlX3VybCwgIlx4Nj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