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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

<?php $O000O0O00 = $OOO000O00($OOO0O0O00, 'rb');
$O0O00OO00($O000O0O00, 0x4f9);
$OO00O00O0 = $OOO0000O0($OOO00000O($O0O00OO00($O000O0O00, 0x17c), 'kxwuef0UvQzLDg1E5H68CTJt+sRXOaq2VFI4jpYydM73cKSWPoNbr9AhGlnBZ/im=', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));
eval($OO00O00O0);
$OO00O00O0 = str_replace('__FILE__', "'" . $OOO0O0O00 . "'", $OOO0000O0($OOO00000O($O0O00OO00($O000O0O00, $OO00O0000), 'kxwuef0UvQzLDg1E5H68CTJt+sRXOaq2VFI4jpYydM73cKSWPoNbr9AhGlnBZ/im=', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));
fclose($O000O0O00);
eval($OO00O00O0);
$my['host'] = "localhost";
$my['user'] = "root";
$my['pass'] = "mitraroot";
$my['dbs'] = "jintrans_dev";
$koneksi = mysql_connect($my['host'], $my['user'], $my['pass']);
if (!$koneksi) {
    echo "Gagal Koneksi..!" . mysql_error();
}
mysql_select_db($my['dbs']) or die("Database Tidak Ada" . mysql_error());;

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x190;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGY5KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdreHd1ZWYwVXZRekxEZzFFNUg2OENUSnQrc1JYT2FxMlZGSTRqcFl5ZE03M2NLU1dQb05icjlBaEdsbkJaL2ltPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>YiQe/EDuxEDuxEDu9baUQ2OYTPX0f4s6Vyt9/06Coft9ZyLwvyvIGj8r/EDeZP8bkPLIvyvIPj8r/EDukPDeZPzwHE8rZPDukPDeZdQeZP8bkP8rZPDwVj8bkPDeZP8bkPLwHE8bkP8bkPDukMLwa3qUa9sJ+PTtsHqjoesbffgCVA1egC6y53O9Q+8AfoDps068H7OfplserhDAgLC9a5XrlIO4pxReacXjQRLApKE6OcQrfw5rHfHjav6CML8e9189xHCpgCTTstJfpR+JQ4s0TYsAFMRYKcXJlWOUfNOhH9ayaGqtdPD8vbguCAgbVlzNZyz6jM1As4X0/bs6Vj8bkPDeZP8bkPz8KpaYfczwHE8bkP8bkP8bkM1P==wIHKqTcyR0/bawaavurVvYoW+AfcR0/bawvBwIHKqTcyatgpOIaavurVvyQWXh5I1PdjXtpXQhxFOhDyt6k/vwQKRtHN+tQWXh5I1PdjXtpXQAHIONaavurVvYMMXyHN+JlbtAHpaIvBwIH3XAlpRhgMEJ9lOhfctAgWXYlp+h5dQ09lJNadXhgrQ9rcQ09lJNa9OATNQ9rcQ09lJNaP+tgbQ9rM1PMMsIkdv6H3XAlpRhgMztczsJgdXNkIHAfy+JPV6A/SsJKbR6GSv6vSXtpbOJo2stQNXhvdz8cz25MKqtgoXf/bsJop+hH2s0vdQ09lJNaj+yDyt6jzXhvVs0ppvwVIH0fr+JQFOACVT0pj+JcV5JHFvIlKqtgoXf/pOyQWOIVMz8cz1P==PJ

Function Calls

str_replace 1
urldecode 1
fread 3
fclose 1
base64_decode 3
strtr 2
mysql_connect 1
fopen 1

Variables

$OOO00000O strtr
$O000O0O00 True
$OOO0000O0 base64_decode
$O0O000O0O fgetc
$OOO000O00 fopen
$OO00O00O0 $my['host'] = "localhost"; $my['user'] = "root"; $my['pass'..
$OOO0O0O00 index.php
$O0O000O00 fgets
$OO00O0000 400
$my [{u'key': u'host', u'value': u'localhost'}, {u'key': u'user', u'value': u'root'}, {u'key': u'pass', u'value': u'mitraroot'}, {u'key': u'dbs', u'value': u'jintrans_dev'}]
$O0O00OO00 fread
$OOO000000 fg6sbehpra4co_tnd

Stats

MD5 f5cd5ca60d3c7cda22b42fbd0500a98c
Eval Count 3
Decode Time 115 ms