kvchosting Posted April 18, 2009 Share Posted April 18, 2009 HI how / where can i find a script that can do illegal file scanner & inactivity scanner? so if they upload anything that is illegal will be suspended any script that can do this on whmcs? thanks 0 Quote Link to comment Share on other sites More sharing options...
hostlonestar Posted April 18, 2009 Share Posted April 18, 2009 How do you plan on telling if it is an illegal file? There is no script that can tell if the file is illegal. You are either going to have to go through every single file on the server (which brings about some issues) or you are going to have to do what every other host does, wait until it gets reported. 0 Quote Link to comment Share on other sites More sharing options...
simplybe Posted April 18, 2009 Share Posted April 18, 2009 You can easily create a bash /perl script to search the logs for uploads matching keywords you suspect. As hostlonestar said a script won't know if a file is illegal but you can check for certain filnames or types. If you are trying stop shell scripts, spam scripts, virus etc from being uploaded there is a commercial script called upload guardian but i have never tried it. You could also try somewhere like getafreelancer to find someone to write you a script for around $50 usd clamav can also scan your entire server if you have it installed. eg for a cpanel server DON'T USE ANY SHELL COMMANDS FOUND IN A FORUM UNLESS YOU UNDERSTAND WHAT THEY DO. ##scan only## clamscan -r /home/*/public_html The above will scan all users public_html folders and report any files to you for manual deletion ##remove files## clamscan -r -i /home/*/public_html/ --remove The above will scan all users public_html folders and remove files 0 Quote Link to comment Share on other sites More sharing options...
kvchosting Posted April 18, 2009 Author Share Posted April 18, 2009 Simplybe, thanks for the answer 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.