shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.191.92.32
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : socketserver.cpython-313.pyc
�

2}g�l���SrSrSSKrSSKrSSKrSSKrSSKrSSKJr SSK	J
r	 /SQr\"\S5(a\R/SQ5 \"\S	5(a4\R/S
Q5 \"\S5(a\RSS/5 \"\S
5(a
\RrO\R r"SS5r"SS\5r"SS\5r\"\S5(a
"SS5r"SS\5r"SS5r"SS5r\"\S5(a"SS\\5r"SS\\5r"S S!\\5r"S"S#\\5r\"\S	5(aT"S$S%\5r"S&S'\5r"S(S)\\5r"S*S+\\5r \"\S5(a"S,S\\5r!"S-S\\5r""S.S/5r#"S0S1\#5r$"S2S3\5r%"S4S5\#5r&g)6aqGeneric socket server classes.

This module tries to capture the various aspects of defining a server:

For socket-based servers:

- address family:
        - AF_INET{,6}: IP (Internet Protocol) sockets (default)
        - AF_UNIX: Unix domain sockets
        - others, e.g. AF_DECNET are conceivable (see <socket.h>
- socket type:
        - SOCK_STREAM (reliable stream, e.g. TCP)
        - SOCK_DGRAM (datagrams, e.g. UDP)

For request-based servers (including socket-based):

- client address verification before further looking at the request
        (This is actually a hook for any processing that needs to look
         at the request before anything else, e.g. logging)
- how to handle multiple requests:
        - synchronous (one request is handled at a time)
        - forking (each request is handled by a new process)
        - threading (each request is handled by a new thread)

The classes in this module favor the server type that is simplest to
write: a synchronous TCP/IP server.  This is bad class design, but
saves some typing.  (There's also the issue that a deep class hierarchy
slows down method lookups.)

There are five classes in an inheritance diagram, four of which represent
synchronous servers of four types:

        +------------+
        | BaseServer |
        +------------+
              |
              v
        +-----------+        +------------------+
        | TCPServer |------->| UnixStreamServer |
        +-----------+        +------------------+
              |
              v
        +-----------+        +--------------------+
        | UDPServer |------->| UnixDatagramServer |
        +-----------+        +--------------------+

Note that UnixDatagramServer derives from UDPServer, not from
UnixStreamServer -- the only difference between an IP and a Unix
stream server is the address family, which is simply repeated in both
unix server classes.

Forking and threading versions of each type of server can be created
using the ForkingMixIn and ThreadingMixIn mix-in classes.  For
instance, a threading UDP server class is created as follows:

        class ThreadingUDPServer(ThreadingMixIn, UDPServer): pass

The Mix-in class must come first, since it overrides a method defined
in UDPServer! Setting the various member variables also changes
the behavior of the underlying server mechanism.

To implement a service, you must derive a class from
BaseRequestHandler and redefine its handle() method.  You can then run
various versions of the service by combining one of the server classes
with your request handler class.

The request handler class must be different for datagram or stream
services.  This can be hidden by using the request handler
subclasses StreamRequestHandler or DatagramRequestHandler.

Of course, you still have to use your head!

For instance, it makes no sense to use a forking server if the service
contains state in memory that can be modified by requests (since the
modifications in the child process would never reach the initial state
kept in the parent process and passed to each child).  In this case,
you can use a threading server, but you will probably have to use
locks to avoid two requests that come in nearly simultaneous to apply
conflicting changes to the server state.

On the other hand, if you are building e.g. an HTTP server, where all
data is stored externally (e.g. in the file system), a synchronous
class will essentially render the service "deaf" while one request is
being handled -- which may be for a very long time if a client is slow
to read all the data it has requested.  Here a threading or forking
server is appropriate.

In some cases, it may be appropriate to process part of a request
synchronously, but to finish processing in a forked child depending on
the request data.  This can be implemented by using a synchronous
server and doing an explicit fork in the request handler class
handle() method.

Another approach to handling multiple simultaneous requests in an
environment that supports neither threads nor fork (or where these are
too expensive or inappropriate for the service) is to maintain an
explicit table of partially finished requests and to use a selector to
decide which request to work on next (or whether to handle a new
incoming request).  This is particularly important for stream services
where each client can potentially be connected for a long time (if
threads or subprocesses cannot be used).

Future work:
- Standard classes for Sun RPC (which uses either UDP or TCP)
- Standard mix-in classes to implement various authentication
  and encryption schemes

XXX Open problems:
- What to do with out-of-band data?

BaseServer:
- split generic "request" functionality out into BaseServer class.
  Copyright (C) 2000  Luke Kenneth Casson Leighton <lkcl@samba.org>

  example: read entries from a SQL database (requires overriding
  get_request() to return a table entry from the database).
  entry is processed by a RequestHandlerClass.

z0.4�N)�BufferedIOBase)�	monotonic)	�
BaseServer�	TCPServer�	UDPServer�ThreadingUDPServer�ThreadingTCPServer�BaseRequestHandler�StreamRequestHandler�DatagramRequestHandler�ThreadingMixIn�fork)�ForkingUDPServer�ForkingTCPServer�ForkingMixIn�AF_UNIX)�UnixStreamServer�UnixDatagramServer�ThreadingUnixStreamServer�ThreadingUnixDatagramServer�ForkingUnixStreamServer�ForkingUnixDatagramServer�PollSelectorc��\rSrSrSrSrSrSrSSjrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSrg)r�aSBase class for server classes.

