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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pyc
Jc@sddkZddkZddkZddkZddkZddklZlZddkZddk	Tde
fdYZdS(iN(tTimedOperationtTimedSubprocess(t*tCheckPrinterSanitycBs#eZdZdZdZRS(cCs6ti||d|iti|||_dS(NsCheck printer sanity(tQuestiont__init__tnew_pagetgtktLabelttroubleshooter(tselfR	((sC/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pyRscCsh|_|ii}|dptS|d}|ii}ytidttid|i}t|i	d|i}|i
|o(t|id<||}||id<n@t|id<t|id|i}||}||id<t|i
|fd|i}||id<WnnX|ii
do|id}	|	d	}
ti|
\}}||id
<|d,joNti|\}
}ti|
dd\}}||id<||id<n|djoDti|
}|i\}}}}}|tid<|o|tid<d}nd}ytd|ddd|dtdtddtidti}|i}||id<xp|d D]d}|id!oqn|id"}|d#jo+||id$o|| |id<PqqWWqtj
oqXn|d%jo}|
tid&<yVtd|dd'dd(dtdtddtidti}|i|id)<Wqtj
oqXn|	d*ti@}|d j|id+<ntS(-Ntcups_queue_listedt
cups_queuettparentt
is_cups_classtcups_printer_dicttcups_class_dicttlocal_cups_queue_attributess
device-uritcups_device_uri_schemetippthttpthttpstdefportiwtremote_server_nametremote_server_porttsmbtHOSTtGROUPs&LC_ALL=C nmblookup -W "$GROUP" "$HOST"sLC_ALL=C nmblookup "$HOST"ttimeoutitargstshelltstdins	/dev/nulltstdouttstderrtnmblookup_outputitqueryingt is failed thptURIis"LC_ALL=C DISPLAY= hp-info -d"$URI"thplip_outputsprinter-typetcups_printer_remote(RRR(tanswersR	tFalset
get_windowtcupst	setServerRt
ConnectiontruntgetPrintersthas_keytTruet
getClassestgetPrinterAttributesturllibt	splittypet	splithostt
splitnporttsmburitSMBURItseparatetostenvironRtfilet
subprocesstPIPEt
startswithtfindtOSErrortCUPS_PRINTER_REMOTE(R
R*tnameRtctprinterstqueuetclassestattrsRturitschemetrestthostportthosttporttutgrouptsharetusertpasswordtcmdlinetptresulttlinetspctr((sC/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pytdisplay$s	















	


	

		cCs|iS(N(R*(R
((sC/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pytcollect_answers(t__name__t
__module__RR]R^(((sC/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pyRs		](R-tgobjectR=R:R@ttimedopsRRR6tbaseRR(((sC/usr/share/system-config-printer/troubleshoot/CheckPrinterSanity.pyt<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit