|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| iWEBTOOL Moderator Contributor Join Date: Aug 2006 Location: Hungary
Posts: 1,762
![]() ![]() ![]() ![]() ![]() | Hello everybody, i would like to share with you my hacker trap solution which provides the following fuctions:
Below you may see the core file which control the access to the site, called security.php PHP Code: As you may recognise the script uses txt file which stores the banned user agent / IP and typical string particulars which may be used during the sql injection attack. Very important part of the solution is the index.php file with the following code PHP Code: My favourite part of the whole thing is the message.php which stores my greetings to the attackers. Attaching you may find the whole archived folder (with Hungarian comments in the files). In order to implement the trap all you need to do is to upload the files into an optional folder let's name it core for instance and place this code to the very front of the files you would like to protect. PHP Code: And one more thing. Don't forget to restict the crawl of the optional core folder where the files are stored in the robots.txt file, this may catch some extra bad guy. I warrant nothing but this works very well at my site. Thanks
__________________ Please, apply the signature policy Have a look at my free seo related web directory konferencia helyszínek seo fórum Free shopping cart |
| | |
|
| |||||||
| | #2 |
| Senior Member Join Date: Mar 2007
Posts: 264
![]() | That is really nice, thanks! |
| | |
| | #3 |
| Smurf Join Date: May 2008
Posts: 18
![]() | Wow, looks good, I'll give it a run through on a few sites and see how it does. |
| | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hacker.sc | hitachi | Domain Appraisals | 6 | 03-16-2007 01:34 PM |
| Hacker.sc | hitachi | Domains for Sale | 3 | 02-16-2007 03:12 PM |
| Total IT Solution Provider | kapilver | Web Development | 3 | 10-03-2006 01:37 PM |
| Hallo, I need a solution | sanstors | Search Engine Optimization (SEO) | 3 | 07-18-2006 10:15 AM |
| Expert solution | softmind82 | Web Development | 2 | 05-31-2006 01:39 AM |