![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/twisted/tap/__pycache__/ |
o �b� � @ sF d Z ddlmZ ddlmZ ddlmZ G dd� dej�Zdd� Zd S ) z? I am a support module for making SOCKSv4 servers with twistd. � )�internet)�socks)�usagec @ sF e Zd ZdZg d�g d�g d�gZeje�d�e�� d�d�Z dZ d S ) �Optionsz([-i <interface>] [-p <port>] [-l <file>])� interface�i� 127.0.0.1z"local interface to which we listen)�port�pi8 zPort on which to listen)�log�lNzfile to log connection data toz*.log)r r )� optActionszMakes a SOCKSv4 server.N)�__name__� __module__�__qualname__�synopsis� optParametersr �Completions� CompleteFiles�CompleteNetInterfaces�compData�longdesc� r r �3/usr/lib/python3/dist-packages/twisted/tap/socks.pyr s ���r c C sf | d dkrt � t d� t d� t d� t d� t � t�| d �}t| d �}tj||| d d �S ) Nr r zWARNING:z5 You have chosen to listen on a non-local interface.z7 This may allow intruders to access your local networkz if you run this on a firewall.r r )r )�printr �SOCKSv4Factory�intr � TCPServer)�config�t�portnor r r �makeService s r! N) �__doc__�twisted.applicationr �twisted.protocolsr �twisted.pythonr r r! r r r r �<module> s