Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OO..

Decoded Output download


require_once('config.php');
require_once('class.phpmailer.php');
function envia_Email($nome_cliente,$email_cliente1,$email_cliente2,$assunto,$mensagem) {
$dados_empresa = mysql_fetch_array(mysql_query("SELECT * FROM empresa"));
$dados_sistema = mysql_fetch_array(mysql_query("SELECT * FROM sistema"));
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = $dados_sistema[servidor_smtp];
$mail->Port = $dados_sistema[servidor_smtp_porta];
$mail->SMTPAuth = true;
$mail->Username = $dados_sistema[servidor_smtp_usuario];
$mail->Password = $dados_sistema[servidor_smtp_senha];
$mail->From = $dados_empresa[email];
$mail->FromName = $dados_empresa[nome];
$mail->AddAddress($email_cliente1,$nome_cliente);
if($email_cliente2) {
$mail->AddCC($email_cliente2,$nome_cliente);
}
$mail->IsHTML(true);
$mail->Subject = $assunto;
$mail->Body = $mensagem;
if($mail->Send()){
return "ok";
}else {
return $mail->ErrorInfo;
}
}

Did this file decode correctly?

Original Code

$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}.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000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p8eVw3LYT7LXpxT5F0Cv9GCv9GCvt==

Function Calls

fgets 2
fopen 1
fread 2
strtr 2
fclose 1
urldecode 1
ereg_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 1260
$OO00O00O0 require_once('config.php'); require_once('class.phpmailer..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 51ca20c56c4aef76bef72d58b2fb452f
Eval Count 3
Decode Time 102 ms