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/CommandNotFound/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyc
ó
ROc@séddlZddlZddlZddlZddlZddlZddlZddlZddlZej	dde
ƒjZde
fd„ƒYZde
fd„ƒYZde
fd	„ƒYZd
„Zde
fd„ƒYZdS(
iÿÿÿÿNscommand-not-foundtfallbacktBinaryDatabasecBseZd„Zd„ZRS(cCshd|_|jdƒrdytj|dƒ|_Wqdtjk
r`}tjd||fIJqdXndS(Ns.dbtrs%Unable to open binary database %s: %s(tNonetdbtendswithtgdbmtopenterrortsyststderr(tselftfilenameterr((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyt__init__s	cCs.|jr&|jj|ƒr&|j|SdSdS(N(Rthas_keyR(Rtkey((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytlookups(t__name__t
__module__RR(((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyRs	tFlatDatabasecBs,eZd„Zd„Zd„Zd„ZRS(cCsWg|_t|ƒ}x1d„|DƒD]}|jj|jdƒƒq&W|jƒdS(Ncss|]}|jƒVqdS(N(tstrip(t.0tline((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pys	<genexpr>'st|(trowstfiletappendtsplittclose(RRtdbfileR((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR$s
	cCs>g}x1|jD]&}|||kr|j|ƒqqW|S(N(RR(Rtcolumnttexttresulttrow((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR+s
cCs/x(|jD]}|j|||ƒƒq
WdS(N(RR(RtcbRR"((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytcreateColumnByCallback2scCsAg}x4|jD])}||||ƒr|j|ƒqqW|S(N(RR(RRR#R R!R"((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytlookupWithCallback6s
(RRRRR$R%(((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR"s			tProgramDatabasecBs,eZedƒ\ZZd„Zd„ZRS(icCsMtjj|ƒ}|jdƒdjdƒ\|_|_t|ƒ|_dS(Nt.it-(tostpathtbasenameRtarcht	componentRR(RRR+((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyRBs(cCs-|jj|ƒ}|r%|jdƒSgSdS(NR(RRR(RtcommandR!((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyRGs
(RRtrangetPACKAGEt
BASENAME_PATHRR(((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR&>s	cCs;d}gtt|ƒdƒD]}|| ||f^q}g|D] \}}|rD||d^qD}g|D]<\}}t|ƒdkrq||d|d|d^qq}g|D]1\}}|D]}|rÊ|||d^qÊqº}	g|D]'\}}|D]}|||^qqø}
t|||	|
ƒS(sw
    return a set with spelling1 distance alternative spellings

    based on http://norvig.com/spell-correct.html
    s&abcdefghijklmnopqrstuvwxyz-_0123456789iii(R/tlentset(twordtalphabettitstatbtdeletest
transposestctreplacestinserts((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyt
similar_wordsOs7-I>4tCommandNotFoundcBsheZdZdZdd	„Zd
dd„Zd
„Zd„Zd„Zd„Z	d„Z
ed„ZRS(s
programs.ds/bins/usr/bins/usr/local/bins/sbins	/usr/sbins/usr/local/sbins
/usr/gamess/usr/share/command-not-foundcCs]g|_g|_tjj|dƒ}tjj|ƒr]ttjt	|ƒj
ƒƒ|_nddddddg|_|jjƒ|j
ƒ|_x`tjtjjj||jgƒƒD]7}|jjttjjj||j|gƒƒƒq¼WyEtjdƒd	tjƒkp5tjd
ƒd	tjƒk|_Wntk
rXt|_nXdS(Nspriority.txttmaintuniversetcontribt
restrictedsnon-freet
multiversetsudoitadmin(tprogramstpriority_overridesR)R*tjointexiststmaptstringRRt	readlinest
componentstreverset_getSourcesListtsources_listtlistdirtseptprograms_dirRR&tgrptgetgrnamtposixt	getgroupst
user_can_sudotKeyErrortFalse(Rtdata_dirtpR((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyRks		$
.5E
iicCst|ƒ|krdSg}xPt|ƒD]B}|j|ƒ}x*|D]"\}}|j|||fƒqEWq)Wt|ƒ|kr§tjtdƒ|t|ƒfIJnft|ƒdkr
tjtdƒ|IJx:|D]/\}}	}
tjtdƒ||	|
fIJq×WndS(s try to correct the spelling Ns4No command '%s' found, but there are %s similar onesis$No command '%s' found, did you mean:s$ Command '%s' from package '%s' (%s)(R2R?tgetPackagesRR	R
t_(RR4tmin_lentmax_lentpossible_alternativestwtpackagestpackagetcompR^R<((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytprint_spelling_suggestion|s&cCsYtƒ}xC|jD]8}|jg|j|ƒD]}||jf^q/ƒqWt|ƒS(N(R3RHtupdateRR-tlist(RR.R!Rtpkg((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR_Œs	6cCs€y]ttjjtjddƒdfƒƒ}g|D]$}|jƒdkr4|jƒ^q4SWntk
rqgSX|jƒdS(NtHOMEs/roots.command-not-found.blacklistt(RR)RTRJtgetenvRtIOErrorR(Rt	blacklistR((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytgetBlacklist’s*3
cCs§y*ddl}ddlm}|jƒWnttfk
rDgSXtgƒ}xO|dtƒD]>}|jra|j	rax!|j
D]}|j|ƒq…WqaqaW|S(Niÿÿÿÿ(tSourcesListtwithMatcher(tapt_pkgtaptsources.sourceslistRrtinittSystemErrortImportErrorR3R\tdisabledtinvalidtcompstadd(RRtRrRRtsourceR-((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyRQ›scCsÂ|d|jkr)|d|jkr)n.|d|jkr@dS|d|jkrWdSy|jj|dƒ}Wn
d}nXy|jj|dƒ}Wn
d}nX||pÁt||ƒS(Niiÿÿÿÿi(RIROtindextcmp(Rtxtytxidxtyidx((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytsortByComponent¬s 

cCsÛdtjkrdS|r×ttdƒƒ}tjjr^t|tƒr^|j	tjjƒ}n|j
ƒtdƒkr×tjƒdkr‘d}nd}d||f}tj
d|IJtj|jƒd	tƒq×ndS(
Nt COMMAND_NOT_FOUND_INSTALL_PROMPTs Do you want to install it? (N/y)RiRmssudo s%sapt-get install %ss%stshell(R)tenviront	raw_inputR`R	tstdintencodingt
isinstancetstrtdecodetlowerRXtgeteuidtstdoutt
subprocesstcallRR\(Rtpackage_nametanswertcommand_prefixtinstall_command((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytinstall_promptÁs	c		Csqd„}|jdƒrKtjj|ƒrBtjj|ƒg}qvg}n+g|jD]}|||ƒrU|^qU}|r´|r´t|ƒdkrÐtjt	dƒi|d6tjj
|d|ƒd6IJnOtjt	dƒi|d6IJx.|D]&}tjd	tjj
||ƒIJqõWtt|ƒttj
d
dƒjdƒƒƒ}t|ƒdkr°tjt	d
ƒdj
|ƒIJddj
|ƒkr°tjt	dƒIJq°ntStjjdƒpÕtjjdƒsÜtS||jƒkròtS|j|ƒ}t|ƒdkr#|j|ƒn>t|ƒdkrXtjt	dƒ|Itjƒdkr¢tjt	dƒIJtjd|ddIJ|j|ddƒnz|jrïtjt	dƒIJtjd|ddIJ|j|ddƒn-tjt	dƒi|d6|ddd6IJ|dd|jkratjt	dƒ|ddIJqan	t|ƒdkra|j|jƒtjt	dƒ|IJxh|D]`}|d|jkrÉtjd	|dIJq˜tjd	|ddt	dƒ|ddIJq˜Wtjƒdkr(tjt	dƒdIJqa|jrKtjt	dƒdIJqatjt	d ƒIJnt|ƒdkS(!s7 give advice where to find the given command to stderr cSsAtjjtjj||ƒƒo@tjjtjj||ƒƒS(s? helper that returns if a command is found in the given prefix (R)R*RKRJtisdir(tprefixR.((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyt
_in_prefixÔs!t/is1Command '%(command)s' is available in '%(place)s'R.itplaces:Command '%(command)s' is available in the following placess * %stPATHRmt:s_The command could not be located because '%s' is not included in the PATH environment variable.tsbinsfThis is most likely caused by the lack of administrative privileges associated with your user account.s/usr/bin/apt-gets/usr/bin/aptitudes-The program '%s' is currently not installed. sYou can install it by typing:sapt-get install %sssudo apt-get install %ssWTo run '%(command)s' please ask your administrator to install the package '%(package)s'Rfs1You will have to enable the component called '%s's8The program '%s' can be found in the following packages:s (s-You will have to enable component called '%s't)sTry: %s <selected package>sapt-get installssudo apt-get installs-Ask your administrator to install one of them(t
startswithR)R*RKtdirnametprefixesR2R	R
R`RJRjR3RnRR\RqR_RhRXRR—RZRRtsortR„(	RR.tignore_installedRšR£R™tmissingReRf((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pytadviseÒsh		+
;
$1 	-%
3	(s/bins/usr/bins/usr/local/bins/sbins	/usr/sbins/usr/local/sbins
/usr/games(
RRRUR£RRhR_RqRQR„R—R\R§(((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyR@^s 						(RtgettextRVR)tos.pathRXRMR	R‘ttranslationtTruetugettextR`tobjectRRR&R?R@(((sC/usr/lib/python2.7/dist-packages/CommandNotFound/CommandNotFound.pyt<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit