Skip to content

Instantly share code, notes, and snippets.

@subfission
Created September 25, 2017 17:19
Show Gist options
  • Save subfission/d95b9db925cd8c87389a836d0d5b8d12 to your computer and use it in GitHub Desktop.
Save subfission/d95b9db925cd8c87389a836d0d5b8d12 to your computer and use it in GitHub Desktop.
Update RKhunter
#!/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