Is it possible in cpanel to know how many files the user has filled in?

Via FTP and via filemanager in cpanel?

I want to write a script for virus protection, now got into the habit of viruses to all php files from users to register themselves.

Users rarely flooded many files, so I would put a limit of 200 files, if anyone has removed or filled 200 files I blocu account of the user.
October 8th 19 at 02:41
2 answers
October 8th 19 at 02:43
It is possible to use for mod_quotatab ProFTPD.
But to be honest it's of little use.Usually evil hatskery pour a couple of shells and dataset website.
I have never came across ones that really rubbed all the files.
cpanel uses pure-ftp - Eulalia22 commented on October 8th 19 at 02:46
I yuzayu on –°panel 11.30.6, Is there Proftpd
Progscreenshots - Alexzander_Reichel40 commented on October 8th 19 at 02:49
October 8th 19 at 02:45
the <pre>#!/bin/sh for user in `ls -1 /home/` do if [ -d /home/$user/public_html ] then files=`find /home/$user/public_html -type f | wc-l` if [ $files-gt 200 ] then echo "$user - $files files" fi fi done </pre>

You can run the cron with the desired frequency and receive reports in the mail. Or to add interaction with the panel to lock the user.

Find more questions by tags WHM/cPanel