o
    jY                     @   s:   d dl Z d dlmZmZ d dlmZmZ G dd dZdS )    N)urlparseparse_qs)SocksServerVersionSocksProtocolc                   @   s4   e Zd Zdd Zdd Zdd Zdd Zd	d
 ZdS )SocksTargetc                 C   s   d | _ d | _d | _d| _tj| _d| _d| _d | _	t
d d| _d | _d| _d | _d | _d | _d | _d| _d| _d| _d S )NF
   i      ascii)version	server_ipserver_portis_bindr   TCPprototimeoutbuffer_sizessl_ctxosurandomhexencodeuseridagentidwsnet_reuseendpoint_ipendpoint_portendpoint_timeout
credential	only_open	only_auth	only_bindself r#   /root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/asysocks/common/target.py__init__   s$   
zSocksTarget.__init__c                 C      d| j | jf S Nz%s:%s)r   r   r!   r#   r#   r$   	get_sname      zSocksTarget.get_snamec                 C   r&   r'   )r   r   r!   r#   r#   r$   	get_tname"   r)   zSocksTarget.get_tnamec                 C   s
   t | jS N)str__dict__r!   r#   r#   r$   __repr__%   s   
zSocksTarget.__repr__c                 C   s   t | S r+   )reprr!   r#   r#   r$   __str__(   s   zSocksTarget.__str__N)__name__
__module____qualname__r%   r(   r*   r.   r0   r#   r#   r#   r$   r      s    r   )r   urllib.parser   r   asysocks.common.constantsr   r   r   r#   r#   r#   r$   <module>   s   