HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/tap/__pycache__/socks.cpython-310.pyc
o

�b��@sFdZddlmZddlmZddlmZGdd�dej�Zdd�Zd	S)
z?
I am a support module for making SOCKSv4 servers with twistd.
�)�internet)�socks)�usagec@sFeZdZdZgd�gd�gd�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�pi8zPort on which to listen)�log�lNzfile to log connection data toz*.log)rr)�
optActionszMakes a SOCKSv4 server.N)�__name__�
__module__�__qualname__�synopsis�
optParametersr�Completions�
CompleteFiles�CompleteNetInterfaces�compData�longdesc�rr�3/usr/lib/python3/dist-packages/twisted/tap/socks.pyrs���rcCsf|ddkrt�td�td�td�td�t�t�|d�}t|d�}tj|||dd	�S)
NrrzWARNING: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.rr	)r)�printr�SOCKSv4Factory�intr�	TCPServer)�config�t�portnorrr�makeService sr!N)	�__doc__�twisted.applicationr�twisted.protocolsr�twisted.pythonrrr!rrrr�<module>s