Results 1 to 5 of 5
  1. #1

    Get alerted on modified files?

    I am running a VPS on a Linux system. Most of my websites are php with mysql databases. I'm concerned about SQL injection and other forms of hacking. While I am securing my code the best I can, I have 30+ sites and use some third-party stuff (about a dozen Wordpress installs, CMS's, etc.), so I can't ever be 100% sure.

    What I would like is an automated report that sends out when files are edited, excluding maybe apache logs and things like that. Or even if it was a file I could go check for a log of edits.

    Is there a way to do that via command line or WHM? Or anyone know of a solution? I think it would be a great security measure for my case, where tons of files aren't edited all the time, and I am the only person who would be making any changes.

  2. #2
    I think Samhain would be perfect for your needs.

  3. #3
    Join Date
    Dec 2010
    Location
    Good question
    Posts
    697
    Quote Originally Posted by existsite View Post
    I think Samhain would be perfect for your needs.
    Could you post the link too? I need something like this as well.

  4. #4
    Join Date
    Oct 2010
    Location
    ON, Canada
    Posts
    960
    While I've not used Samhain myself, Monit can notify you of changes to files that you specify to be monitored as well. They aren't exactly the same type of product, but if all that you're wanting to do is to be notified when files change, Monit can do that.
    GG Web Hosting
    Backup, Digital (SSL) Certificates, Domains, Hosting, Privacy Policy, Software
    S/W: Peel Ads, Softaculous, WHMCS Addons (Abuse Mon., Affiliate Peel Ads, Client Stat., Ord. Prevention, Ord. Stat., Softaculous NOC, Sys. Cleanup)
    Authorized Reseller Program

  5. #5
    I'm reading about both Samhain and Monit right now. Samhain seems to have a lot more security functionality, but I don't know if I would even know to use most of it.

Similar Threads

  1. searching for files modified on a day
    By saj in forum Hosting Security and Technology
    Replies: 2
    Last Post: 12-09-2008, 11:55 AM
  2. locate all files created/modified in last 2 days
    By FULLAMHRD in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-14-2006, 05:00 AM
  3. Confused - files modified every month on the 3rd
    By Jcink in forum Hosting Security and Technology
    Replies: 3
    Last Post: 02-06-2006, 01:16 PM
  4. recently created/modified files
    By p0l0mint in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-30-2006, 09:19 PM
  5. How to list all files/directories that are newly modified?
    By ticky in forum Hosting Security and Technology
    Replies: 7
    Last Post: 04-14-2005, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •