uawdijnntqw1x1x1
IP : 18.227.183.161
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
opt
/
.
/
..
/
usr
/
lib64
/
.
/
sse2
/
..
/
python2.7
/
site-packages
/
dns
/
ipv6.pyc
/
/
� #�Sc@s�dZddlZddlZddlZejd�Zd�Zejd�Zejd�Z ejd�Z d�ZdZd�Z dS(sIPv6 helper functions.i����Ns 0+([0-9a-f]+)cCs/t|�dkr!td��n|jd�}g}d}t|�}xe||kr�|||d!}tj|�}|dk r�|jd�}n|j|�|d7}qKWd}d}d} t} xvt d�D]h}||d kr(| r=|}|| }||kr| }|}nt} q=q�| s�|} t } q�q�W| rud}|| }||kru| }|}qun|dkr|dkr�|d ks�|dkr�|ddkr�|d kr�d } nd} | tjj |d�}q+dj|| �d dj|||�}ndj|�}|S(s�Convert a network format IPv6 address into text. @param address: the binary address @type address: string @rtype: string @raises ValueError: the address isn't 16 bytes long is IPv6 addresses are 16 bytes longt hex_codeciiii����it0iitffffs::s::ffff:it:N(tlent ValueErrortencodet _leading_zerotmatchtNonetgrouptappendtFalsetxrangetTruetdnstipv4t inet_ntoatjoin(taddressthextchunkstitltchunktmt best_starttbest_lentstartt last_was_zerotendtcurrent_lentprefix((s./usr/lib64/python2.7/site-packages/dns/ipv6.pyRs^ s(.*):(\d+\.\d+\.\d+\.\d+)$s::.*s.*::$c CsO|dkrd}ntj|�}|dk r�tjj|jd��}d|jd�t|d�t|d�t|d�t|d�f}ntj|�}|dk r�|d}n(t j|�}|dk r�|d }n|j d �}t|�}|d krtjj �nt}g}x�|D]�}|dkr�|rXtjj �nt}x�tdd |d�D]}|jd�qvWq1t|�} | d kr�tjj �n| d kr�dd | |}n|j|�q1W|d kr|rtjj �ndj|�}y|jd�SWntk rJtjj �nXdS(s�Convert a text format IPv6 address into network format. @param text: the textual address @type text: string @rtype: string @raises dns.exception.SyntaxError: the text was not properly formatted s::s0::is%s:%02x%02x:%02x%02xiiii����Ritt0000iRRN(t _v4_endingRR RRt inet_atonR tordt_colon_colon_startt_colon_colon_endtsplitRt exceptiontSyntaxErrorRRR RRtdecodet TypeError( ttextRtbRRt seen_emptyt canonicaltcRtlc((s./usr/lib64/python2.7/site-packages/dns/ipv6.pyR$`sN )$ si s��cCs |jt�S(N(t startswitht_mapped_prefix(R((s./usr/lib64/python2.7/site-packages/dns/ipv6.pyt is_mapped�ss s��(t__doc__tret dns.exceptionRtdns.ipv4tcompileRRR#R&R'R$R4R5(((s./usr/lib64/python2.7/site-packages/dns/ipv6.pyt<module>s C E
/home/../opt/./../usr/lib64/./sse2/../python2.7/site-packages/dns/ipv6.pyc