Created
September 25, 2017 17:19
-
-
Save subfission/d95b9db925cd8c87389a836d0d5b8d12 to your computer and use it in GitHub Desktop.
Update RKhunter
This file contains hidden or 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
#!/bin/bash | |
# | |
# @author Zach Jetson | |
# | |
# Description | |
# This script will update Rootkit Hunter and | |
# refresh the database. It should be used | |
# by other scripts such as postupcp. | |
# | |
RK=/usr/bin/rkhunter | |
echo "[+] Updating Rootkit Hunter" | |
$RK --update | |
echo "[+] Refreshing the file cache" | |
$RK --propupd | |
echo "Rkhunter update complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment