View Single Post
  #45  
Old 06-07-2008, 10:13 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Blocking those pesky hackers

@imexhouse: thanks for your contribution!

Hi Scott, this should work:

PHP Code:
##
## Added for security purposes!
##
$stop_user false;
parse_str($_SERVER['QUERY_STRING'], $_qs);
if(
$_qs) {
    foreach(
$_qs AS $k=>$v) {
        if(
substr($v04)=='http' || substr($v03)=='ftp') {
            if(!empty(
$active_modules["Stop_List"])) {
                
func_add_ip_to_slist($REMOTE_ADDR'H');
            }
            
$stop_user true;
        }
    }

__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote