shell bypass 403

Cubjrnet7 Shell


name : 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(

© 2025 Cubjrnet7