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 /* Ouro Moderno A cpia ou reproduo deste contedo, sem expressa autorizao proibida...

Decoded Output download

 
session_start();
require_once('_inc/config.php');
require_once('Config.php');
new Config();
$login = new login();
$login->lang($language);
if ($acao == 'logar'&&isset($_POST['aluno']) &&isset($_POST['senha'])) {
$postaluno = $_POST['aluno'];
if(strtolower($postaluno) == 'admin'){
$postaluno = 'admin';
}
unset($_SESSION['token']);
$login->logar($postaluno,$_POST['senha']);
setcookie('OM_usuario',$postaluno,time() +7200);
setcookie('OM_senha',$_POST['senha'],time() +7200);
}
if (isset($_GET['redirectc'])) {
echo "<script>javascript:window.parent.document.location = 'index.php?pag=aluno&secao=curso&curso=".$_GET['redirectc'] ."';</script>";
exit;
}
;

Did this file decode correctly?

Original Code

<?php /* Ouro Moderno  A cpia ou reproduo deste contedo, sem expressa autorizao  proibida. Fica proibida a  engenharia reversa para desencryptar os dados. */$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=0x36c;eval($OOO0000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INUELb1nNA1Odk2ySfB5vk107tMlMhuY0FmOvdo93cbwPkunvF3OiduaVdZLINT0Ik2yLdBlVkZl7tJOXd3Y0CBx1dM8INUEmCBOsDB4mKXp9tmaVF2a0htOgA0aTA0lNTlSmfo9qcB4mbUL7tJOSd2fpdJ0+do9mCbwPkunvF3OiduaVdZXLb1nNA1Odk3YldMiik10pKXpzcbOjd29qDBAPk09Yb3azfByZDB8mRtOXd3Y0CBx1dM8SfolscUIpwtS3HjEXhTShF2a0C29vD2llhtfNTa9zcB5PCUFSky9WT1YABZfzcB5PCUffRuOpdBAPhUEqYzwXHtL7tm0hDBCIholzF2a0htOgO0aABZfZcBOpFMajfoHmbULpwuShcBYPdZEJNuYjFMlXfe5QCbciF2YZDbn0KmfpdMOvfZ5XCbkldmWVco9jfB1ldmWVdo9jCbOpd24INUEmDB5LcbIVFoiXN3nicz1iduaVdZczcBYidz1jfbkzdZcjfbkzdz0JRJOgO0aABZfZcBOpFMajfoHmbUEVwJF7Nt9zC3kpFuW+wjShcbipfeShgWP7@vGlfko[]

Function Calls

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

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 876
$OO00O00O0 session_start(); require_once('_inc/config.php'); require_..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 b1555b7f31442b3409acde8e09d8b88c
Eval Count 3
Decode Time 130 ms