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 require base64_decode('Y29uZmlnLnBocA==');$recaptcha_secret_key=$config[base64_decod..

Decoded Output download

<?php require base64_decode('Y29uZmlnLnBocA==');$recaptcha_secret_key=$config[base64_decode('cmVjYXB0Y2hhX3NlY3JldF9rZXk=')];if(isset($_POST[base64_decode('dG9rZW4=')])&&isset($_POST[base64_decode('YWN0aW9u')])){$captcha_token=$_POST[base64_decode('dG9rZW4=')];$captcha_action=$_POST[base64_decode('YWN0aW9u')];}else{die(base64_decode('VGhlIENBUFRDSEEgaXMgbm90IGZ1bmN0aW9uaW5nIGNvcnJlY3RseS4gUGxlYXNlIGNvbnRhY3QgdGhlIGFkbWluaXN0cmF0b3Ih'));}$url=base64_decode('aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS9yZWNhcHRjaGEvYXBpL3NpdGV2ZXJpZnk=');$params=[base64_decode('c2VjcmV0')=>$recaptcha_secret_key,base64_decode('cmVzcG9uc2U=')=>$captcha_token,base64_decode('cmVtb3RlaXA=')=>$_SERVER[base64_decode('UkVNT1RFX0FERFI=')]];$ch=curl_init($url);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch,CURLOPT_POSTFIELDS,$params);curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);$response=curl_exec($ch);if(!empty($response))$decoded_response=json_decode($response);echo $decoded_response->score;?>

Did this file decode correctly?

Original Code

<?php require base64_decode('Y29uZmlnLnBocA==');$recaptcha_secret_key=$config[base64_decode('cmVjYXB0Y2hhX3NlY3JldF9rZXk=')];if(isset($_POST[base64_decode('dG9rZW4=')])&&isset($_POST[base64_decode('YWN0aW9u')])){$captcha_token=$_POST[base64_decode('dG9rZW4=')];$captcha_action=$_POST[base64_decode('YWN0aW9u')];}else{die(base64_decode('VGhlIENBUFRDSEEgaXMgbm90IGZ1bmN0aW9uaW5nIGNvcnJlY3RseS4gUGxlYXNlIGNvbnRhY3QgdGhlIGFkbWluaXN0cmF0b3Ih'));}$url=base64_decode('aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS9yZWNhcHRjaGEvYXBpL3NpdGV2ZXJpZnk=');$params=[base64_decode('c2VjcmV0')=>$recaptcha_secret_key,base64_decode('cmVzcG9uc2U=')=>$captcha_token,base64_decode('cmVtb3RlaXA=')=>$_SERVER[base64_decode('UkVNT1RFX0FERFI=')]];$ch=curl_init($url);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch,CURLOPT_POSTFIELDS,$params);curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);$response=curl_exec($ch);if(!empty($response))$decoded_response=json_decode($response);echo $decoded_response->score;?>

Function Calls

None

Variables

None

Stats

MD5 46dc6b48f4fb9d37359c8bdc1fb3307b
Eval Count 0
Decode Time 59 ms