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 @session_start();if(isset($_POST["txtC\x61\x70tcha"])){if($_SESSION["\x4dd\x35M\x6ft..

Decoded Output download

<p>fausse</p>
<form method="post" action="">
<div class="captcha">
<label>Ecrire le texte en blanc</label>
<img src="image.php" />

<input type="text" name="txtCaptcha" /> 
</div>

<input type="submit" value="ok"/>
</form>

Did this file decode correctly?

Original Code

<?php @session_start();if(isset($_POST["txtC\x61\x70tcha"])){if($_SESSION["\x4dd\x35M\x6ft"]==md5($_POST["\x74\x78t\x43ap\x74\x63\x68a"]))echo"<\x70\x3e\x6au\x73\x74\x65\x3c/p\x3e";else echo"\x3cp>f\x61\x75ss\x65\x3c/\x70>";}echo "\n<\x66\x6frm \x6de\x74ho\x64\x3d\x22\x70\x6fs\x74\" a\x63\x74\x69o\x6e\x3d\"\"\x3e\n<\x64i\x76 cla\x73s\x3d\x22\x63\x61\x70\x74\x63ha\">\n\x3c\x6c\x61\x62e\x6c>\x45c\x72\x69re\x20l\x65\x20\x74exte e\x6e b\x6c\x61n\x63\x3c/la\x62\x65\x6c>\n<\x69\x6dg sr\x63\x3d\"\x69mage.\x70h\x70\" />\n\n<inp\x75\x74\x20t\x79pe=\x22\x74\x65xt\"\x20\x6ea\x6de\x3d\x22\x74xtC\x61p\x74\x63h\x61\x22 /\x3e \n</d\x69v\x3e\n\n\x3cin\x70\x75\x74\x20t\x79p\x65\x3d\x22s\x75b\x6dit\x22\x20v\x61lu\x65=\x22ok\x22/\x3e\n</\x66o\x72\x6d\x3e\n";
?>

Function Calls

md5 1
session_start 1

Variables

None

Stats

MD5 5194a5e86c8f65ce5472126bdb652276
Eval Count 0
Decode Time 100 ms