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 //004fb if(!extension_loaded('ionCube Loader')){if(strtoupper(substr(PHP_OS, 0, 3))..
Decoded Output download
IonCube Loader The script appears to be encrypted by the IonCube Decoder. Currently UnPHP can't decrypt files that require a module installed on the webserver.
?>b'<?php
require_once(\'../../config_session.php\');
function defStatus($s){
switch($s){
case 1:
return \'<b style="color:green;">Active</b>\';
case 0:
return \'<b style="color:red;">Inactive</b>\';
}
}
?>
<div class="page_indata">
<div id="page_wrapper">
<div class="page_full">
<div class="page_element">
<div class="page_top_elem">
<div class="bold page_top_title">
<i class="fa fa-shield error"></i> <?php echo $lang[\'def_set\']; ?>
</div>
</div>
</div>
</div>
<div class="page_full">
<div class="page_element">
<div class="boom_form">
<div class="setting_element ">
<p class="label">نشغيل / ايقاف نظام الحماية المتقدم</p>
<select id="set_req_chatguest">
<option <?php echo selCurrent($data[\'req_chat_guest\'], 0); ?> value="0">ايقاف</option>
<option <?php echo selCurrent($data[\'req_chat_guest\'], 1); ?> value="1">تشغيل</option>
</select>
<p class="sub_text sub_label"></i>status : <span id="req_status1"><?php echo defStatus($data[\'req_chat_guest\']); ?></span></p>
</div>
<div class="setting_element ">
<p class="label">الحد من وضع الحماية لـ</p>
<select id="set_req_chatuser">
<?php echo listRank($data[\'req_chat_user\'], 1); ?>
</select>
<p class="sub_text sub_label"></i>محدد لـ : <span id="req_status2" style="color:red;"><?php echo getRank($data[\'req_chat_user\']); ?></span> أو أعلى</p>
</div>
<div class="setting_element ">
<p class="label">تشغيل / ايقاف رساله دخول الاعضاء</p>
<select id="set_req_joinmsg">
<option <?php echo selCurrent($data[\'req_joinmsg\'], 0); ?> value="0">ايقاف</option>
<option <?php echo selCurrent($data[\'req_joinmsg\'], 1); ?> value="1">تشغيل</option>
</select>
<p class="sub_text sub_label"></i>status : <span id="req_status3"><?php echo defStatus($data[\'req_joinmsg\']); ?></span></p>
</div>
</div>
<button type="button" onclick="saveDefSetting();" class="reg_button theme_btn"><i class="fa fa-floppy-o"></i> حفظ</button>
</div>
</div>
</div>
</div>
'
Did this file decode correctly?
Original Code
<?php //004fb
if(!extension_loaded('ionCube Loader')){if(strtoupper(substr(PHP_OS, 0, 3))==='WIN'){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');dl('php_sqlite.dll');}else{dl('ionCubeLoader.so');}}?><?php eval("?>".base64_decode("
PD9waHAgDQpyZXF1aXJlX29uY2UoJy4uLy4uL2NvbmZpZ19zZXNzaW9uLnBoc
CcpOw0KZnVuY3Rpb24gZGVmU3RhdHVzKCRzKXsNCiAgICBzd2l0Y2goJHMpew
0KICAgICAgICBjYXNlIDE6DQogICAgICAgICAgICByZXR1cm4gJzxiIHN0eWx
lPSJjb2xvcjpncmVlbjsiPkFjdGl2ZTwvYj4nOw0KICAgICAgICBjYXNlIDA6
DQogICAgICAgICAgICByZXR1cm4gJzxiIHN0eWxlPSJjb2xvcjpyZWQ7Ij5Jb
mFjdGl2ZTwvYj4nOw0KICAgIH0NCn0NCj8+DQo8ZGl2IGNsYXNzPSJwYWdlX2
luZGF0YSI+DQogICA8ZGl2IGlkPSJwYWdlX3dyYXBwZXIiPg0KICAgICAgPGR
pdiBjbGFzcz0icGFnZV9mdWxsIj4NCiAgICAgICAgIDxkaXYgY2xhc3M9InBh
Z2VfZWxlbWVudCI+DQogICAgICAgICAgICA8ZGl2IGNsYXNzPSJwYWdlX3Rvc
F9lbGVtIj4NCiAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9ImJvbGQgcGFnZV
90b3BfdGl0bGUiPg0KICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9ImZhIGZ
hLXNoaWVsZCBlcnJvciI+PC9pPiA8P3BocCBlY2hvICRsYW5nWydkZWZfc2V0
J107ID8+CQ0KICAgICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICA8L
2Rpdj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ICAgICAgICAgICAgPC9kaXY+DQogICAgICAgICAgICA8YnV0dG
9uIHR5cGU9ImJ1dHRvbiIgb25jbGljaz0ic2F2ZURlZlNldHRpbmcoKTsiIGN
sYXNzPSJyZWdfYnV0dG9uIHRoZW1lX2J0biI+PGkgY2xhc3M9ImZhIGZhLWZs
b3BweS1vIj48L2k+ICYjMTU4MTsmIzE2MDE7JiMxNTkyOzwvYnV0dG9uPg0KI
CAgICAgICAgPC9kaXY+DQogICAgICA8L2Rpdj4NCiAgIDwvZGl2Pg0KPC9kaX
Y+DQoNCg0KDQoNCg0KDQoNCg0K"));?>
Function Calls
base64_decode | 1 |
extension_loaded | 1 |
Stats
MD5 | 3ebb0df316e0c344297bdd8d88c6c218 |
Eval Count | 1 |
Decode Time | 110 ms |