404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.144.84.31: ~ $
#!/usr/libexec/platform-python
# -*- mode:python; coding:utf-8; -*-
import os


def getCPName():
    # cPanel
    if os.path.isfile('/usr/local/cpanel/cpanel'):
        return "cPanel"
    # DirectAdmin
    if os.path.isfile('/usr/local/directadmin/directadmin') or \
       os.path.isfile('/usr/local/directadmin/custombuild/build'):
        return "DirectAdmin"
    # InterWorx
    if os.path.isfile('/usr/local/interworx/iworx.ini'):
        return "InterWorx"
    # ISPManager
    if os.path.isfile('/usr/local/ispmgr/bin/ispmgr'):
        return "ISPManager"
    # Plesk
    if os.path.isfile('/usr/local/psa/version'):
        return "Plesk"
    # Unknown panel / No panel
    return "Unknown"

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
alt-php-panel-configuration.py File 7.55 KB 0755
alt-php.cfg File 259 B 0644
detectcp.py File 699 B 0755
install_odbc File 526 B 0755
multiphp_reconfigure.py File 7.71 KB 0755