Last active
March 6, 2021 00:08
-
-
Save hkhoshraftar/120520fb85af086261235f62174cf9c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install clamav clamav-update clamav-scanner-systemd clamav-server-systemd -y | |
sudo sed -i -e "s/^Example/#Example/" /etc/freshclam.conf | |
sudo sed -i -e "s/^Example/#Example/" /etc/clamd.d/scan.conf | |
nano /etc/freshclam.conf | |
==> | |
HTTPProxyServer --- | |
HTTPProxyPort -- | |
HTTPProxyUsername -- | |
HTTPProxyPassword -- | |
sudo freshclam | |
systemctl start freshclam | |
systemctl enable freshclam | |
systemctl start clamd@scan | |
systemctl enable clamd@scan | |
sudo clamscan --infected --recursive --exclude-dir="^/sys" / | |
sudo yum install rkhunter | |
sudo rkhunter --propupd | |
sudo rkhunter --checkall | |
sudo cat /var/log/rkhunter/rkhunter.log | grep -i warning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment