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_once(realpath(dirname(__FILE__) . '/../../../../..') . '/wp-load.php'); ..
Decoded Output download
<?php
require_once(realpath(dirname(__FILE__) . '/../../../../..') . '/wp-load.php');
// Disable errors
error_reporting(0);
// Set headers
header("Status: 200");
header("HTTP/1.1 200 OK");
header('Content-Type: text/html');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
header("Vary: Accept-Encoding");
if ( ! wp_verify_nonce($_POST['_nonce'], 'wordpress-https') ) {
exit;
}
$content = WordPressHTTPS_Url::fromString( $_POST['url'] )->getContent();
if ( $content ) {
echo $content;
}
?>
Did this file decode correctly?
Original Code
<?php
require_once(realpath(dirname(__FILE__) . '/../../../../..') . '/wp-load.php');
// Disable errors
error_reporting(0);
// Set headers
header("Status: 200");
header("HTTP/1.1 200 OK");
header('Content-Type: text/html');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
header("Vary: Accept-Encoding");
if ( ! wp_verify_nonce($_POST['_nonce'], 'wordpress-https') ) {
exit;
}
$content = WordPressHTTPS_Url::fromString( $_POST['url'] )->getContent();
if ( $content ) {
echo $content;
}
?>
Function Calls
dirname | 1 |
realpath | 1 |
Stats
MD5 | 0d9bd44199afa33b79d785bab5d6aaa1 |
Eval Count | 0 |
Decode Time | 94 ms |