| Server IP : 10.10.92.66 / Your IP : 104.23.243.85 Web Server : Apache/2.4.52 (Ubuntu) System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64 User : jurnal ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/maldetect/ |
Upload File : |
#!/usr/bin/env bash export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH echo "This will completely remove Linux Malware Detect from your server including all quarantine data!" echo -n "Would you like to proceed? " read -p "[y/n] " -n 1 Z echo if [ "$Z" == "y" ] || [ "$Z" == "Y" ]; then if [ "$OSTYPE" != "FreeBSD" ]; then if test `cat /proc/1/comm` = "systemd" then systemctl disable maldet.service systemctl stop maldet.service rm -f /usr/lib/systemd/system/maldet.service systemctl daemon-reload else maldet -k if [ -f /etc/redhat-release ]; then /sbin/chkconfig maldet off /sbin/chkconfig maldet --del elif [ -f /etc/debian_version ] || [ -f /etc/lsb-release ]; then update-rc.d -f maldet remove elif [ -f /etc/gentoo-release ]; then rc-update del maldet default elif [ -f /etc/slackware-version ]; then rm -f /etc/rc.d/rc3.d/S70maldet rm -f /etc/rc.d/rc4.d/S70maldet rm -f /etc/rc.d/rc5.d/S70maldet else /sbin/chkconfig maldet off /sbin/chkconfig maldet --del fi rm -f /etc/init.d/maldet fi fi rm -rf /usr/local/maldetect* /etc/cron.d/maldet_pub /etc/cron.daily/maldet /usr/local/sbin/maldet /usr/local/sbin/lmd clamav_paths="/usr/local/cpanel/3rdparty/share/clamav/ /var/lib/clamav/ /var/clamav/ /usr/share/clamav/ /usr/local/share/clamav" for cpath in $clamav_paths; do rm -f $cpath/rfxn.* $cpath/lmd.user.* done echo "Linux Malware Detect has been uninstalled." else echo "You selected No or provided an invalid confirmation, nothing has been done!" fi