shell bypass 403

UnknownSec Shell

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

name : archive_util.pyc
�
{fc@s�dZdZddlZddlmZddlZddlmZddlm	Z	ddl
mZddlm
Z
ydd	lmZWnek
r�dZnXydd
lmZWnek
r�dZnXd�Zd�Zd
ddddd�Zddd�Ziedgdfd6ed gdfd6ed!gdfd6ed"gdfd6egdfd6Zd�Zddddddd�ZdS(#sodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).s$Id$i����N(twarn(tDistutilsExecError(tspawn(tmkpath(tlog(tgetpwnam(tgetgrnamcCs^tdks|dkrdSyt|�}Wntk
rEd}nX|dk	rZ|dSdS(s"Returns a gid, given a group name.iN(RtNonetKeyError(tnametresult((s./usr/lib64/python2.7/distutils/archive_util.pyt_get_gids

cCs^tdks|dkrdSyt|�}Wntk
rEd}nX|dk	rZ|dSdS(s"Returns an uid, given a user name.iN(RRR(R	R
((s./usr/lib64/python2.7/distutils/archive_util.pyt_get_uid's

tgzipics�idd6dd6dd6dd6}idd6dd6d	d6}|dk	rg||j�krgtd
�n|d}	|dkr�|	|j|d�7}	nttjj|	�d|�d
dl}
t	j
d�t���t�������fd�}|sC|
j
|	d||�}z|j|d|�Wd|j�Xn|dkr�tdt�|	||}
tjdkr�||	|
g}n|d|	g}t|d|�|
S|	S(s-Create a (possibly compressed) tar file from all the files under
    'base_dir'.

    'compress' must be "gzip" (the default), "compress", "bzip2", or None.
    (compress will be deprecated in Python 3.2)

    'owner' and 'group' can be used to define an owner and a group for the
    archive that is being built. If not provided, the current owner and group
    will be used.

    The output tar file will be named 'base_dir' +  ".tar", possibly plus
    the appropriate compression extension (".gz", ".bz2" or ".Z").

    Returns the output filename.
    tgzR
tbz2tbzip2ttcompresss.gzs.bz2s.ZsEbad value for 'compress': must be None, 'gzip', 'bzip2' or 'compress's.tartdry_runi����NsCreating tar archivecsF�dk	r!�|_�|_n�dk	rB�|_�|_n|S(N(Rtgidtgnametuidtuname(ttarinfo(RtgrouptownerR(s./usr/lib64/python2.7/distutils/archive_util.pyt_set_uid_gid[s		sw|%stfilters'compress' will be deprecated.twin32s-f(Rtkeyst
ValueErrortgetRtostpathtdirnamettarfileRtinfoRRtopentaddtcloseRtPendingDeprecationWarningtsystplatformR(t	base_nametbase_dirRtverboseRRRttar_compressiontcompress_exttarchive_nameR$Rttartcompressed_nametcmd((RRRRs./usr/lib64/python2.7/distutils/archive_util.pytmake_tarball3s8"	

	
c
Cs-yddl}Wntk
r)d}nX|d}ttjj|�d|�|dkr�|rkd}nd}y td|||gd|�Wq)tk
r�td|�q)Xntt	j
d	||�|s)|j|d
d|j�}|tj
kr<tjjtjj|d��}|j||�t	j
d
|�nx�tj|�D]�\}	}
}xR|
D]J}tjjtjj|	|d��}|j||�t	j
d
|�qbWxe|D]]}tjjtjj|	|��}tjj|�r�|j||�t	j
d
|�q�q�WqLW|j�n|S(svCreate a zip file from all the files under 'base_dir'.

    The output zip file will be named 'base_name' + ".zip".  Uses either the
    "zipfile" Python module (if available) or the InfoZIP "zip" utility
    (if installed and found on the default search path).  If neither tool is
    available, raises DistutilsExecError.  Returns the name of the output zip
    file.
    i����Ns.zipRs-rs-rqtzipskunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilitys#creating '%s' and adding '%s' to ittwtcompressionRsadding '%s'(tzipfiletImportErrorRRR!R"R#RRRR%tZipFiletZIP_DEFLATEDtcurdirtnormpathtjointwritetwalktisfileR((
R,R-R.RR9tzip_filenamet
zipoptionsR6R"tdirpathtdirnamest	filenamesR	((s./usr/lib64/python2.7/distutils/archive_util.pytmake_zipfileysL	


	
	
!
$
!
Rsgzip'ed tar-filetgztarRsbzip2'ed tar-filetbztarscompressed tar filetztarsuncompressed tar fileR2sZIP fileR6cCs%x|D]}|tkr|SqWdS(sqReturns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N(tARCHIVE_FORMATSR(tformatstformat((s./usr/lib64/python2.7/distutils/archive_util.pytcheck_archive_formats�s
cCsCtj�}|d	k	rStjd|�tjj|�}|sStj|�qSn|d	krktj}ni|d6}	yt	|}
Wnt
k
r�td|�nX|
d}x"|
dD]\}}
|
|	|<q�W|dkr�||	d<||	d<nz||||	�}Wd	|d	k	r>tjd
|�tj|�nX|S(s�Create an archive file (eg. zip or tar).

    'base_name' is the name of the file to create, minus any format-specific
    extension; 'format' is the archive format: one of "zip", "tar", "ztar",
    or "gztar".

    'root_dir' is a directory that will be the root directory of the
    archive; ie. we typically chdir into 'root_dir' before creating the
    archive.  'base_dir' is the directory where we start archiving from;
    ie. 'base_dir' will be the common prefix of all files and
    directories in the archive.  'root_dir' and 'base_dir' both default
    to the current directory.  Returns the name of the archive file.

    'owner' and 'group' are used when creating a tar archive. By default,
    uses the current owner and group.
    schanging into '%s'Rsunknown archive format '%s'iiR6RRNschanging back to '%s'(R!tgetcwdRRtdebugR"tabspathtchdirR=RLRR(R,RNtroot_dirR-R.RRRtsave_cwdtkwargstformat_infotfunctargtvaltfilename((s./usr/lib64/python2.7/distutils/archive_util.pytmake_archive�s2




(RR
(RR(RR(RN(t__doc__t__revision__R!twarningsRR*tdistutils.errorsRtdistutils.spawnRtdistutils.dir_utilRt	distutilsRtpwdRR:RtgrpRRRR5RHRLROR\(((s./usr/lib64/python2.7/distutils/archive_util.pyt<module>s<



			E>	
	

© 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!