Login Register


Tutorial How to stop the MyBB avatar IP method. filter_list
Author
Message
How to stop the MyBB avatar IP method. #1
First you want to go to inc/functions.php, at line 5584 (May be different if you use google SEO), you will look for a function called "fetch_remote_file". This function allows for a douchebag to get the real IP address of the forum.
In order to stop this, we will use this code.

This is within the section that says if(function_exists("curl_init")) for those of you who have edited their functions.php file, Insert the following at or near the beginning of this block.

PHP Code:
curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1"); curl_setopt($ch, CURLOPT_PROXYPORT, "8080"); curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);

Replace the IP address and port with the corresponding ones of your proxy. If it's an HTTP proxy, replace CURLPROXY_SOCKS5 with CURLPROXY_HTTP.

Reply





Messages In This Thread
How to stop the MyBB avatar IP method. - by Nefarious - 06-13-2013, 08:01 PM



Users browsing this thread: 1 Guest(s)