Smiley face
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search



Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » Content management system » PHP Nuke - evolution Xtreme » Security Upddate: ZB Block
 View previous topic :: View next topic  
Author Message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Oct 18, 2017
Age: 36
Posts: 1125
Location: Milan
Italy.png 
Reputation: 4668
votes: 6
Medals: 6 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Sun May 10, 2015 4:30 pm
PostPost subject: No icon Security Upddate: ZB Block
Reply with quote

ZB Block
ZB Block is a fast all-around php driven security pre-parser for securing websites against several forms of attack, including robots, hackers, some spambots, bad hosts, signature spam, forum spam, SQL injection(SQLi), Remote File Inclusion(RFI). It includes an installing setup.php that makes setting it up on your website, blog, bulletin board, or CMS site as easy as adding a graphic to a raw html page(task comparison). The script uses intelligent, extensible signature rules to detect bad behavior. Using flat-file methods, the signatures are stored in an .inc, and logs/IP lists in a csv to prevent being disrupted by SQLi. If an attack is detected it logs the pertinent data in a .txt and a .csv, displays the forbidden screen, and then sleeps for around 5 (admin changeable) seconds to prevent flooding. The 403 http_forbidden error includes a description of why the client was blocked. If hit 3 (admin changeable) times, a permanent 503 ban is enforced, saving bandwidth and CPU time.

How to add in PHP-Nuke:

Unzip and Upload the file attached in:

/public_html/includes

Run the setup (choose the best value for your webserver i did #7):

http://www.yourdomain.tld/includes/zbblock/setup.php

I would assume most dervitive works Raven, Ultimate ect... will be basically the same.

Open mainfile.php

find
PHP:
// Include config file
@require_once(NUKE_BASE_DIR.'config.php'); 
 


Before:
PHP:
// Include config file 

add:

PHP:
// Include ZB Block
require_once (NUKE_INCLUDE_DIR 'zbblock/zbblock.php'); 
 


end.

Resources and update:
http://www.spambotsecurity.com/zbblock_download.php


Game Hosting: www.proclanservers.com


Last edited by Teo on Mon May 11, 2015 9:02 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Sponsor
Smiley face
nicky
Active
Active


Gender: Gender:Male
Joined: Mar 25, 2015
Last Visit: Sep 10, 2016
Age: 51
Posts: 10
Location: Manchester
England.png 
Reputation: 15.4
Medals: None

Status: Offline
PostPosted: Mon May 11, 2015 12:59 am
PostPost subject: No icon Re: Security Upddate: ZB Block
Reply with quote

Thanks teo
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Oct 18, 2017
Age: 36
Posts: 1125
Location: Milan
Italy.png 
Reputation: 4668
votes: 6
Medals: 6 (View more...)
Super Dedicated User (Amount: 1)

Status: Offline
PostPosted: Mon May 11, 2015 4:11 pm
PostPost subject: No icon Re: Security Upddate: ZB Block
Reply with quote

nicky wrote (View Post):
Thanks teo

hello mate! no problem! let me know if you have any problem installing it Wink
to test the installation just make this test;
add the: ?test=xtestx at the end of one of your website page, for example: http://www.yourdomain.tld/modules.php?test=xtestx
if it's ok you should get back the 403 FORBIDDEN ZB Block page! Wink


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
nicky
Active
Active


Gender: Gender:Male
Joined: Mar 25, 2015
Last Visit: Sep 10, 2016
Age: 51
Posts: 10
Location: Manchester
England.png 
Reputation: 15.4
Medals: None

Status: Offline
PostPosted: Tue May 12, 2015 5:01 pm
PostPost subject: No icon Re: Security Upddate: ZB Block
Reply with quote

Thanks Teo, it work just fine mate, i also added the line for attachment in: zbblock/vault/customsig.inc from corpse when he first did HP.

How are you finding it is working for you Teo, does zbblock give you any trouble or is it good.
Back to top
View user's profile Send private message
Sponsor
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: Oct 18, 2017
Age: 36
Posts: 1125
Location: Milan
Italy.png 
Reputation: 4668
votes: 6
Medals: 6 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Tue May 12, 2015 5:35 pm
PostPost subject: No icon Re: Security Upddate: ZB Block
Reply with quote

Hello Nicky,

unfortunately i'm having problem with an ##bad word replaced## at the moment, I didn't test it properly yet because is only few days now but i see webserver is working smooth better than before by checking logs. The only thing i noticed is that at a certain point i got a 503 error i need to figure out if was ZB blocking me or another attack.

I will update you!
let me know
cheers mate!


Game Hosting: www.proclanservers.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index » Content management system »  PHP Nuke - evolution Xtreme
 
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts [VIDEO] - How to add colour to your name in SoF2 2 BuLLy 116 Sat Sep 23, 2017 4:07 am
BuLLy View latest post
No new posts how to add your own gameover song (code) 3 kingsfloo 1488 Fri Apr 10, 2015 10:43 am
abdouraoui View latest post
No new posts TIP: Add your STEAM Profile! 0 Teo 1104 Thu Feb 26, 2015 5:59 pm
Teo View latest post
No new posts how i add bots to my server? 5 abdouraoui 3805 Fri Jan 02, 2015 10:13 pm
Punisher View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2017 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©