Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
3
¢báW ã
@ s´ d Z ddlZddlmZ dZdZdZdZdZ dZ
d Zd
ZdZ
dZd
ZdZeeeee e
eee
eeedœZedd„ ejƒ D ƒƒZG dd„ dejjƒZdd„ Zdd„ Zdd„ Zdd„ ZdS )zDNS Result Codes.é Né )Úlongé é é é é é é é é
é )ÚNOERRORÚFORMERRÚSERVFAILÚNXDOMAINÚNOTIMPÚREFUSEDÚYXDOMAINÚYXRRSETÚNXRRSETÚNOTAUTHÚNOTZONEÚBADVERSc c s | ]\}}||fV qd S )N© )Ú.0ÚxÚyr r ú/usr/lib/python3.6/rcode.pyú 6 s r c @ s e Zd ZdZdS )ÚUnknownRcodezA DNS rcode is unknown.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r r r r 9 s r c C sB | j ƒ r$t| ƒ}|dkr$|dkr$|S tj| jƒ ƒ}|dkr>t‚|S )zšConvert text into an rcode.
@param text: the textual rcode
@type text: string
@raises UnknownRcode: the rcode is unknown
@rtype: int
r iÿ N)ÚisdigitÚintÚ_by_textÚgetÚupperr )ÚtextÚvr r r Ú from_text> s r, c C s0 | d@ |d? d@ B }|dk s$|dkr,t dƒ‚|S )zîReturn the rcode value encoded by flags and ednsflags.
@param flags: the DNS flags
@type flags: int
@param ednsflags: the EDNS flags
@type ednsflags: int
@raises ValueError: rcode is < 0 or > 4095
@rtype: int
é é ið r iÿ zrcode must be >= 0 and <= 4095)Ú
ValueError)ÚflagsZ ednsflagsÚvaluer r r Ú
from_flagsQ s r2 c C s8 | dk s| dkrt dƒ‚| d@ }t| d@ ƒd> }||fS )z½Return a (flags, ednsflags) tuple which encodes the rcode.
@param value: the rcode
@type value: int
@raises ValueError: rcode is < 0 or > 4095
@rtype: (int, int) tuple
r iÿ zrcode must be >= 0 and <= 4095r- ið r. )r/ r )r1 r+ Zevr r r Úto_flagsb s
r3 c C s t j| ƒ}|dkrt| ƒ}|S )zbConvert rcode into text.
@param value: the rcode
@type value: int
@rtype: string
N)Ú _by_valuer( Ústr)r1 r* r r r Úto_textr s
r6 )r$ Z
dns.exceptionZdnsZ_compatr r r r r r r r r r r r r r' ÚdictÚitemsr4 Z exceptionZDNSExceptionr r, r2 r3 r6 r r r r Ú s@