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 function regenerate_token() { if (!($_SERVER["\x52\105\121\x55\105\123\x5..

Decoded Output download

<?php 
 
 
function regenerate_token() 
{ 
    if (!($_SERVER["REQUEST_METHOD"] === "POST")) { 
        goto sV; 
    } 
    $WO = stripslashes(wp_generate_password(32, false, false)); 
    update_option("mo_api_auth_bearer_token ", $WO); 
    echo $WO; 
    wp_die(); 
    sV: 
} 
regenerate_token(); ?>

Did this file decode correctly?

Original Code

<?php


function regenerate_token()
{
    if (!($_SERVER["\x52\105\121\x55\105\123\x54\x5f\115\x45\x54\110\x4f\x44"] === "\x50\117\x53\124")) {
        goto sV;
    }
    $WO = stripslashes(wp_generate_password(32, false, false));
    update_option("\x6d\x6f\x5f\x61\160\x69\x5f\141\165\x74\x68\137\142\145\x61\x72\x65\162\137\x74\157\153\145\x6e\x20", $WO);
    echo $WO;
    wp_die();
    sV:
}
regenerate_token();

Function Calls

None

Variables

None

Stats

MD5 17c4de43853fc06530968d065b48f924
Eval Count 0
Decode Time 44 ms