Linux midolikit.vps 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
Apache/2
Server IP : 103.97.127.53 & Your IP : 216.73.216.203
Domains :
Cant Read [ /etc/named.conf ]
User : web259
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
Delete
Unzip
Name
Size
Permission
Date
Action
GeoIP
[ DIR ]
drwxr-xr-x
2024-05-02 07:50
X11
[ DIR ]
drwxr-xr-x
2024-05-02 07:47
aclocal
[ DIR ]
drwxr-xr-x
2025-05-15 11:09
aclocal-1.13
[ DIR ]
drwxr-xr-x
2018-06-02 11:24
alsa
[ DIR ]
drwxr-xr-x
2024-05-02 07:55
anaconda
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
applications
[ DIR ]
drwxr-xr-x
2024-05-02 07:48
augeas
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
authconfig
[ DIR ]
drwxr-xr-x
2018-06-02 11:11
autoconf
[ DIR ]
drwxr-xr-x
2018-06-02 11:24
automake-1.13
[ DIR ]
drwxr-xr-x
2018-06-02 11:24
awk
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
backgrounds
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
bash-completion
[ DIR ]
drwxr-xr-x
2020-10-13 16:03
bison
[ DIR ]
drwxr-xr-x
2019-04-19 09:26
centos-logos
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
centos-release
[ DIR ]
drwxr-xr-x
2024-05-02 07:47
clamav
[ DIR ]
drwxr-xr-x
2018-04-10 18:03
cloudlinux-linksafe
[ DIR ]
drwxr-xr-x
2019-04-19 09:14
cmake3
[ DIR ]
drwxr-xr-x
2024-05-02 08:53
cracklib
[ DIR ]
drwxr-xr-x
2018-06-02 11:09
dbus-1
[ DIR ]
drwxr-xr-x
2024-05-02 07:51
desktop-directories
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
dict
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
doc
[ DIR ]
drwxr-xr-x
2026-08-05 10:55
dovecot
[ DIR ]
drwxr-xr-x
2018-06-02 12:20
emacs
[ DIR ]
drwxr-xr-x
2023-06-12 14:21
empty
[ DIR ]
dr-xr-xr-x
2018-04-11 04:59
et
[ DIR ]
drwxr-xr-x
2024-05-02 07:50
file
[ DIR ]
drwxr-xr-x
2024-05-02 07:48
firewalld
[ DIR ]
drwxr-xr-x
2021-04-28 13:31
firstboot
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
fish
[ DIR ]
drwxr-xr-x
2026-05-27 21:30
fontconfig
[ DIR ]
drwxr-xr-x
2018-06-02 11:24
fonts
[ DIR ]
drwxr-xr-x
2019-04-19 09:21
games
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
gcc-4.8.2
[ DIR ]
drwxr-xr-x
2020-09-30 02:17
gcc-4.8.5
[ DIR ]
drwxr-xr-x
2020-09-30 02:17
gdb
[ DIR ]
drwxr-xr-x
2020-09-30 02:17
gettext
[ DIR ]
drwxr-xr-x
2024-05-02 07:49
gettext-0.19.8
[ DIR ]
drwxr-xr-x
2020-04-01 02:43
ghostscript
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
glib-2.0
[ DIR ]
drwxr-xr-x
2021-06-09 16:11
gnome
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
gnome-background-properties
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
gnupg
[ DIR ]
drwxr-xr-x
2019-04-19 09:21
groff
[ DIR ]
drwxr-xr-x
2018-06-02 11:09
grub
[ DIR ]
drwxr-xr-x
2024-05-02 07:51
gtk-doc
[ DIR ]
drwxr-xr-x
2018-06-02 11:25
hwdata
[ DIR ]
drwxr-xr-x
2024-05-02 07:51
i18n
[ DIR ]
drwxr-xr-x
2022-05-18 15:56
icons
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
idl
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
imunify-notifier
[ DIR ]
drwxr-xr-x
2026-07-07 09:00
imunify-pki
[ DIR ]
drwxr-xr-x
2025-08-04 20:49
imunify360
[ DIR ]
drwxr-xr-x
2026-08-13 20:56
info
[ DIR ]
drwxr-xr-x
2024-05-02 07:55
kde4
[ DIR ]
drwxr-xr-x
2015-09-30 19:58
kdump
[ DIR ]
drwxr-xr-x
2021-06-09 16:09
libdrm
[ DIR ]
drwxr-xr-x
2024-05-02 07:51
libtool
[ DIR ]
drwxr-xr-x
2018-06-02 11:25
licenses
[ DIR ]
drwxr-xr-x
2026-08-20 20:58
locale
[ DIR ]
drwxr-xr-x
2024-05-02 07:47
lua
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
man
[ DIR ]
drwxr-xr-x
2019-04-19 09:26
microcode_ctl
[ DIR ]
drwxr-xr-x
2023-12-07 14:48
mime
[ DIR ]
drwxr-xr-x
2024-05-02 07:59
mime-info
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
misc
[ DIR ]
drwxr-xr-x
2024-05-02 07:48
mysql
[ DIR ]
drwxr-xr-x
2025-05-15 11:09
omf
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
os-prober
[ DIR ]
drwxr-xr-x
2018-06-02 11:11
p11-kit
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
perl5
[ DIR ]
drwxr-xr-x
2024-05-02 07:48
pixmaps
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
pkgconfig
[ DIR ]
drwxr-xr-x
2024-05-02 07:50
pki
[ DIR ]
drwxr-xr-x
2023-10-16 13:23
plymouth
[ DIR ]
drwxr-xr-x
2024-05-02 07:51
polkit-1
[ DIR ]
drwxr-xr-x
2023-12-07 14:51
qemu-kvm
[ DIR ]
drwxr-xr-x
2018-06-02 11:12
redhat-release
[ DIR ]
drwxr-xr-x
2024-05-02 07:47
screen
[ DIR ]
drwxr-xr-x
2021-03-09 15:26
selinux
[ DIR ]
drwxr-xr-x
2020-11-16 16:49
setools-3.3
[ DIR ]
drwxr-xr-x
2018-11-02 15:53
sounds
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
systemd
[ DIR ]
drwxr-xr-x
2024-05-02 07:50
systemtap
[ DIR ]
drwxr-xr-x
2018-06-02 11:09
tabset
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
terminfo
[ DIR ]
drwxr-xr-x
2018-06-02 11:08
themes
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
tuned
[ DIR ]
drwxr-xr-x
2022-09-21 13:17
vim
[ DIR ]
drwxr-xr-x
2024-05-02 08:53
wallpapers
[ DIR ]
drwxr-xr-x
2018-06-02 11:10
xml
[ DIR ]
drwxr-xr-x
2018-06-02 11:24
xsessions
[ DIR ]
drwxr-xr-x
2018-04-11 04:59
yum-cli
[ DIR ]
drwxr-xr-x
2024-05-02 07:50
yum-plugins
[ DIR ]
drwxr-xr-x
2020-10-01 17:03
zoneinfo
[ DIR ]
drwxr-xr-x
2024-05-02 07:47
zsh
[ DIR ]
drwxr-xr-x
2021-02-11 16:38
av-userside-plugin.sh
6.01
KB
-rwxr--r--
2026-08-12 07:45
magic
609.94
KB
-rw-r--r--
2020-09-30 16:08
Save
Rename
#!/bin/bash DIRECTADMIN_PLUGIN="/usr/local/directadmin/plugins/Imunify" CPANEL_PLUGIN="/usr/local/cpanel/base/frontend/jupiter/imunify" AV_USERSIDE_PLUGIN_FLAG="/var/imunify360/av-userside-plugin.installed" I360_USERSIDE_PLUGIN_FLAG="/var/imunify360/i360-userside-plugin.installed" IS_I360_PACKAGE=false # Get the name of installed panel get_panel() { if [ -e /usr/local/cpanel/cpanel ]; then printf "cpanel\n" elif [ -e /usr/local/directadmin/directadmin ]; then printf "directadmin\n" elif [ -e /usr/sbin/plesk ]; then printf "plesk\n" else return 1 fi } install_cpanel() { local conf_dir="antivirus_conf" if "${IS_I360_PACKAGE}"; then if [[ -f /var/imunify360/myimunify-freemium.flag ]]; then conf_dir="myimunify_conf" else conf_dir="conf" fi fi for theme_dir in /usr/local/cpanel/base/frontend/*; do [[ -d "${theme_dir}" ]] || continue local theme theme=$(basename "${theme_dir}") if [[ "${theme}" != "jupiter" ]]; then mkdir -p "/usr/local/cpanel/base/frontend/${theme}/imunify" cp -a "${CPANEL_PLUGIN}" "/usr/local/cpanel/base/frontend/${theme}" fi /usr/local/cpanel/scripts/install_plugin "/etc/sysconfig/imunify360/cpanel/${conf_dir}" --theme "${theme}" if "${IS_I360_PACKAGE}" && [[ -e "${AV_USERSIDE_PLUGIN_FLAG}" ]]; then # remove av plugin if it exists /usr/local/cpanel/scripts/uninstall_plugin "/etc/sysconfig/imunify360/cpanel/antivirus_conf" --theme "${theme}" rm -f "${AV_USERSIDE_PLUGIN_FLAG}" fi done touch "$(get_plugin_flag)" } install_directadmin() { local enabled_plugin="${DIRECTADMIN_PLUGIN}/user" local disabled_plugin="${DIRECTADMIN_PLUGIN}/.user" if [[ -d "${disabled_plugin}" ]] && [[ -n "$(ls -A "${disabled_plugin}")" ]]; then rm -rf "${enabled_plugin}" mv "${disabled_plugin}" "${enabled_plugin}" fi touch "$(get_plugin_flag)" } install_plesk() { if ! check_plugin_flag; then touch "$(get_plugin_flag)" fi } remove_cpanel() { local conf_dir="antivirus_conf" if "${IS_I360_PACKAGE}"; then conf_dir="conf" fi for theme_dir in /usr/local/cpanel/base/frontend/*; do [[ -d "${theme_dir}" ]] || continue local theme theme=$(basename "${theme_dir}") /usr/local/cpanel/scripts/uninstall_plugin "/etc/sysconfig/imunify360/cpanel/${conf_dir}" --theme "${theme}" if [[ -d "/usr/local/cpanel/base/frontend/${theme}/imunify" ]]; then rm -rf "/usr/local/cpanel/base/frontend/${theme}/imunify" fi done remove_plugin_flag } remove_directadmin() { local enabled_plugin="${DIRECTADMIN_PLUGIN}/user" local disabled_plugin="${DIRECTADMIN_PLUGIN}/.user" if [[ -d "${enabled_plugin}" ]] && [[ -n "$(ls -A "${enabled_plugin}")" ]]; then rm -rf "${disabled_plugin}" mv "${enabled_plugin}" "${disabled_plugin}" fi remove_plugin_flag } remove_plesk() { if check_plugin_flag; then remove_plugin_flag fi } update_cpanel() { if check_plugin_flag; then install_cpanel else printf "User-side plugin is not installed. Skipping update...\n" fi } update_directadmin() { if ! check_plugin_flag && [[ -e "${DIRECTADMIN_PLUGIN}/user" ]]; then remove_directadmin fi } update_plesk() { install_plesk } update_package_config_cpanel() { for theme_dir in /usr/local/cpanel/base/frontend/*; do [[ -d "${theme_dir}" ]] || continue local theme theme=$(basename "${theme_dir}") local theme_path="/usr/local/cpanel/base/frontend/${theme}/imunify/assets/js/config.js" if [[ -f "${theme_path}" ]]; then if ! grep -q "IMUNIFY_PACKAGE" "${theme_path}"; then printf "var IMUNIFY_PACKAGE = '360'\n" > "${theme_path}" else sed -i -E "s/IMUNIFY_PACKAGE = 'AV'/IMUNIFY_PACKAGE = '360'/" "${theme_path}" fi fi done } update_package_config_directadmin() { install_directadmin } update_package_config_plesk() { printf "Updating package config for Plesk is not implemented.\n" } # Get the appropriate flag based on package type get_plugin_flag() { if "${IS_I360_PACKAGE}"; then echo "${I360_USERSIDE_PLUGIN_FLAG}" else echo "${AV_USERSIDE_PLUGIN_FLAG}" fi } # Check if plugin flag exists based on package type check_plugin_flag() { if "${IS_I360_PACKAGE}"; then # For 360, check if at least one flag exists if [[ -e "${I360_USERSIDE_PLUGIN_FLAG}" ]] || [[ -e "${AV_USERSIDE_PLUGIN_FLAG}" ]]; then return 0 else return 1 fi else # For AV, check only AV flag if [[ -e "${AV_USERSIDE_PLUGIN_FLAG}" ]]; then return 0 else return 1 fi fi } # Remove appropriate flag based on package type remove_plugin_flag() { if "${IS_I360_PACKAGE}"; then rm -f "${I360_USERSIDE_PLUGIN_FLAG}" else rm -f "${AV_USERSIDE_PLUGIN_FLAG}" fi } main() { local panel; panel=$(get_panel) if [[ -z "${panel}" ]]; then printf "Detected panel doesn't support av user side plugin\n" exit 0 fi for arg in "$@"; do if [[ "$arg" =~ ^package= ]]; then local imunify_package="${arg#*=}" if [[ "${imunify_package}" == "360" ]]; then IS_I360_PACKAGE=true else IS_I360_PACKAGE=false fi fi done case "${1}" in "-r") "remove_${panel}" ;; "-u") "update_${panel}" ;; "-update-package") "update_package_config_${panel}" ;; "-i") "install_${panel}" ;; "") "install_${panel}" ;; *) printf "Unrecognized option: %s\n" "${1}" exit 1 ;; esac } main "$@"