shell bypass 403

UnknownSec Shell

: /lib64/python2.7/ [ drwxr-xr-x ]

name : SimpleHTTPServer.pyc
�
zfc@s�dZdZdgZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZyddlm
Z
Wn!ek
r�ddl
m
Z
nXdejfd��YZeejd�Zedkr�e�ndS(	s�Simple HTTP Server.

This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.

s0.6tSimpleHTTPRequestHandleri����N(tStringIOcBs�eZdZdeZd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zej
skej�nejj�Zejid	d
6dd6dd
6dd6�RS(sWSimple 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.

    sSimpleHTTP/cCs>|j�}|r:z|j||j�Wd|j�XndS(sServe a GET request.N(t	send_headtcopyfiletwfiletclose(tselftf((s(/usr/lib64/python2.7/SimpleHTTPServer.pytdo_GET+s
cCs#|j�}|r|j�ndS(sServe a HEAD request.N(RR(RR((s(/usr/lib64/python2.7/SimpleHTTPServer.pytdo_HEAD4sc	Cs�|j|j�}d}tjj|�rtj|j�}|jjd�s�|jd�|d|d|dd|d|df}tj	|�}|j
d|�|j�dSxOdD]7}tjj||�}tjj
|�r�|}Pq�q�W|j|�Sn|j|�}yt|d�}Wn"tk
rM|jdd
�dSXyz|jd�|j
d|�tj|j��}|j
dt|d��|j
d|j|j��|j�|SWn|j��nXdS(s{Common code for GET and HEAD commands.

        This sends the response code and MIME headers.

        Return value is either a file object (which has to be copied
        to the outputfile by the caller unless the command was HEAD,
        and must be closed by the caller under all circumstances), or
        None, in which case the caller has nothing further to do.

        t/i-iiiiitLocations
index.htmls	index.htmtrbi�sFile not foundi�sContent-typesContent-Lengthis
Last-ModifiedN(s
index.htmls	index.htm(ttranslate_pathtpathtNonetostisdirturlparseturlsplittendswitht
send_responset
urlunsplittsend_headertend_headerstjointexiststlist_directoryt
guess_typetopentIOErrort
send_errortfstattfilenotstrtdate_time_stringtst_mtimeR(	RRRtpartst	new_partstnew_urltindextctypetfs((s(/usr/lib64/python2.7/SimpleHTTPServer.pyR:sF






cCs�ytj|�}Wn%tjk
r:|jdd�dSX|jdd��t�}tjt	j
|j��}|jd�|jd|�|jd|�|jd�x�|D]�}tjj
||�}|}}tjj|�r|d	}|d	}ntjj|�r"|d
}n|jdt	j|�tj|�f�q�W|jd�|j�}	|jd
�|jd�tj�}
|jdd|
�|jdt|	��|j�|S(s�Helper to produce a directory listing (absent index.html).

        Return value is either a file object, or None (indicating an
        error).  In either case, the headers are sent, making the
        interface the same as for send_head().

        i�sNo permission to list directorytkeycSs
|j�S(N(tlower(ta((s(/usr/lib64/python2.7/SimpleHTTPServer.pyt<lambda>{ts7<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">s/<html>
<title>Directory listing for %s</title>
s)<body>
<h2>Directory listing for %s</h2>
s
<hr>
<ul>
R
t@s<li><a href="%s">%s</a>
s</ul>
<hr>
</body>
</html>
ii�sContent-typestext/html; charset=%ssContent-LengthN(RtlistdirterrorRRtsortRtcgitescapeturllibtunquoteRtwriteRRtislinktquotettelltseekRtsystgetfilesystemencodingRR"R(RRtlistRtdisplaypathtnametfullnametdisplaynametlinknametlengthtencoding((s(/usr/lib64/python2.7/SimpleHTTPServer.pyRns>	






	$



cCs�|jdd�d}|jdd�d}|j�jd�}tjtj|��}|jd�}td|�}t	j
�}xS|D]K}t	jj|�s�|t	j
t	jfkr�q�nt	jj||�}q�W|r�|d7}n|S(s�Translate a /-separated PATH to the local filename syntax.

        Components that mean special things to the local file system
        (e.g. drive or directory names) are ignored.  (XXX They should
        probably be diagnosed.)

        t?iit#R
N(tsplittrstripRt	posixpathtnormpathR6R7tfilterRRtgetcwdRtdirnametcurdirtpardirR(RRttrailing_slashtwordstword((s(/usr/lib64/python2.7/SimpleHTTPServer.pyR
�s	
*
cCstj||�dS(s�Copy all data between two file objects.

        The SOURCE argument is a file object open for reading
        (or anything with a read() method) and the DESTINATION
        argument is a file object open for writing (or
        anything with a write() method).

        The only reason for overriding this would be to change
        the block size or perhaps to replace newlines by CRLF
        -- note however that this the default server uses this
        to copy binary data as well.

        N(tshutiltcopyfileobj(Rtsourcet
outputfile((s(/usr/lib64/python2.7/SimpleHTTPServer.pyR�scCsdtj|�\}}||jkr/|j|S|j�}||jkrU|j|S|jdSdS(s�Guess the type of a file.

        Argument is a PATH (a filename).

        Return value is a string of the form type/subtype,
        usable for a MIME Content-type header.

        The default implementation looks the file's extension
        up in the table self.extensions_map, using application/octet-stream
        as a default; however it would be permissible (if
        slow) to look inside the data to make a better guess.

        R/N(RKtsplitexttextensions_mapR,(RRtbasetext((s(/usr/lib64/python2.7/SimpleHTTPServer.pyR�ssapplication/octet-streamR/s
text/plains.pys.cs.h(t__name__t
__module__t__doc__t__version__tserver_versionRR	RRR
RRt	mimetypestinitedtinitt	types_maptcopyRZtupdate(((s(/usr/lib64/python2.7/SimpleHTTPServer.pyRs"
				4	*				
	cCstj||�dS(N(tBaseHTTPServerttest(tHandlerClasstServerClass((s(/usr/lib64/python2.7/SimpleHTTPServer.pyRi�st__main__(R_R`t__all__RRKRhR6RR4R=RURbt	cStringIORtImportErrortBaseHTTPRequestHandlerRt
HTTPServerRiR](((s(/usr/lib64/python2.7/SimpleHTTPServer.pyt<module>s(	
�

© 2025 UnknownSec
Display on the page Footer | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar

Display on the page Footer

Privacy Policy

Effective Date: 24 August , 2024

At Anyleson, we are committed to protecting your privacy and ensuring that your personal information is handled securely and responsibly. This Privacy Policy outlines how we collect, use, and safeguard your data when you use our platform.


Information We Collect


  1. Personal Information:

    • Name, email address, phone number, and billing details.

    • Account login credentials (username and password).



  2. Course Usage Data:

    • Progress and activity within courses.

    • Feedback and reviews submitted for courses.



  3. Technical Information:

    • IP address, browser type, device information, and cookies for improving website functionality.



  4. Communication Data:

    • Information from your interactions with our customer support.




How We Use Your Information


  1. To Provide Services:

    • Process course purchases, registrations, and access to content.



  2. To Improve User Experience:

    • Analyze user behavior to enhance course offerings and platform features.



  3. To Communicate:

    • Send updates, notifications, and promotional offers (only if you’ve opted in).



  4. For Legal Compliance:

    • Meet legal or regulatory requirements and prevent fraud.




How We Protect Your Information


  1. Data Encryption: All sensitive data is encrypted during transmission using SSL.

  2. Access Control: Only authorized personnel have access to personal information.

  3. Secure Storage: Data is stored on secure servers with regular security updates.


Sharing Your Information

We do not sell, rent, or trade your personal data. However, we may share your information with:


  1. Service Providers:

    • Payment processors and hosting services that assist in delivering our platform.



  2. Legal Authorities:

    • When required by law or to protect our legal rights.




Your Rights


  1. Access and Update: You can view and update your personal information in your account settings.

  2. Request Deletion: You have the right to request deletion of your data by contacting us.

  3. Opt-Out: You can opt out of receiving promotional emails by clicking the “unsubscribe” link in our emails.


Cookies Policy

We use cookies to enhance your experience by:


  • Remembering your preferences.

  • Analyzing website traffic.
    You can manage your cookie preferences through your browser settings.


Third-Party Links

Our platform may contain links to third-party websites. We are not responsible for their privacy practices and recommend reviewing their privacy policies.


Policy Updates

We may update this Privacy Policy from time to time. Changes will be posted on this page, and the "Effective Date" will be updated. Please review the policy periodically.


Contact Us

If you have any questions or concerns about our Privacy Policy or how your data is handled, please contact us at:

Email: support@anyleson.comThank you for trusting Anyleson with your learning journey!