选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
a ´i“Mã@sndZddlZddlZddlZgd¢ZeefZdd„Zd@dd„Z dAd d „Z d d „Z d d„Z e  dd¡Ze  dd¡Zdd„Zdd„ZdZdadadd„ZdBdd„Zdd„ZdCdd„ZdadadZdZdDd d!„Zddddd"œd#d$„Zddd%d&œd'd(„Zd)Z da!da"da#dEd*d+„Z$d,d-„Z%d.Z&e&d/d0Z'd1d2„Z(d3d4„Z)d5d6„Z*d7d8„Z+d9d:„Z,d;d<„Z-d=d>„Z.e/d?k�rje-ƒdS)FzDBase16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodingséN)ÚencodeÚdecodeÚ encodebytesÚ decodebytesÚ b64encodeÚ b64decodeÚ b32encodeÚ b32decodeÚ b16encodeÚ b16decodeÚ b85encodeÚ b85decodeÚ a85encodeÚ a85decodeÚstandard_b64encodeÚstandard_b64decodeÚurlsafe_b64encodeÚurlsafe_b64decodecCsxt|tƒr2z | d¡WSty0tdƒ‚Yn0t|tƒr@|Szt|ƒ ¡WStyrtd|j j ƒd‚Yn0dS)NÚasciiz4string argument should contain only ASCII charactersz>argument should be a bytes-like object or ASCII string, not %r) Ú isinstanceÚstrrÚUnicodeEncodeErrorÚ ValueErrorÚ bytes_typesÚ memoryviewÚtobytesÚ TypeErrorÚ __class__Ú__name__©Ús©r!ú/usr/lib64/python3.9/base64.pyÚ_bytes_from_decode_data"s     ÿÿr#cCs,tj|dd�}|dur(| t d|¡¡S|S)a*Encode the bytes-like object s using Base64 and return a bytes object. Optional altchars should be a byte string of length 2 which specifies an alternative alphabet for the '+' and '/' characters. This allows an application to e.g. generate url or filesystem safe Base64 strings. F)ÚnewlineNó+/)ÚbinasciiÚ b2a_base64Ú translateÚbytesÚ maketrans)r ÚaltcharsÚencodedr!r!r"r3srFcCsNt|ƒ}|dur*t|ƒ}| t |d¡¡}|rDt d|¡sDt d¡‚t |¡S)anDecode the Base64 encoded bytes-like object or ASCII string s. Optional altchars must be a bytes-like object or ASCII string of length 2 which specifies the alternative alphabet used instead of the '+' and '/' characters. The result is returned as a bytes object. A binascii.Error is raised if s is incorrectly padded. If validate is False (the default), characters that are neither in the normal base-64 alphabet nor the alternative alphabet are discarded prior to the padding check. If validate is True, these non-alphabet characters in the input result in a binascii.Error. Nr%s[A-Za-z0-9+/]*={0,2}zNon-base64 digit found) r#r(r)r*ÚreÚ fullmatchr&ÚErrorÚ a2b_base64)r r+Úvalidater!r!r"rAs rcCst|ƒS)zrEncode bytes-like object s using the standard Base64 alphabet. The result is returned as a bytes object. )rrr!r!r"rZsrcCst|ƒS)aQDecode bytes encoded with the standard Base64 alphabet. Argument s is a bytes-like object or ASCII string to decode. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded. Characters that are not in the standard alphabet are discarded prior to the padding check. )rrr!r!r"rasrr%s-_cCst|ƒ t¡S)zèEncode bytes using the URL- and filesystem-safe Base64 alphabet. Argument s is a bytes-like object to encode. The result is returned as a bytes object. The alphabet uses '-' instead of '+' and '_' instead of '/'. )rr(Ú_urlsafe_encode_translationrr!r!r"rosrcCst|ƒ}| t¡}t|ƒS)aÎDecode bytes using the URL- and filesystem-safe Base64 alphabet. Argument s is a bytes-like object or ASCII string to decode. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded. Characters that are not in the URL-safe base-64 alphabet, and are not a plus '+' or slash '/', are discarded prior to the padding check. The alphabet uses '-' instead of '+' and '_' instead of '/'. )r#r(Ú_urlsafe_decode_translationrrr!r!r"rxs  rs ABCDEFGHIJKLMNOPQRSTUVWXYZ234567cs>tdur,dd„tDƒ‰‡fdd„ˆDƒad‰t|tƒsBt|ƒ ¡}t|ƒd}|rb|dd|}tƒ}tj }t}t dt|ƒdƒD]V}||||d…dƒ}|||d ?||d ?d @||d ?d @||d @7}q‚|d krðd|dd…<nF|dk�rd|dd…<n.|dk�r d|dd…<n|dk�r6d|dd…<t |ƒS)zKEncode the bytes-like object s using Base32 and return a bytes object. NcSsg|]}t|fƒ‘qSr!©r)©Ú.0Úir!r!r"Ú •ózb32encode..csg|]}ˆD] }||‘q qSr!r!©r6ÚaÚb©Zb32tabr!r"r8–r9éórÚbigééiÿé és======iúÿÿÿés====éüÿÿÿés===éýÿÿÿéó=éÿÿÿÿ) Ú_b32tab2Ú _b32alphabetrrrrÚlenÚ bytearrayÚintÚ from_bytesÚranger))r Úleftoverr,rQZb32tab2r7Úcr!r=r"rŽs<    ÿþ ý    rc Csxtdurdd„ttƒDƒat|ƒ}t|ƒdr8t d¡‚|dur^t|ƒ}| t  dd|¡¡}|rj|  ¡}t|ƒ}|  d¡}|t|ƒ}t ƒ}t}t d t|ƒdƒD]f}|||d…}d } z|D]} | d >|| } qÀWntyöt d ¡d‚Yn0||  d d ¡7}q¢|d�s|d v�r(t d¡‚|�rp|�rp| d |K} |  d d ¡} dd |d} | d| …|dd…<t|ƒS)aZDecode the Base32 encoded bytes-like object or ASCII string s. Optional casefold is a flag specifying whether a lowercase alphabet is acceptable as input. For security purposes, the default is False. RFC 3548 allows for optional mapping of the digit 0 (zero) to the letter O (oh), and for optional mapping of the digit 1 (one) to either the letter I (eye) or letter L (el). The optional argument map01 when not None, specifies which letter the digit 1 should be mapped to (when map01 is not None, the digit 0 is always mapped to the letter O). For security purposes the default is None, so that 0 and 1 are not allowed in the input. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded or if there are non-alphabet characters present in the input. NcSsi|]\}}||“qSr!r!)r6ÚkÚvr!r!r"Ú Êr9zb32decode..ézIncorrect paddings01óOrJrr>zNon-base32 digit foundr@>rrDrGrIéé+éûÿÿÿ)Ú_b32revÚ enumeraterMr#rNr&r/r(r)r*ÚupperÚrstriprOrRÚKeyErrorÚto_bytes) r ÚcasefoldZmap01ÚlZpadcharsÚdecodedZb32revr7ZquantaÚaccrTÚlastrSr!r!r"r ´s@         r cCst |¡ ¡S)zKEncode the bytes-like object s using Base16 and return a bytes object. )r&Zhexlifyr_rr!r!r"r ÷sr cCs4t|ƒ}|r| ¡}t d|¡r*t d¡‚t |¡S)a‚Decode the Base16 encoded bytes-like object or ASCII string s. Optional casefold is a flag specifying whether a lowercase alphabet is acceptable as input. For security purposes, the default is False. The result is returned as a bytes object. A binascii.Error is raised if s is incorrectly padded or if there are non-alphabet characters present in the input. s [^0-9A-F]zNon-base16 digit found)r#r_r-Úsearchr&r/Z unhexlify)r rcr!r!r"r ýs   r s<~s~>c s¬t|tƒst|ƒ ¡}t|ƒ d}|r4|d|}t dt|ƒd¡ |¡}‡‡‡‡fdd„|Dƒ}|r¢|s¢|ddkrŒˆdd |d<|dd| …|d<d  |¡S) NrIr?z!%dIcsPg|]H}ˆr|sdn6ˆr$|dkr$dn&ˆ|dˆ|ddˆ|d‘qS)ózi óyií^ éUi9r!)r6Zword©ÚcharsÚchars2ÚfoldnulsÚ foldspacesr!r"r8!sû  ÿ þz_85encode..rKrirr>r9) rrrrrNÚstructÚStructÚunpackÚjoin) r<rmrnÚpadrorpÚpaddingÚwordsÚchunksr!rlr"Ú _85encodes   û ry)rpÚwrapcolruÚadobecsºtdur*dd„tddƒDƒadd„tDƒat|tt|d|ƒ‰|rHtˆ‰ˆrªt|rVdnd ˆƒ‰‡‡fd d„td tˆƒˆƒDƒ}|r t|d ƒdˆkr | d ¡d |¡‰|r¶ˆt 7‰ˆS)aÜEncode bytes-like object b using Ascii85 and return a bytes object. foldspaces is an optional flag that uses the special short sequence 'y' instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This feature is not supported by the "standard" Adobe encoding. wrapcol controls whether the output should have newline (b'\n') characters added to it. If this is non-zero, each output line will be at most this many characters long. pad controls whether the input is padded to a multiple of 4 before encoding. Note that the btoa implementation always pads. adobe controls whether the encoded byte sequence is framed with <~ and ~>, which is used by the Adobe implementation. NcSsg|]}t|fƒ‘qSr!r4r5r!r!r"r8Dr9za85encode..é!évcSsg|]}tD] }||‘q qSr!)Ú _a85charsr:r!r!r"r8Er9TrErDcsg|]}ˆ||ˆ…‘qSr!r!r5©Úresultrzr!r"r8MsÿrrKr9ó ) Ú _a85chars2rRr~ryÚ _A85STARTÚmaxrNÚappendrtÚ_A85END)r<rprzrur{rxr!rr"r/s$ ÿ  rs )rpr{Ú ignorecharsc Cs�t|ƒ}|rH| t¡s$td t¡ƒ‚| t¡r<|dd…}n |dd…}t d¡j }g}|j }g}|j }|j } |dD]ê} d| krŽdkrünnj|| ƒt |ƒd krúd } |D]} d | | d} q®z||| ƒƒWntj yòtd ƒd‚Yn0| ƒqv| d k�r|�rtdƒ‚|dƒqv|�rF| dk�rF|�r). ignorechars should be a byte string containing characters to ignore from the input. This should only contain whitespace characters, and by default contains all whitespace characters in ASCII. The result is returned as a bytes object. z1Ascii85 encoded byte sequences must end with {!r}rEéþÿÿÿNú!Isuuuur|éur>rrkzAscii85 overflowézzz inside Ascii85 5-tupleséyzy inside Ascii85 5-tuples zNon-Ascii85 digit found: %cr9rI)r#Úendswithr†rÚformatÚ startswithrƒrqrrÚpackr…ÚclearrNÚerrorrt)r<rpr{r‡ÚpackIreZdecoded_appendZcurrZ curr_appendZ curr_clearÚxrfr€rvr!r!r"rXsZ ÿÿ           rsU0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~cCs2tdur$dd„tDƒadd„tDƒat|tt|ƒS)z»Encode bytes-like object b in base85 format and return a bytes object. If pad is true, the input is padded with b'\0' so its length is a multiple of 4 bytes before encoding. NcSsg|]}t|fƒ‘qSr!r4r5r!r!r"r8°r9zb85encode..cSsg|]}tD] }||‘q qSr!)Ú _b85charsr:r!r!r"r8±r9)Ú _b85chars2Ú _b85alphabetr•ry)r<rur!r!r"r ¦s r c CsFtdur,dgdattƒD]\}}|t|<qt|ƒ}t|ƒ d}|d|}g}t d¡j}tdt|ƒdƒD]´}|||d…}d}z|D]}|dt|}qŒWnDt yèt|ƒD]&\}}t|durºt d||ƒd‚qº‚Yn0z|  ||ƒ¡Wqntj �y t d |ƒd‚Yqn0qnd   |¡} |�rB| d| …} | S) zqDecode the base85-encoded bytes-like object or ASCII string b The result is returned as a bytes object. Nér>ó~r‰rrkz#bad base85 character at position %dz+base85 overflow in hunk starting at byte %dr9)Ú_b85decr^r—r#rNrqrrr�rRrrr…r’rt) r<r7rTrvÚoutr“ÚchunkrfÚjr€r!r!r"r ´sH      ÿÿÿÿ  r éLrIrGcCsX| t¡}|sqTt|ƒtkr>| tt|ƒ¡}|s4q>||7}qt |¡}| |¡qdS)z1Encode a file; input and output are binary files.N)ÚreadÚ MAXBINSIZErNr&r'Úwrite)ÚinputÚoutputr ÚnsÚliner!r!r"räs    rcCs(| ¡}|sq$t |¡}| |¡qdS)z1Decode a file; input and output are binary files.N)Úreadliner&r0r¡)r¢r£r¥r r!r!r"rós  rc Cs”z t|ƒ}Wn:tyF}z"d|jj}t|ƒ|‚WYd}~n d}~00|jdvrld|j|jjf}t|ƒ‚|jdkr�d|j|jjf}t|ƒ‚dS)Nz"expected bytes-like object, not %s)rTr<ÚBz-expected single byte elements, not %r from %srDz(expected 1-D data, not %d-D data from %s)rrrrrŽÚndim)r ÚmÚerrÚmsgr!r!r"Ú_input_type_checküs     ÿ  ÿr¬cCsLt|ƒg}tdt|ƒtƒD]$}|||t…}| t |¡¡qd |¡S)zVEncode a bytestring into a bytes object containing multiple lines of base-64 data.rr9)r¬rRrNr r…r&r'rt)r Úpiecesr7rœr!r!r"r s rcCst|ƒt |¡S)z8Decode a bytestring of base-64 data into a bytes object.)r¬r&r0rr!r!r"rsrc Cs6ddl}ddl}z| |jdd…d¡\}}WnR|jy€}z8|j|_t|ƒtd|jdƒ| d¡WYd}~n d}~00t}|D]@\}}|dkržt}|dkrªt }|d kr¶t }|d krŠt ƒdSqŠ|�r |dd k�r t |dd ƒ�}|||jj ƒWdƒn1�s0Yn||j j |jj ƒdS) zSmall main programrNrDZdeutz�usage: %s [-d|-e|-u|-t] [file|-] -d, -u: decode -e: encode (default) -t: encode and decode string 'Aladdin:open sesame'rEz-ez-dz-uz-tú-Úrb)ÚsysÚgetoptÚargvr’ÚstderrÚstdoutÚprintÚexitrrÚtestÚopenÚbufferÚstdin) r°r±ZoptsÚargsr«ÚfuncÚor;Úfr!r!r"Úmains(ý     0r¿cCs<d}tt|ƒƒt|ƒ}tt|ƒƒt|ƒ}tt|ƒƒdS)NsAladdin:open sesame)rµÚreprrr)Zs0Ús1Ús2r!r!r"r·8s   r·Ú__main__)N)NF)FN)F)FFF)F)0Ú__doc__r-rqr&Ú__all__r)rOrr#rrrrr*r2r3rrrMrLr]rr r r r~r‚rƒr†ryrrr—r•r–ršr r Z MAXLINESIZEr rrr¬rrr¿r·rr!r!r!r"ÚsZ     & C  )H -