opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
dns
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
698 bytes
Rename
Delete
_asyncbackend.cpython-312.pyc
4.68 KB
Rename
Delete
_asyncio_backend.cpython-312.pyc
13.93 KB
Rename
Delete
_ddr.cpython-312.pyc
7.59 KB
Rename
Delete
_features.cpython-312.pyc
3.20 KB
Rename
Delete
_immutable_ctx.cpython-312.pyc
3.14 KB
Rename
Delete
_trio_backend.cpython-312.pyc
13.13 KB
Rename
Delete
asyncbackend.cpython-312.pyc
3.31 KB
Rename
Delete
asyncquery.cpython-312.pyc
36.65 KB
Rename
Delete
asyncresolver.cpython-312.pyc
20.80 KB
Rename
Delete
dnssec.cpython-312.pyc
50.30 KB
Rename
Delete
dnssectypes.cpython-312.pyc
1.91 KB
Rename
Delete
e164.cpython-312.pyc
4.77 KB
Rename
Delete
edns.cpython-312.pyc
25.07 KB
Rename
Delete
entropy.cpython-312.pyc
5.78 KB
Rename
Delete
enum.cpython-312.pyc
4.75 KB
Rename
Delete
exception.cpython-312.pyc
7.03 KB
Rename
Delete
flags.cpython-312.pyc
2.97 KB
Rename
Delete
grange.cpython-312.pyc
1.71 KB
Rename
Delete
immutable.cpython-312.pyc
3.67 KB
Rename
Delete
inet.cpython-312.pyc
6.52 KB
Rename
Delete
ipv4.cpython-312.pyc
2.64 KB
Rename
Delete
ipv6.cpython-312.pyc
6.64 KB
Rename
Delete
message.cpython-312.pyc
84.56 KB
Rename
Delete
name.cpython-312.pyc
48.00 KB
Rename
Delete
namedict.cpython-312.pyc
4.23 KB
Rename
Delete
nameserver.cpython-312.pyc
14.07 KB
Rename
Delete
node.cpython-312.pyc
16.22 KB
Rename
Delete
opcode.cpython-312.pyc
3.04 KB
Rename
Delete
query.cpython-312.pyc
63.10 KB
Rename
Delete
rcode.cpython-312.pyc
4.31 KB
Rename
Delete
rdata.cpython-312.pyc
37.64 KB
Rename
Delete
rdataclass.cpython-312.pyc
3.42 KB
Rename
Delete
rdataset.cpython-312.pyc
22.37 KB
Rename
Delete
rdatatype.cpython-312.pyc
9.98 KB
Rename
Delete
renderer.cpython-312.pyc
15.75 KB
Rename
Delete
resolver.cpython-312.pyc
86.04 KB
Rename
Delete
reversename.cpython-312.pyc
4.60 KB
Rename
Delete
rrset.cpython-312.pyc
12.16 KB
Rename
Delete
serial.cpython-312.pyc
5.04 KB
Rename
Delete
set.cpython-312.pyc
11.92 KB
Rename
Delete
tokenizer.cpython-312.pyc
25.91 KB
Rename
Delete
transaction.cpython-312.pyc
28.62 KB
Rename
Delete
tsig.cpython-312.pyc
16.35 KB
Rename
Delete
tsigkeyring.cpython-312.pyc
2.81 KB
Rename
Delete
ttl.cpython-312.pyc
2.37 KB
Rename
Delete
update.cpython-312.pyc
15.87 KB
Rename
Delete
version.cpython-312.pyc
752 bytes
Rename
Delete
versioned.cpython-312.pyc
14.26 KB
Rename
Delete
win32util.cpython-312.pyc
9.31 KB
Rename
Delete
wire.cpython-312.pyc
5.30 KB
Rename
Delete
xfr.cpython-312.pyc
14.12 KB
Rename
Delete
zone.cpython-312.pyc
65.90 KB
Rename
Delete
zonefile.cpython-312.pyc
32.97 KB
Rename
Delete
zonetypes.cpython-312.pyc
1.29 KB
Rename
Delete
� !��g� � � � d Z ddlZddlZddlZddlZej j d� Zej j d� Z ee fde dej j dej j dej j fd �Zee fd ej j dej j dej j de fd�Z y)zDNS Reverse Map Names.� Nz in-addr.arpa.z ip6.arpa.�text� v4_origin� v6_origin�returnc �8 � t j j | � }t j j |� r|dd D �cg c] }d|z �� }}|}n;t t j |� j � � D �cg c] }|�� }}|}t j j dj t |� � |�� S c c}w c c}w # t $ r: t j j | � D �cg c] }d|z �� nc c}w }}|}Y ��w xY w)a� Convert an IPv4 or IPv6 address in textual form into a Name object whose value is the reverse-map domain name of the address. *text*, a ``str``, is an IPv4 or IPv6 address in textual form (e.g. '127.0.0.1', '::1') *v4_origin*, a ``dns.name.Name`` to append to the labels corresponding to the address if the address is an IPv4 address, instead of the default (in-addr.arpa.) *v6_origin*, a ``dns.name.Name`` to append to the labels corresponding to the address if the address is an IPv6 address, instead of the default (ip6.arpa.) Raises ``dns.exception.SyntaxError`` if the address is badly formed. Returns a ``dns.name.Name``. � Nz%d�.)�origin)�dns�ipv6� inet_aton� is_mapped�str�binascii�hexlify�decode� Exception�ipv4�name� from_text�join�reversed)r r r �v6�byte�partsr �xs �>/opt/hc_python/lib/python3.12/site-packages/dns/reversename.py�from_addressr s� � �0 � �X�X� � �� %���8�8���b�!�-/���W�5�W�T�T�D�[�W�E�5��F� #�H�$4�$4�R�$8�$?�$?�$A� B�C� B�1�Q� B�E�C��F� �8�8���c�h�h�x���7���G�G�� 6�� D��� �),���);�);�D�)A�B�)A�����)A��B��B����s<