CrawlTrack, webmaster dashboard.
Web analytic, SEO and protection
CrawlProtect, your website safety.
Two php/MySQL scripts, free and easy to install
The tools you need to manage and keep control of your site.
The web is not a peacefull world, you have to know that soon your site will be a hacker target. On www.crawltrack.net, CrawlTrack detect between 500 and 10 000 attacks per day.
You cannot ignore that, or one day, you will loose the control on your site!!!
You will find below some advices to help you to protect your site and explainations about how CrawlTrack could help you in that way.
As soon as a vulnerability is detect in a script, the author of the script publish an up-dated release to fixe the vulnerability. But in the same time that vulnerability is largely explain in a lot of site and so hackers try immediatly to exploit it on site which have not install the new version.
All external entry ($_POSt, $_GET) need to be check and/or treat before usage, if not you are in a big risk of code injection or Cross Site Scripting. A search on Google with these terms will give you a lot of details information on that risk.
To avoid the risk of sql injection, you need to treat all external entry before to use it in a sql query. With php scripts, have a look on the mysql_real_escape_string() function.
With a CHMOD 777 everybody have all the right on your folders, this could be a big risk. CHMOD 705 is usually sufficient.
Never use the same login and password for your ftp and mysql connection, if one is discover this will give access to everything!!! Choose password which is long enough and is a combination of letters, number, sign and has no signification.
I will not give too much details here, but as for scripts, you have to be sure to have an up-dated version of Apache, PHP, MySQl, etc.. To set-up correctly a web server need good knowledge, you will find a lot of sites or books to help you. Be sure of what you are doing, a lot of server become spam relay due to wrong set-up parameters.
There is a lot of site giving security alerts and/or advice to protect your site. The advices given here are just a minimum, and hackers have new ideas every days; so you have to keep you inform to be sure not to leave a vulnerability on your site. You have also complete books on that subject, it's why I will not give more details here. The best is to regularly check on these sites what's new to be sure not to be at risk.
For each request on your site, CrawlTrack will check the URL and look for the presence of link to an other site inside the URL. For example you could have:
In that case this will be detected as a code injection attempts and if you have set-up CrawlTrack to block the attacks, the visitor (often a crawler) will be redirected to an alert page.
It's why the best is to have the CrawlTrack tag in first place in
your pages to avoid the risk to have the code injected before the reaction of CrawlTrack.
If you are using links to other sites inside your URL, you have to add these other sites to the trust sites list to avoid to have wrong attack detection. The link to add site to the trust sites list is on the tool page.
For each request on your site, CrawlTrack will check the URL and look for the presence of what look like SQL query. For example you could have:
www.yoursite.com/index.php?id=a OR 1=1
In that case this will be detected as a sql injection attempts and if you have set-up CrawlTrack to block the attacks, the visitor (often a crawler) will be redirected to an alert page.
It's why the best is to have the CrawlTrack tag in first place in your pages to avoid the risk to have the sql injection done before the reaction of CrawlTrack.
CrawlTrack will record all these code and sql injection attempts, and so you will have access to the list of IP used by the hackers, the date and time of attacks, the code or sql query they have tried to inject and the list of scripts for which there is a known vulnerability corresponding to these attacks. The attack list could be update by a simple click exactly like the crawler list. The only difference is that the attack list is not used to detect attack but just to give information about possible script targeted.