0x1949 Team - FAZEMRX - MANAGER
Edit File: socks.cpython-310.pyc
o �b� � @ s� d Z ddlZddlZddlZddlZddlmZmZmZ ddl m Z G dd� dej�ZG dd� dej�Z G d d � d ej�ZG dd� dej�ZG d d� dej�ZdS )z) Implementation of the SOCKSv4 protocol. � N)�defer�protocol�reactor)�logc @ s4 e Zd Zdd� Zdd� Zdd� Zdd� Zd d � ZdS )�SOCKSv4Outgoingc C � || _ d S �N)�socks��selfr � r �9/usr/lib/python3/dist-packages/twisted/protocols/socks.py�__init__ � zSOCKSv4Outgoing.__init__c C s. | j �� }| jjdd|j|jd� | | j_d S )N�Z r )�port�ip)� transport�getPeerr � makeReplyr �host� otherConn)r �peerr r r �connectionMade s zSOCKSv4Outgoing.connectionMadec C � | j j�� d S r �r r �loseConnection�r �reasonr r r �connectionLost � zSOCKSv4Outgoing.connectionLostc C � | j �|� d S r �r �write�r �datar r r �dataReceived! r zSOCKSv4Outgoing.dataReceivedc C � | j �| |� | j�|� d S r �r r r r# r$ r r r r# $ � zSOCKSv4Outgoing.writeN)�__name__� __module__�__qualname__r r r r&