Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
ob_start(); $a='eNqNUrFugzAQ3fsVVwkJqJIha2jIkKlDh6hjVSFjjuDGMcg2aaMq/94DB0ISonbxcPfu7r3nV6..
Decoded Output download
ob_end_clean();?><?php
class Semar_Config extends CI_Model { private $_table = 'semarconfig'; function __construct(){ parent::__construct(); } public function set( $key, $val ){ $check = $this->get( $key ); if( $check != null ){ $this->update( $check['key'], $val ); }else{ $this->db->insert( $this->_table, array( 'semarconfig_key' => $key, 'semarconfig_val' => $val ) ); }; } public function get( $key ){ $data = null; $this->db->select( '*' ) ->from( $this->_table ) ->where( 'semarconfig_key', $key ) ->where( 'semarconfig_active', 1 ) ->limit( 1 ); $Q = $this->db->get(); foreach ($Q->result() as $obj){ $data = array( 'idc' => $obj->semarconfig_id, 'key' => $obj->semarconfig_key, 'val' => $obj->semarconfig_val, 'act' => $obj->semarconfig_active ); } return $data; } public function remove( $key ){ $this->db->delete( $this->_table, array('semarconfig_key' => $key)); } public function update( $key, $val, $act = 1 ){ $this->db->update( $this->_table, array( 'semarconfig_val' => $val, 'semarconfig_active' => $act ), array( 'semarconfig_key' => $key, ) ); } }
Did this file decode correctly?
Original Code
ob_start(); $a='eNqNUrFugzAQ3fsVVwkJqJIha2jIkKlDh6hjVSFjjuDGMcg2aaMq/94DB0ISonbxcPfu7r3nV6YJqizhEpkKwmgZPy+ronrgkhkDb7hjOlmVKhcbwG9LSAOrl+S1zFDCD1Ra7JlF8BLLUomwAN80I7yd8CPIa8WtKBUkCdWM1TW3QUiDTKOy8/lFOYIjVHUqBT/PGbQBeFs8TMDbMwk06/EC+ZZuebYQZhpvOgjQBpEHHeBxAaqWbsQh6yojth3g3acZ/6NbTNdRGuzBWTqNhTKom+2u5FROgGnNDsGF1qTZBYv4xPWiRetdq73TXhqTOtBBJIgpA6cgGlIyKJHMAv/Jp13TONfl7opgW/8qUOMIx8npxB0IIy57JNSshUixE3Rs1pD21mfPGyYNXyrnpUbGCwi89TTWaGpJZWAGvDL9HCjpTBMZd25Qu5Fzvi0yMq738abtjO3NvOlTh/ok4E7fSWvtB4221spxG/sLjbtyj4PvOMum5GMborFM3I1EOJruPpB9wOklnmTX7OpsD/07isO8TUa/t+02d8L/hNlFFo6/cw1b6g=='; eval( gzuncompress( base64_decode( $a ) ) ); $v = ob_get_contents(); if ( ob_get_contents() ) ob_end_clean();
Function Calls
ob_start | 1 |
gzuncompress | 1 |
ob_end_clean | 1 |
base64_decode | 1 |
Stats
MD5 | fffc9aaa5fe9cf59990e9cdeb79bc257 |
Eval Count | 1 |
Decode Time | 55 ms |