Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firewall
#1
Hello,

I am using this php firewall with my website and is very effective, identifies the bots and won't let them access the website, i want to share it with you.
There is no configuration changes needed unless you really need to.

Default configs are :

Code:
Hidden content for guests

Installation :

add the php-firewall folder to your root directory, then at the very begin of the header.php between <?php ?> add the following code :
Code:
Hidden content for guests

You can disable it by modifying this line and set it to false :
Code:
Hidden content for guests

If you are going to use it, share your experience here if is effective for you.


Attached Files
.zip   php-firewall.zip (Size: 8.24 KB / Downloads: 47)
Quote:Hidden content for guests
Reply
#2
This looks interesting, how exactly does it check if it's a bot or not? What are the chances of a real user being blocked without using a bot?
Reply
#3
The chances to block a user is 0% as it uses defined names to block as array, you can add as many as you want if any of the well known bot ain't in that list.

The function looks like :
Code:
Hidden content for guests

Regards
Quote:Hidden content for guests
Reply
#4
What exactly do those bots do that you would like to block them? I thought that this was some kind of a block for users that are botting points Big Grin
Reply
#5
auto register in your site then spam you with clicks, makes coins, widthdraw etc....etc....etc....depends on what the "user" tells it to do. The VPN users, registering in your site as many accounts as they want, you can block those by adding the right dns of the networks to block.

There are many ways to prevent things to happen.
Quote:Hidden content for guests
Reply
#6
(02-27-2015, 04:25 AM)treicadani Wrote: Hidden content for guests

and it works
Sorry for my English I speak only French Smile If my help to you to like me you can add +1 reputation Smile
Reply
#7
Yea sorry, it was a BBCode for the color, but it seemd to display the code, edited the main post.

Dani
Quote:Hidden content for guests
Reply
#8
Thanks a lot!

(02-26-2015, 11:21 PM)treicadani Wrote: Hidden content for guests
Reply
#9
Thanks for this handy script treicadani I think i have it installed ok but not sure if my header code is right
PHP Code:
Hidden content for guests 

Thanks for your help no idea on how we test it lol
Reply
#10
You can run a few cURL commands with empty headers to check if works or returns error. Activating get post protection, will stop some services from harvesting your website urls such as css / js.

You may see first what can it do for you and check against that configuration.
Quote:Hidden content for guests
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)

About MN Shop

MafiaNet Shop is an online store where you can buy powerful scripts, cool templates, graphic components and many other digital goods.

              Quick Links

              User Links

              Advertise