On Tue, 2018-05-08 at 21:58 -0400, Teddy Brown wrote:
> Hi,
> I want to monitor several PHP files on my server.  We've had issues with
> malware getting in via a couple Joomla installs.  I've reinstalled our CMS
> software and we're confident things are  in a clean state.
>
> Ideally we'd use rkhunter to monitor any PHP files for changes.  There will
> be other changes expected in these directories (such as images) but PHP files
> will be managed manually now.
>
> I was thinking this might do it, but I'm not sure how long it will take to
> run but when I run rkhunter -C it runs for a long time without knowing if it
> is working or now
>
> Am I oversimplifying this?
>
> GLOBSTAR=1
> USER_FILEPROP_FILES_DIRS=/var/www/**/*.php
>
Hi,

Rkhunter is just a script, so it's not the fastest thing in the world. The time
taken will probably depend on how many of those PHP files you have.

If you run something like 'top' while 'rkhunter -C' is running, then you should
see it doing something.



John.

--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the 
use of the recipient to whom it is addressed. If you are not the intended 
recipient then copying, distribution or other use of the information contained 
is strictly prohibited and you should not rely on it. If you have received this 
email in error please let the sender know immediately and delete it from your 
system(s). Internet emails are not necessarily secure. While we take every 
care, Plymouth University accepts no responsibility for viruses and it is your 
responsibility to scan emails and their attachments. Plymouth University does 
not accept responsibility for any changes made after it was sent. Nothing in 
this email or its attachments constitutes an order for goods or services unless 
accompanied by an official order form.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to