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


include('../key.php');
array_map("anti_injection",$_POST);
array_map("anti_injection",$_GET);
if ((isset($_POST["MM_update"])) &&($_POST["MM_update"] == "form1")) {
array_map("anti_injection",$_POST);
$updateSQL = sprintf("UPDATE tab_situacao SET des_situacao=%s WHERE `id_situacao`=%s",
GetSQLValueString($_POST['des_situacao'],"text"),
GetSQLValueString($_POST['id_situacao'],"int"));
mysql_select_db($database_buttiformatura,$buttiformatura);
$Result1 = mysql_query($updateSQL,$buttiformatura);
}
if ( $Result1 == 0 ) {
echo 0;
exit;
}else {
echo 1;
exit;
};

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');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x308;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU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tyG0ciTPnyE1JuzINEFOQiFOUrTfsIE9QhT5/mOkUZS0Y8p3U+TyXRQsc6PKaqEPRa9y/KD3/hp3YPqqIud1AeD2QmT5/0E9QYqn/AYnqup3syOjamp2YhFks+XsasY9AJGOarDkUNpfs8FfgcQOHuYNhsqJquF3UJOjamp2YhFks+F4NUDiXR46m2GO/PqqMfFfMKGYaND0UZGiuJOKAdqK/TQk/UDKceSO/KFfahTippb9QNGOhNXyJR46m2GO/PqqMfFfMKGYaND0UZGiuJOKAdqK/TQkUJOjamp2YhFks+QKNRX0UZp9XmEPRa90KLDjsROjaUT3Y8pscJFyuJG3sNFfQhDkYrF5YNp3U0TjQvFO/KD0nRQ3QKp2/mG0ciTfsNpOQhEPRa9y/1GOaKT26MX4NuTOUeDfMrDOYUD5JVQ2YIG3sNGYa/P9IJF5YNp3U0TjQvFO/KD0nmWINEr6NESfFuE9tJq0YepfMNH1tcd1tIX9JuzINEGfaVTitIWINEGOhmp4Ra95KUT2aUX2Ra90Y8S3guHPRa90YBSO6l46mcWI==ed`tJC

Function Calls

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

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 776
$OO00O00O0 include('../key.php'); array_map("anti_injection",$_POST)..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 9beb461955b742ed9fc19d3778f0e3f7
Eval Count 3
Decode Time 106 ms