ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python2.7/Demo/zlib/minigzip.pyc
ó
Afc@s€ddlZddlZddlZd
\ZZZZZd„Zd„Z	d	„Z
d
„Zd„Ze
dkr|eƒndS(iÿÿÿÿNiiiiicCs~|jt|d@ƒƒ|d}|jt|d@ƒƒ|d}|jt|d@ƒƒ|d}|jt|d@ƒƒdS(Niÿi(twritetchr(toutputtvalue((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pytwrite32s


cCspt|jdƒƒ}|t|jdƒƒd>7}|t|jdƒƒd>7}|t|jdƒƒd>7}|S(Niiii(tordtread(tinputtv((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pytread32s
cCs.|jdƒ|jttƒƒtj|ƒ}|d}t||ƒ|jdƒ|jdƒ|j|dƒtjdƒ}tjdtj	tj
tjdƒ}xQtrø|j
d	ƒ}|dkrÍPntj||ƒ}|j|j|ƒƒq¨W|j|jƒƒt||ƒt||d
ƒdS(Ns‹issÿsti	iii(RRtFNAMEtoststatRtzlibtcrc32tcompressobjtDEFLATEDt	MAX_WBITSt
DEF_MEM_LEVELtTrueRtcompresstflush(tfilenameRRtstatvaltmtimetcrcvaltcompobjtdata((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pyRs(




	
c
Cs{|jdƒ}|dkr0dGHtjdƒnt|jdƒƒdkr`dGHtjdƒnt|jdƒƒ}|jdƒ|t@rÎt|jdƒƒ}|d	t|jdƒƒ7}|j|ƒn|t@rx,tr|jdƒ}|d
krÛPqÛqÛWn|t@r@x,tr<|jdƒ}|d
krPqqWn|t@rZ|jdƒnt	j
t	jƒ}t	jdƒ}d}xgtrë|jdƒ}	|	dkrªPn|j
|	ƒ}
|j|
ƒ|t|
ƒ7}t	j|
|ƒ}q…W|jƒ}
|j|
ƒ|t|
ƒ7}t	j|
|ƒ}|jd
dƒt|ƒ}t|ƒ}||krcdGHn||krwdGHndS(Nis‹sNot a gzipped fileiiisUnknown compression methodiisR
iiøÿÿÿsCRC check failed.s!Incorrect length of data producedii(RtsystexitRtFEXTRARRtFCOMMENTtFHCRCRt
decompressobjRRt
decompressRtlenRtseekR	(
RRtmagictflagtxlentst	decompobjRtlengthRt
decompdataRtisize((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pyR#1s^


	
	
	

cCsÊttjƒdkr/dGHdGHtjdƒntjd}|jdƒr^t}|d }nt}|d}t|dƒ}t|d	ƒ}|r¥t|||ƒn
t	||ƒ|j
ƒ|j
ƒdS(
NisUsage: minigzip.py <filename>s.  The file will be compressed or decompressed.iis.gziýÿÿÿtrbtwb(R$RtargvRtendswithtFalseRtopenRR#tclose(Rtcompressingt
outputnameRR((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pytmainks"




t__main__(iiiii(RRRtFTEXTR!RRR RR	RR#R7t__name__(((s*/usr/lib64/python2.7/Demo/zlib/minigzip.pyt<module>s$				: