HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/twisted/tap/__pycache__/socks.cpython-38.pyc
U


W[�@sRdZddlmZddlmZddlmZddlmZGdd�dej	�Z	dd	�Z
d
S)z?
I am a support module for making SOCKSv4 servers with twistd.
�)�print_function)�socks)�usage)�internetc@sReZdZdZddddgdddd	gd
ddd
ggZeje�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)rr)Z
optActionszMakes a SOCKSv4 server.)�__name__�
__module__�__qualname__ZsynopsisZ
optParametersrZCompletionsZ
CompleteFilesZCompleteNetInterfacesZcompDataZlongdesc�rr�3/usr/lib/python3/dist-packages/twisted/tap/socks.pyrs


���rcCsf|ddkr8t�td�td�td�td�t�t�|d�}t|d�}tj|||dd	�S)
Nrr	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)�printrZSOCKSv4Factory�intrZ	TCPServer)Zconfig�tZportnorrr�makeServicesrN)�__doc__Z
__future__rZtwisted.protocolsrZtwisted.pythonrZtwisted.applicationrrrrrrr�<module>s