403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/keyring/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/keyring/core.pyc
ó
F+ÞOc@sädZddlZyddlZWnek
rAddlZnXddlZddlZddlm	Z	ddlm
Z
ddlmZddlm
Z
d„Zd„Zd	„Zd
„Zd„Zd„Zd
„ZeƒdS(s.
core.py

Created by Kang Zhang on 2009-07-09
iÿÿÿÿN(tlogger(tbackend(tplatform(t
loc_compatcCs+t|tjƒr|antdƒ‚dS(s!Set current keyring backend.
    s0The keyring must be a subclass of KeyringBackendN(t
isinstanceRtKeyringBackendt_keyring_backendt	TypeError(tkeyring((s0/usr/lib/python2.7/dist-packages/keyring/core.pytset_keyrings	cCstS(s!Get current keyring backend.
    (R(((s0/usr/lib/python2.7/dist-packages/keyring/core.pytget_keyringscCstj||ƒS(s,Get password from the specified service
    (Rtget_password(tservice_nametusername((s0/usr/lib/python2.7/dist-packages/keyring/core.pyR"scCstj|||ƒdS(s7Set password for the user in the specified service
    N(Rtset_password(RR
tpassword((s0/usr/lib/python2.7/dist-packages/keyring/core.pyR'scCsOtƒ}|dkrAtjƒ}|jdd„ƒ|d}nt|ƒdS(sÏLoad a keyring from a config file or for the default platform.

    First try to load the keyring in the config file, if it has not
    been declared, assign a default keyring according to the platform.
    tkeycSs|jƒS(N(t	supported(tx((s0/usr/lib/python2.7/dist-packages/keyring/core.pyt<lambda>:siN(tload_configtNoneRtget_all_keyringtsortR	(Rtkeyrings((s0/usr/lib/python2.7/dist-packages/keyring/core.pytinit_backend,s	
cs‰‡fd†‰ytj||jdƒ }Wn*tk
rYˆ|tj|gƒ}nX|jdƒdjƒ}t||ƒƒ}|S(s”Load the specified keyring name from the specified path

    `keyring_path` can be None and it will not interfere with the loading
    process.
    c
sÅ|jdƒ}tj|d|ƒ}|\}}}tj|d|||ƒ}|rc|jƒnt|ƒdkrÁdj|dƒ}|}	y||j}	Wntk
r³|SXˆ||	ƒS|S(s1Load the specified module from the disk.
        t.ii(	tsplittimptfind_moduletload_moduletclosetlentjoint__path__tAttributeError(
tnametpatht	path_listtmodule_infotmodule_filetpathnametdescriptiontmoduletsub_nametsub_path(R(s0/usr/lib/python2.7/dist-packages/keyring/core.pyRHs 


Riÿÿÿÿ(tsystmodulestrfindtKeyErrorR%Rtstriptgetattr(tkeyring_pathtkeyring_nameR+t
keyring_classtkeyring_temp((Rs0/usr/lib/python2.7/dist-packages/keyring/core.pytload_keyringAs
cCs¶d}d}tjjtjƒ|ƒ}tjjtjjdƒ|ƒ}tjjtjƒ|ƒ}tj	||ƒ||g}d}x*|D]"}|}tjj
|ƒrŒPqŒqŒWtjj
|ƒr²tjƒ}|j
|ƒy4|jdƒr
|jddƒjƒ}	nd}	Wntjk
r-d}	nXyO|jdƒr[|jddƒjƒ}
ntjddƒ‚t|	|
ƒ}Wq²tjtfk
r®tjdd|ƒq²Xn|S(	sLoad a keyring using the config file.

    The config file can be in the current working directory, or in the user's
    home directory.
    s
keyringrc.cfgt~Rskeyring-pathsdefault-keyrings/Keyring config file contains incorrect values.
sConfig file: %sN(RtosR%R!tgetcwdt
expanduserRt	data_rootRt
relocate_filetexistst
config_parsertRawConfigParsertreadthas_sectiontgetR2t
NoOptionErrorR8tImportErrorRtwarning(Rtfilenamet
local_pathtlegacy_pathtconfig_pathtkeyring_cfg_candidatestkeyring_cfgR%tconfigR4R5((s0/usr/lib/python2.7/dist-packages/keyring/core.pyRms<!



	(t__doc__R:tconfigparserR@RFtConfigParserRR.RRRtkeyring.utilRRR	R
RRRR8R(((s0/usr/lib/python2.7/dist-packages/keyring/core.pyt<module>s&
							,	4

Youez - 2016 - github.com/yon3zu
LinuXploit