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);
$_POST['cep']= preg_replace( '#[^0-9]#','',$_POST['cep'] );
if ((isset($_POST["MM_insert"])) &&($_POST["MM_insert"] == "myform")) {
$insertSQL = sprintf("INSERT INTO tab_escolas (nome, endereco, bairro, complemento, cep, estado, cidade, telefone, email, responsavel_nome, responsavel_telefone, responsavel_cargo, observacoes) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['nome'],"text"),
GetSQLValueString($_POST['endereco'],"text"),
GetSQLValueString($_POST['bairro'],"text"),
GetSQLValueString($_POST['complemento'],"text"),
GetSQLValueString($_POST['cep'],"text"),
GetSQLValueString($_POST['estado'],"text"),
GetSQLValueString($_POST['cidade'],"text"),
GetSQLValueString($_POST['telefone'],"text"),
GetSQLValueString($_POST['email'],"text"),
GetSQLValueString($_POST['responsavel_nome'],"text"),
GetSQLValueString($_POST['responsavel_telefone'],"text"),
GetSQLValueString($_POST['responsavel_cargo'],"text"),
GetSQLValueString($_POST['observacao'],"text"));
mysql_select_db($database_buttiformatura,$buttiformatura);
$Response = mysql_query($insertSQL,$buttiformatura);
if ($Response == 0) {
header("Location: ../alerts/erro1.php?action=escola");
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=0x708;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Zik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwndEE5NG5zMzJYUUViSGFXZDYvMVBxWWZPRkdTVERwenJ1aHk4SlUwNVZtb3dSdlorSU1pZU5La2pCTDdsZ2N4Qz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>OJEDKbIEmMVuWbas}RgQncdH4AdH4AdH4Kep2QrD0YIT3s8G1u5OKc31qMsOKg5b9X5XyBJPNcdHngIPetIbyX5XyIJ/NMd6JsHqKR5PNcdH4tIHngIQKNVQnpHPNQAPsaTQNcdPetIH4tIPippE9/2Pnc96qMPfipdHngIHncdH4t5O1uJPetIHngIPetIb9/dPetIPetIH4tmb9pN6PJNT5HeHUh//fQXFYpJaygMq2sGGJc3/Kaq/2A7D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K/TQka+TOARGfKUT5/+QKNRX5/Uz26yE1Ia9JpUpsa/PsGhT2YUqj/iSfL5E9/rqncPYsR5FkYIQKNRX5/Uz26yE1Ia9JpUpsa/PsGhT2YUqj/iSfL5E9/rqncPYsR5GOaNFf/+QKNRX5/Uz26yE1Ia9JpUpsa/PsGhT2YUqj/iSfL5E9/rqncPYsR5FkUJFf/UQKNRX5/Uz26yE1Ia9JpUpsa/PsGhT2YUqj/iSfL5E9/rqncPYsR5p3YRGfG+T0q5O1Iyp3YBp9XmbtNE/kYNqKsHY0sRpfYPp2QmT0DVQsc6PKaqfipUTfsmT9ppb9QNGOhNXyJR46m2GO/PqqMfFfMKGYaND0UZGiuJOKAdqK/TQjQUDjA+T5ahp0YROkL+Tfq5O1Iyp3YBp9XmbtNE/kYNqKsHY0sRpfYPp2QmT0DVQsc6PKaqfipiGOaITkLeFOGUTscNGfMUG0cZG1ppb9QNGOhNXyJR46m2GO/PqqMfFfMKGYaND0UZGiuJOKAdqK/TQjQUDjA+T5ahp0YROkahD0p+QKNRX5/Uz26yE1Ia9JpUpsa/PsGhT2YUqj/iSfL5E9/rqncPYsR5TkQeGOQkFfahTippb9QNGOhNXyJmWINETOUeDfMrDkYRGfaNOk/yE9/JFO/hF0seGYcypO/NSfG+D0Khp2YiF1IJF5YNp3U0TjQvFO/KD0nmWINEQsQUDjA+T5aUX4NuTOUeDfMrDOYUD5JVQ3UZDkYipsa/P9IJF5YNp3U0TjQvFO/KD0nmWINESfFuE9/1GOaITkLeG1tcd1tIE1Al46mVGfsJGOXVXJM+FksNSfcZWytZbychT3Yip2H+GOQiTenZD3hIdks8p3U+T8KUDka+T3nyEPRa90YBSO6l46mcGfMeGORa90Y8S3guHPRa90YBSO6l46mc46mcWI==\VIvPQOGyDlMJePNE|

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 1800
$OO00O00O0 include('../key.php'); array_map("anti_injection",$_POST..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 408cdfa0de42515b57b9f282a6a93e45
Eval Count 3
Decode Time 122 ms