403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/ipaclient/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/ipaclient/plugins/__pycache__/baseuser.cpython-39.pyc
a

�ji��@szddlZddlZddlZddlmZddlmZddlmZmZm	Z	ddl
mZddlm
Z
e�e�ZGdd�de�ZdS)	�N)�MethodOverride)�errors)�Bool�Flag�StrEnum)�_)�pathsc	speZdZedded�d�edded�d�edded	�d
d�edd
ed�dd�fZ�fdd�Z�fdd�Z	�Z
S)�baseuser_add_passkey�registerzRegister the passkey)�cli_name�doczrequire_user_verification?�require_user_verificationz@Require user verification during authentication with the passkeyz	cosetype?Z	cose_typez!COSE type to use for registration)Zes256Zrs256Zeddsa)rr�valuesz	credtype?Z	cred_typezCredential type)zserver-sideZdiscoverablec#s>tt|���D]*}|jdkr.|jddd�Vq|��VqdS)NZ
ipapasskeyF)�requiredZ	alwaysask)�superr	�get_args�nameZclone)�self�arg��	__class__��>/usr/lib/python3.9/site-packages/ipaclient/plugins/baseuser.pyr,s
zbaseuser_add_passkey.get_argscs�|jjjdk�r�tt|���D]&}|r||vrtjtd��	|�d��qd|v�r�t
j�t
j�svtjdtd�t
jd��|�d�|�dd�}|�dd�}|�d	d�}t
jd
d|jjjd|d
g}|r�|�d�|�|�|dur�|�d�|�t|����|�r|�d�|�|�t�d|�d}tj|tjddd��@}	|	jD](}
|
�d��r\|
��}nt|
����qBWd�n1�s�0Y|	jd
k�r�tjdd��|d
|gf}tt|�j |i|��S)NZcliz*cannot specify both %s and passkey mapping)�reasonr
zUMissing executable %s, use the command with LOGIN PASSKEY instead of LOGIN --register)r�error�cosetyper
�credtypez
--registerz--domainz
--usernamerz--typez--user-verificationz--cred-typezExecuting command: %s�T)�stdout�bufsizeZuniversal_newlineszpasskey:zFailed to generate passkey)!Zapi�env�contextrr	Zget_optionsrZMutuallyExclusiveErrorr�format�os�path�existsrZ
PASSKEY_CHILDZValidationError�pop�domain�append�str�lower�logger�debug�
subprocess�Popen�PIPEr�
startswith�strip�print�
returncodeZNotFound�forward)r�args�options�optionrZ
require_verifr�cmdZpasskeyZsubp�linerrrr45s^��
��

�





�

0zbaseuser_add_passkey.forward)�__name__�
__module__�__qualname__rrrrZ
takes_optionsrr4�
__classcell__rrrrr	s2�����	r	)r#Zloggingr-Zipaclient.frontendrZipalibrrrrZipalib.textrZipaplatform.pathsrZ	getLoggerr:r+r	rrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit