Hi Scotty, .htaccess is not modified by the StopList module
Additionally, the StopList module is originally intended to block people from the cart, not from the website. My code just hijacked the module a bit to ban hackers from the site more easily.
Regarding the H vs M, in auth.php, change the SQL statement to the following:
PHP Code:
if($stop_list = func_query("SELECT * FROM $sql_tbl[stop_list] WHERE ip LIKE '$REMOTE_ADDR' AND (reason = 'H' OR reason = 'M') ")) {
Also, revert the part that bans them, back to how it was:
PHP Code:
func_add_ip_to_slist($REMOTE_ADDR, 'H');
And change the strpos bit, to this (to only match http, and ftp, at the beginning of the string):
PHP Code:
if(substr($v, 0, 4)=='http' || substr($v, 0, 3)=='ftp') {