Methods for the caller:

- __init__(server_address, RequestHandlerClass)
- serve_forever(poll_interval=0.5)
- shutdown()
- handle_request()  # if you do not use serve_forever()
- fileno() -> int   # for selector

Methods that may be overridden:

- server_bind()
- server_activate()
- get_request() -> request, client_address
- handle_timeout()
- verify_request(request, client_address)
- server_close()
- process_request(request, client_address)
- shutdown_request(request)
- close_request(request)
- service_actions()
- handle_error()

Methods for derived classes:

- finish_request(request, client_address)

Class variables that may be overridden by derived classes or
instances:

- timeout
- address_family
- socket_type
- allow_reuse_address
- allow_reuse_port

Instance variables:

- RequestHandlerClass
- socket

Nc�^�XlX l[R"5UlSUlg)�/Constructor.  May be extended, do not override.FN)�server_address�RequestHandlerClass�	threading�Event�_BaseServer__is_shut_down�_BaseServer__shutdown_request)�selfrrs   �3/opt/alt/python313/lib64/python3.13/socketserver.py�__init__�BaseServer.__init__�s%��,��#6� �'�o�o�/���"'���c��g�zCCalled by constructor to activate the server.

May be overridden.

N��r$s r%�server_activate�BaseServer.server_activate����	
r(c�,�URR5 [5nURU[R
5 UR(d]URU5nUR(aO:U(aUR5 UR5 UR(dM]SSS5 SUlURR5 g!,(df   N0=f!SUlURR5 f=f)z�Handle one request at a time until shutdown.

Polls for shutdown every poll_interval seconds. Ignores
self.timeout. If you need to do periodic tasks, do them in
another thread.
NF)r"�clear�_ServerSelector�register�	selectors�
EVENT_READr#�select�_handle_request_noblock�service_actions�set)r$�
poll_interval�selector�readys    r%�
serve_forever�BaseServer.serve_forever�s���	
���!�!�#�	&�
!�"�h��!�!�$�	�(<�(<�=��1�1�$�O�O�M�:�E��.�.����4�4�6��(�(�*��1�1�1�#�',�D�#����#�#�%�#�"��',�D�#����#�#�%�s#�
C0�B
C�5C0�
C-�)C0�0#Dc�F�SUlURR5 g)z�Stops the serve_forever loop.

Blocks until the loop has finished. This must be called while
serve_forever() is running in another thread, or it will
deadlock.
TN)r#r"�waitr,s r%�shutdown�BaseServer.shutdown�s��#'������ � �"r(c��g)z�Called by the serve_forever() loop.

May be overridden by a subclass / Mixin to implement any code that
needs to be run during the loop.
Nr+r,s r%r8�BaseServer.service_actionsr/r(c���URR5nUc
URnO"URb[XR5nUb
[	5U-n[5nUR
U[R5 URU5(aUR5sSSS5 $Ub,W[	5-
nUS:aUR5sSSS5 $M`!,(df   g=f)z?Handle one request, possibly blocking.

Respects self.timeout.
Nr)�socket�
gettimeout�timeout�min�timer2r3r4r5r6r7�handle_timeout)r$rH�deadliner;s    r%�handle_request�BaseServer.handle_requests����+�+�(�(�*���?��l�l�G�
�\�\�
%��'�<�<�0�G����v��'�H��
�(����d�I�$8�$8�9���?�?�7�+�+��7�7�9��
��*�"*�T�V�"3��"�Q�;�#'�#6�#6�#8��
���
�s�'AC)�8%C)�'C)�)
C7c�F�UR5upURX5(aURX5 gUR
U5 g![a gf=f![a% URX5 UR
U5 g UR
U5 e=f)z�Handle one request, without blocking.

I assume that selector.select() has returned that the socket is
readable before this function was called, so there should be no risk of
blocking in get_request().
N)�get_request�OSError�verify_request�process_request�	Exception�handle_error�shutdown_request�r$�request�client_addresss   r%r7�"BaseServer._handle_request_noblock1s���	�&*�&6�&6�&8�#�G����w�7�7�
��$�$�W�=�
�!�!�'�*���	��	��
�
/��!�!�'�:��%�%�g�.�
��%�%�g�.��s"�A�A�
A�A�,B �
B c��g)zSCalled if no new request arrives within self.timeout.

Overridden by ForkingMixIn.
Nr+r,s r%rK�BaseServer.handle_timeoutHs��
	
r(c��g)z^Verify the request.  May be overridden.

Return True if we should proceed with this request.

Tr+rWs   r%rR�BaseServer.verify_requestOs��r(c�H�URX5 URU5 g)zFCall finish_request.

Overridden by ForkingMixIn and ThreadingMixIn.

N)�finish_requestrVrWs   r%rS�BaseServer.process_requestWs ��	
���G�4����g�&r(c��g�z4Called to clean-up the server.

May be overridden.

Nr+r,s r%�server_close�BaseServer.server_close`r/r(c�(�URXU5 g)z8Finish one request by instantiating RequestHandlerClass.N)rrWs   r%r`�BaseServer.finish_requesths��� � ��$�?r(c�&�URU5 g�z3Called to shutdown and close an individual request.N��
close_request�r$rXs  r%rV�BaseServer.shutdown_requestl������7�#r(c��g�z)Called to clean up an individual request.Nr+rls  r%rk�BaseServer.close_requestp���r(c��[S[RS9 [SU[RS9 SSKnUR	5 [S[RS9 g)zdHandle an error gracefully.  May be overridden.

The default is to print a traceback and continue.

z(----------------------------------------)�filez4Exception occurred during processing of request fromrN)�print�sys�stderr�	traceback�	print_exc)r$rXrYrxs    r%rU�BaseServer.handle_errortsC��	�f�3�:�:�&�
�D�����	-������
�f�3�:�:�&r(c��U$�Nr+r,s r%�	__enter__�BaseServer.__enter__�s���r(c�$�UR5 gr|)rd)r$�argss  r%�__exit__�BaseServer.__exit__�s�����r()r�__is_shut_down�__shutdown_requestr)g�?)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rHr&r-r=rAr8rMr7rKrRrSrdr`rVrkrUr}r��__static_attributes__r+r(r%rr�se��*�X�G�(�
�&�:#�
�&9�:+�.
��'�
�@�$�
�'��r(rc��\rSrSrSr\Rr\Rr	Sr
SrSrSSjr
SrSrSrS	rS
rSrSrS
rg)ri�a�Base class for various socket-based server classes.

Defaults to synchronous IP stream (i.e., TCP).

Methods for the caller:

- __init__(server_address, RequestHandlerClass, bind_and_activate=True)
- serve_forever(poll_interval=0.5)
- shutdown()
- handle_request()  # if you don't use serve_forever()
- fileno() -> int   # for selector

Methods that may be overridden:

- server_bind()
- server_activate()
- get_request() -> request, client_address
- handle_timeout()
- verify_request(request, client_address)
- process_request(request, client_address)
- shutdown_request(request)
- close_request(request)
- handle_error()

Methods for derived classes:

- finish_request(request, client_address)

Class variables that may be overridden by derived classes or
instances:

- timeout
- address_family
- socket_type
- request_queue_size (only for stream sockets)
- allow_reuse_address
- allow_reuse_port

Instance variables:

- server_address
- RequestHandlerClass
- socket

�Fc��[RXU5 [R"URUR5UlU(a"UR5 UR
5 gg! UR5 e=f)rN)rr&rF�address_family�socket_type�server_bindr-rd)r$rr�bind_and_activates    r%r&�TCPServer.__init__�so�����D�2E�F��m�m�D�$7�$7�$(�$4�$4�6����
�� � �"��$�$�&���
��!�!�#��s� A1�1Bc��UR(aN[[S5(a9URR[R[R
S5 UR(aN[[S5(a9URR[R[RS5 URRUR5 URR5Ul	g)z?Called by constructor to bind the socket.

May be overridden.

�SO_REUSEADDR��SO_REUSEPORTN)�allow_reuse_address�hasattrrF�
setsockopt�
SOL_SOCKETr��allow_reuse_portr��bindr�getsocknamer,s r%r��TCPServer.server_bind�s����#�#����(G�(G��K�K�"�"�6�#4�#4�f�6I�6I�1�M�� � �W�V�^�%D�%D��K�K�"�"�6�#4�#4�f�6I�6I�1�M�������,�,�-�"�k�k�5�5�7��r(c�N�URRUR5 gr*)rF�listen�request_queue_sizer,s r%r-�TCPServer.server_activate�s��	
�����4�2�2�3r(c�8�URR5 grc)rF�closer,s r%rd�TCPServer.server_close�s��	
�����r(c�6�URR5$)z=Return socket file number.

Interface required by selector.

)rF�filenor,s r%r��TCPServer.fileno�����{�{�!�!�#�#r(c�6�URR5$)zIGet the request and client address from the socket.

May be overridden.

)rF�acceptr,s r%rP�TCPServer.get_request�r�r(c��UR[R5 UR	U5 g![a Nf=fri)rArF�SHUT_WRrQrkrls  r%rV�TCPServer.shutdown_request�s?��	�
���V�^�^�,�	
���7�#���	��	�s�3�
A�Ac�$�UR5 grp)r�rls  r%rk�TCPServer.close_requests���
�
�r()rrFN)T)r�r�r�r�r�rF�AF_INETr��SOCK_STREAMr�r�r�r�r&r�r-rdr�rPrVrkr�r+r(r%rr�sX��,�\�^�^�N��$�$�K��������8�4��$�$�$�r(rc�T�\rSrSrSrSrSr\Rr	Sr
SrSrSr
SrS	rg
)rizUDP server class.Fi c�n�URRUR5upXR4U4$r|)rF�recvfrom�max_packet_size)r$�data�client_addrs   r%rP�UDPServer.get_requests1�� �K�K�0�0��1E�1E�F����k�k�"�K�/�/r(c��gr|r+r,s r%r-�UDPServer.server_activaterrr(c�&�URU5 gr|rjrls  r%rV�UDPServer.shutdown_requestrnr(c��gr|r+rls  r%rk�UDPServer.close_request#rrr(r+N)r�r�r�r�r�r�r�rF�
SOCK_DGRAMr�r�rPr-rVrkr�r+r(r%rrs5��������#�#�K��O�0�
�$�
r(rc�\^�\rSrSrSrSrSrSrSrSS.S	jr	S
r
SrSrU4S
jr
SrU=r$)ri(z5Mix-in class to handle each request in a new process.i,N�(TF��blockingc���URcg[UR5UR:�aZ[R"SS5up#URRU5 [UR5UR:�aMZURR5HPnU(aSO[Rn[R"X$5up#URRU5 MR g![a URR5 N�[a M�f=f![a URRU5 M�[a M�f=f)z7Internal routine to wait for children that have exited.N���r)�active_children�len�max_children�os�waitpid�discard�ChildProcessErrorr1rQ�copy�WNOHANG)r$r��pid�_�flagss     r%�collect_children�ForkingMixIn.collect_children1s"���#�#�+���d�*�*�+�t�/@�/@�@���Z�Z��A�.�F�C��(�(�0�0��5��d�*�*�+�t�/@�/@�@��+�+�0�0�2��
�!)�A�r�z�z�E��Z�Z��3�F�C��(�(�0�0��5�
3��)�1��(�(�.�.�0������)�6��(�(�0�0��5�����s0�4C;�*AD1�;$D.�!	D.�-D.�1%E&�	E&�%E&c�$�UR5 g)z^Wait for zombies after self.timeout seconds of inactivity.

May be extended, do not override.
N�r�r,s r%rK�ForkingMixIn.handle_timeoutT���

�!�!�#r(c�$�UR5 g)z�Collect the zombie child processes regularly in the ForkingMixIn.

service_actions is called in the BaseServer's serve_forever loop.
Nr�r,s r%r8�ForkingMixIn.service_actions[r�r(c�R�[R"5nU(aIURc[5UlURR	U5 URU5 gSnUR
X5 SnURU5 [R"U5 g![a URX5 NFf=f![R"U5 f=f!URU5 [R"U5 f![R"U5 f=f=f)z-Fork a new subprocess to process the request.Nr�r)r�rr�r9�addrkr`rTrUrV�_exit)r$rXrYr��statuss     r%rS�ForkingMixIn.process_requestbs����'�'�)�C���'�'�/�+.�5�D�(��$�$�(�(��-��"�"�7�+����	)��'�'��@��F�)��-�-�g�6�����(��
!�?��%�%�g�>�?������(��)��-�-�g�6�����(������(�sH�)B%�=C�%C�C!�C�C!�C�!D&�#D�4D&�D#�#D&c�T>�[TU]5 URURS9 g)Nr�)�superrdr��block_on_close�r$�	__class__s �r%rd�ForkingMixIn.server_close{s%����G� �"��!�!�4�+>�+>�!�?r()r�)r�r�r�r�r�rHr�r�r�r�rKr8rSrdr��
__classcell__�r�s@r%rr(s>���C���������/4�!	�F	$�	$�	)�2	@�	@r(rc�>^�\rSrSrSrU4SjrSrSrSrSr	U=r
$)�_Threadsi�z*
Joinable list of all non-daemon threads.
c�h>�UR5 UR(ag[TU]
U5 gr|)�reap�daemonr��append)r$�threadr�s  �r%r��_Threads.append�s"����	�	���=�=��
���v�r(c��/USSsUSS&nU$r|r+)r$�results  r%�pop_all�_Threads.pop_all�s���d�1�g���Q����
r(c�R�UR5HnUR5 M gr|)r��join�r$r�s  r%r��
_Threads.join�s���l�l�n�F��K�K�M�%r(c��SU5USS&g)Nc3�R# �UHoR5(dMUv� M g7fr|)�is_alive)�.0r�s  r%�	<genexpr>� _Threads.reap.<locals>.<genexpr>�s���B��f���0A�6�6��s�'�	'r+r,s r%r��
_Threads.reap�s��B��B��Q�r(r+)r�r�r�r�r�r�r�r�r�r�r�r�s@r%r�r��s#�������C�Cr(r�c�$�\rSrSrSrSrSrSrg)�
_NoThreadsi�z!
Degenerate version of _Threads.
c��gr|r+r�s  r%r��_NoThreads.append����r(c��gr|r+r,s r%r��_NoThreads.join�rr(r+N)r�r�r�r�r�r�r�r�r+r(r%rr�s���
�
r(rc�N^�\rSrSrSrSrSr\"5rSr	Sr
U4SjrSrU=r
$)	r
i�z4Mix-in class to handle each request in a new thread.FTc��URX5 URU5 g![a URX5 N/f=f!URU5 f=f)zWSame as in BaseServer but as a thread.

In addition, exception handling is done here.

N)r`rTrUrVrWs   r%�process_request_thread�%ThreadingMixIn.process_request_thread�sU��	+�����8�
�!�!�'�*���	7����g�6�	7��
�!�!�'�*�s!�%�A�A�A�A�Ac�$�UR(a#[U5RS[55 [R
"URX4S9nURUlURRU5 UR5 g)z*Start a new thread to process the request.�_threads)�targetr�N)r��vars�
setdefaultr�r �Threadr	�daemon_threadsr�rr��start)r$rXrY�ts    r%rS�ThreadingMixIn.process_request�sg�������J�!�!�*�h�j�9����d�&A�&A�%,�$=�
?���&�&����
�
���Q��	���	r(c�V>�[TU]5 URR5 gr|)r�rdrr�r�s �r%rd�ThreadingMixIn.server_close�s���
�����
�
���r(r+)r�r�r�r�r�rr�rrr	rSrdr�r�r�s@r%r
r
�s/���>��N��N��|�H�+���r(r
c��\rSrSrSrg)ri�r+N�r�r�r�r�r�r+r(r%rr����Tr(rc��\rSrSrSrg)ri�r+Nrr+r(r%rr�rr(rc��\rSrSrSrg)ri�r+Nrr+r(r%rr�rr(rc��\rSrSrSrg)r	i�r+Nrr+r(r%r	r	�rr(r	c�,�\rSrSr\R
rSrg)ri�r+N�r�r�r�r�rFrr�r�r+r(r%rr�������r(rc�,�\rSrSr\R
rSrg)ri�r+Nrr+r(r%rr�rr(rc��\rSrSrSrg)ri�r+Nrr+r(r%rr����tr(rc��\rSrSrSrg)ri�r+Nrr+r(r%rr����4r(rc��\rSrSrSrg)ri�r+Nrr+r(r%rr�r"r(c��\rSrSrSrg)ri�r+Nrr+r(r%rr�r$r(c�0�\rSrSrSrSrSrSrSrSr	g)	r
i�ayBase class for request handler classes.

This class is instantiated for each request to be handled.  The
constructor sets the instance variables request, client_address
and server, and then calls the handle() method.  To implement a
specific service, all you need to do is to derive a class which
defines a handle() method.

The handle() method can find the request as self.request, the
client address as self.client_address, and the server (in case it
needs access to per-server information) as self.server.  Since a
separate instance is created for each request, the handle() method
can define other arbitrary instance variables.

c��XlX lX0lUR5 UR	5 UR5 g!UR5 f=fr|)rXrY�server�setup�handle�finish)r$rXrYr)s    r%r&�BaseRequestHandler.__init__�s<����,�����
�
��	��K�K�M��K�K�M��D�K�K�M�s�A�Ac��gr|r+r,s r%r*�BaseRequestHandler.setup�rr(c��gr|r+r,s r%r+�BaseRequestHandler.handlerr(c��gr|r+r,s r%r,�BaseRequestHandler.finishrr()rYrXr)N)
r�r�r�r�r�r&r*r+r,r�r+r(r%r
r
�s��� �
�
�
r(r
c�4�\rSrSrSrSrSrSrSrSr	Sr
S	rg)
riz4Define self.rfile and self.wfile for stream sockets.r�rNFc� �URUlURb%URRUR5 UR(a9URR[R[RS5 URRSUR5UlURS:Xa[UR5UlgURRSUR5Ulg)NT�rbr�wb)rX�
connectionrH�
settimeout�disable_nagle_algorithmr�rF�IPPROTO_TCP�TCP_NODELAY�makefile�rbufsize�rfile�wbufsize�
_SocketWriter�wfiler,s r%r*�StreamRequestHandler.setup$s����,�,����<�<�#��O�O�&�&�t�|�|�4��'�'��O�O�&�&�v�'9�'9�'-�'9�'9�4�
A��_�_�-�-�d�D�M�M�B��
��=�=�A��&�t���7�D�J����1�1�$��
�
�F�D�Jr(c��URR(dURR5 URR5 URR5 g![Ra NKf=fr|)rB�closed�flushrF�errorr�r?r,s r%r,�StreamRequestHandler.finish1s`���z�z� � �
��
�
� � �"�
	
�
�
�����
�
������<�<�
��
�s�A,�,B�B)r8r?rB)r�r�r�r�r�r>r@rHr:r*r,r�r+r(r%rrs+��>��H��H��G�$��G�	r(rc�0�\rSrSrSrSrSrSrSrSr	g)	rAi<z~Simple writable BufferedIOBase implementation for a socket

Does not hold data in a buffer, avoiding any need to call flush().c��Xlgr|��_sock)r$�socks  r%r&�_SocketWriter.__init__As���
r(c��g)NTr+r,s r%�writable�_SocketWriter.writableDs��r(c��URRU5 [U5nURsSSS5 $!,(df   g=fr|)rL�sendall�
memoryview�nbytes)r$�b�views   r%�write�_SocketWriter.writeGs.���
�
���1��
��]�d��;�;��]�]�s	�=�
Ac�6�URR5$r|)rLr�r,s r%r��_SocketWriter.filenoLs���z�z� � �"�"r(rKN)
r�r�r�r�r�r&rPrXr�r�r+r(r%rArA<s��J����
#r(rAc�$�\rSrSrSrSrSrSrg)riOz6Define self.rfile and self.wfile for datagram sockets.c��SSKJn URuUlUlU"UR5UlU"5Ulg)Nr)�BytesIO)�ior^rX�packetrFr?rB)r$r^s  r%r*�DatagramRequestHandler.setupSs0���#'�<�<� ���T�[��T�[�[�)��
��Y��
r(c��URRURR5UR5 gr|)rF�sendtorB�getvaluerYr,s r%r,�DatagramRequestHandler.finishYs)�������4�:�:�.�.�0�$�2E�2E�Fr()r`r?rFrBN)r�r�r�r�r�r*r,r�r+r(r%rrOs��@��Gr(r)'r��__version__rFr4r�rvr r_rrJr�__all__r��extendrr2�SelectSelectorrrrr�listr�rr
rrrr	rrrrrrr
rrArr+r(r%�<module>rks���v�t����	�
���"�7���2�v����N�N�J�K�
�6�9����N�N�3�4��r�6������1�3N�O�P��9�n�%�%��,�,�O��.�.�O�j�j�Z@�
�@�F
�	�
�8�2�v���U@�U@�pC�t�C�,
�
�%�%�P�2�v���9�<��9�9�<��9�9���9�9���9�
�6�9���(�9�(�(�Y�(�L�N�4D�K�O�n�6H�O��r�6���K�l�4D�K�O��6H�O�#
�#
�\+�-�+�Z#�N�#�&G�/�Gr(
© 2025 GrazzMean-Shell