hello i have made a code to block PROXY WEB all possible PROXY WEBS ! Just edit extremlymtorrents with your site!
ADD THIS TO account-login.php / / account-signup.php / / account-recover.php first line
this will block all LOGIN SIGNUP RECOVER acces to your site !!!
<script type="text/javascript">
if(!location.hostname.match(/(^|\.)extremlymtorrents.ws$/)){
window.location="https://extremlymtorrents.ws/";
}
function shapeSpace_block_proxy_visits() {
$ports = array(80,81,553,554,1080,3128,4480,6588,8000,8080);
foreach ($ports as $port) {
if (@fsockopen($_SERVER['REMOTE_ADDR'], $port, $errno, $errstr, 5)) {
die('SUCK IT Proxy access not allowed ExtremlymTorrents.ws Rules MMFKR _)_');
}
}
}
function shapeSpace_block_proxy_visits() {
$headers = array('CLIENT_IP','FORWARDED','FORWARDED_FOR','FORWARDED_FOR_IP','VIA','X_FORWARDED','X_FORWARDED_FOR','HTTP_CLIENT_IP','HTTP_FORWARDED','HTTP_FORWARDED_FOR','HTTP_FORWARDED_FOR_IP','HTTP_PROXY_CONNECTION','HTTP_VIA','HTTP_X_FORWARDED','HTTP_X_FORWARDED_FOR');
foreach ($headers as $header){
if (isset($_SERVER[$header])) {
die('SUCK IT Proxy access not allowed ExtremlymTorrents.ws Rules MMFKR _)_');
}
}
}
$proxy_headers = array(
'HTTP_VIA',
'HTTP_X_FORWARDED_FOR',
'HTTP_FORWARDED_FOR',
'HTTP_X_FORWARDED',
'HTTP_FORWARDED',
'HTTP_CLIENT_IP',
'HTTP_FORWARDED_FOR_IP',
'VIA',
'X_FORWARDED_FOR',
'FORWARDED_FOR',
'X_FORWARDED',
'FORWARDED',
'CLIENT_IP',
'FORWARDED_FOR_IP',
'HTTP_PROXY_CONNECTION'
);
foreach($proxy_headers as $x){
if (isset($_SERVER[$x])){ die("You are using a proxy!") };
}
function shapeSpace_block_proxy_visits() {
if (@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1)) {
die('SUCK IT Proxy access not allowed ExtremlymTorrents.ws Rules MMFKR _)_'); } } add_action('after_setup_theme',
'shapeSpace_block_proxy_visits');
</script>
<?php if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
die("SUCK IT Proxy access not allowed ExtremlymTorrents.ws Rules MMFKR _)_"); ?>ADD THIS TO account-login.php / / account-signup.php / / account-recover.php first line
this will block all LOGIN SIGNUP RECOVER acces to your site !!!
