Bitcoin Forum
April 19, 2024, 11:28:12 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 »  All
  Print  
Author Topic: 〖ⓉⓊⓉⓄⓇⒾⒶⓁ〗 Stop Bots + Proxies From Using Your Faucet  (Read 18785 times)
dart vader
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
November 14, 2015, 08:02:29 AM
 #81

your site just shows a blank page to me.

of course im not behind any proxy.

i was thinking using your steps but im worried of blocking real people (or people not behind proxies).
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
FaucetRank.com
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
November 14, 2015, 12:41:30 PM
 #82

i am remove math captcha from my faucet, i do not solve problem with correctly math question
I would like to hear some idea with double captcha, definitely bots passing by funcaptcha.
does anyone have experience with solvemedia vs. funcaptcha, who's better?

You can do it .
1st captcha at login page
2nd captcha when user make a claim

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 14, 2015, 01:37:08 PM
 #83

i am remove math captcha from my faucet, i do not solve problem with correctly math question
I would like to hear some idea with double captcha, definitely bots passing by funcaptcha.
does anyone have experience with solvemedia vs. funcaptcha, who's better?

You can do it .
1st captcha at login page
2nd captcha when user make a claim
Hi, how do the captcha on login?
thinkinger
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
November 22, 2015, 10:18:25 PM
 #84

Quote
(ROOTDIRECTORY/faucet/templates/YOURTEMPLATE/index.php)
i couldnt understand that. where is it in paytoshi script. can anyone help me?

.██████████   bitfons.in- Cryptocurrency Exchange - 10 coins███████.
pickupcoin
Legendary
*
Offline Offline

Activity: 1203
Merit: 1000


View Profile WWW
November 22, 2015, 11:18:10 PM
 #85

Quote
(ROOTDIRECTORY/faucet/templates/YOURTEMPLATE/index.php)
i couldnt understand that. where is it in paytoshi script. can anyone help me?

this YOURTEMPLATE if you don't change anything is probably "default"
like this ../faucet/templates/default/index.php
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 22, 2015, 11:28:43 PM
 #86

this YOURTEMPLATE if you don't change anything is probably "default"
like this ../faucet/templates/default/index.php
He isn't asking about FaucetBox, please read his post. Paytoshi is a bit different.

Since the Paytoshi script is a bit more split up into how it does things, the file that you're looking for is probably at this path:
../themes/default/index.html.twig
The other files are aptly named for what they do, though index.html.twig is likely the one you want for editing the main body of your faucet.
pickupcoin
Legendary
*
Offline Offline

Activity: 1203
Merit: 1000


View Profile WWW
November 22, 2015, 11:40:54 PM
 #87

this YOURTEMPLATE if you don't change anything is probably "default"
like this ../faucet/templates/default/index.php
He isn't asking about FaucetBox, please read his post. Paytoshi is a bit different.

Since the Paytoshi script is a bit more split up into how it does things, the file that you're looking for is probably at this path:
../themes/default/index.html.twig
The other files are aptly named for what they do, though index.html.twig is likely the one you want for editing the main body of your faucet.


I worked a long time ago with paytoshi, I completely forgot for .html.twig files.
thinkinger
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
November 23, 2015, 04:32:28 PM
 #88

this YOURTEMPLATE if you don't change anything is probably "default"
like this ../faucet/templates/default/index.php
He isn't asking about FaucetBox, please read his post. Paytoshi is a bit different.

Since the Paytoshi script is a bit more split up into how it does things, the file that you're looking for is probably at this path:
../themes/default/index.html.twig
The other files are aptly named for what they do, though index.html.twig is likely the one you want for editing the main body of your faucet.

Thanx bros. as soon as paytoshi works ill try it.and write here what happened.

.██████████   bitfons.in- Cryptocurrency Exchange - 10 coins███████.
Jacce
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
November 23, 2015, 05:27:14 PM
 #89

So the "proxy check" only checks if you can connect to port 80 or not? That is a very bad solution, not only is the possibility of false positives high (I got rejected from one faucet site just because I run a local WampServer), but what about proxies using other ports?

Edit: I saw that you also used Getipintel. Still, the chance of having false positives is high.
thinkinger
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
November 24, 2015, 06:19:08 PM
 #90

sorry bros again me. i did the first step and how can i learn that i did true. second where do ı have to paste the fourth one in Paytoshi. and also if you want to smile a while you can go to my faucet to see how i made it.this way http://stonefaucet.esy.es/ just below the head.
Quote
In step four we will be adding a simple math question displayed as an image as a second captcha. Faucet users cannot claim their satoshi until the math question is solved.

Download PHP captcha HERE extract it and add the "captcha" folder to your root directory. If you don't trust that download you can find the original HERE, it will require some configuring though.

Now open your template file (ROOTDIRECTORY/faucet/templates/YOURTEMPLATE/index.php) paste the following code at the very top line above <!DOCTYPE html>:
Code:
<?php session_start(); ?>

Paste the following code where you would like the equation to appear
Code:
<img id="captcha" src="/captcha/securimage_show.php" alt="CAPTCHA Image" />
<br>
<a href="#" onclick="document.getElementById('captcha').src = '/captcha/securimage_show.php?' + Math.random(); return false">[ New Problem ]</a>
<br>
<br>[/quote]
<input type="text" name="captcha_code" size="10" maxlength="6" />
<br>
<br>

Now you need to create a PHP document. I use a program called Notepad++, however any text editor will work. Create a new document, then paste in the following code:
Code:
<?php>
include_once $_SERVER['DOCUMENT_ROOT'] . '/captcha/securimage.php';

$securimage = new Securimage();

if ($securimage->check($_POST['captcha_code']) == false) {
  // the code was incorrect
  // you should handle the error so that the form processor doesn't continue

  // or you can use the following code if there is no validation or you do not know how
  echo "I'm sorry but you have to answer the math question correctly!.<br /><br />";
  echo "Please go <a href='javascript:history.go(-1)'>back</a> and use a caculator.";
  exit;
}

?>


Keep the document open. Open your faucet index page, it will most likely be index.php in your ROOTDIRECTORY. (Not the template index.php) Now press CTRL+A and select everything and copy it. Go back to the document you were just making and paste it on the very bottom, underneath the ?>  Now save the file as what ever you want, I called mine math.php.

Go back to your faucet template file (ROOTDIRECTORY/faucet/templates/YOURTEMPLATE/index.php) search for the following: <form method="POST" class="form-horizontal" role="form">
on that same line link your PHP file to it like so:
Code:
<form action="math.php" method="POST" class="form-horizontal" role="form">

Now you should have a working math eqution that users have to answer correctly before using your faucet.



I hope this helps other faucet owners, as it's terrible how bots think they can steal our valuable satoshis :3 You try and be nice, by giving people free bitcoins and they feel the need to exploit it.


.██████████   bitfons.in- Cryptocurrency Exchange - 10 coins███████.
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 24, 2015, 07:13:28 PM
 #91

sorry bros again me. i did the first step and how can i learn that i did true. second where do ı have to paste the fourth one in Paytoshi. and also if you want to smile a while you can go to my faucet to see how i made it.this way http://stonefaucet.esy.es/ just below the head.
No problem, we're here to help. AFAIK you paste the fourth block of code on themes/default/index.html.twig at around line 30, though the script wasn't built for Paytoshi so I'm not sure the outcome will be.
You also seem to have some PHP showing on your faucet. You should probably try to fix that.
thinkinger
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
November 24, 2015, 07:46:46 PM
 #92

sorry bros again me. i did the first step and how can i learn that i did true. second where do ı have to paste the fourth one in Paytoshi. and also if you want to smile a while you can go to my faucet to see how i made it.this way http://stonefaucet.esy.es/ just below the head.
No problem, we're here to help. AFAIK you paste the fourth block of code on themes/default/index.html.twig at around line 30, though the script wasn't built for Paytoshi so I'm not sure the outcome will be.
You also seem to have some PHP showing on your faucet. You should probably try to fix that.
hi i pasted it and it ended like that.some scripts that can be seen by visitors.here is  themes/default/index.html.twig as pasted.can anyone tell me where to paste it?
Quote
{% extends "default/layout.html.twig" %}

{% block content %}
    <section class="container">
        <h1 class="text-center title">{{ name|default('Paytoshi Faucet') }}</h1>
        <h3 class="text-center headline">{{ description|default('...faucet? Paytoshi!') }}</h3>
        <hr />
        <div class="custom-content">
            {{ content.header_box|raw }}
        </div>
        <hr />
<?php
if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
die("It would apprear you're using a proxy, so please, go fuck yourself!");

function checkProxy($ip){
      $contactEmail="EMAIL";
      $timeout=3;
      $banOnProability=0.99;
      
      $ch = curl_init();
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
      curl_setopt($ch, CURLOPT_URL, "http://check.getipintel.net/check.php?ip=$ip");
      $response=curl_exec($ch);
      
      curl_close($ch);
      
      
      if ($response > $banOnProability) {
            return true;
      } else {
         if ($response < 0 || strcmp($response, "") == 0 ) {
            //The server returned an error, you might want to do something
            //like write to a log file or email yourself
            //This could be true due to an invalid input or you've exceeded
            //the number of allowed queries. Figure out why this is happening
            //because you aren't protected by the system anymore
            //Leaving this section blank is dangerous because you assume
            //that you're still protected, which is incorrect
            //and you might think GetIPIntel isn't accurate anymore
            //which is also incorrect.
            //failure to implement error handling is bad for the both of us
         }
            return false;
      }
}
$ip=$_SERVER['REMOTE_ADDR'];
if (checkProxy($ip)) {
   echo "It would apprear you're using a proxy, so please, go fuck yourself! <br />";
}
?>
        <div class="row">
            <div class="col-md-3 hidden-xs hidden-sm custom-content">
                {{ content.left_box|raw }}
            </div>
            <div class="col-md-6 col-sm-12">
                <div class="faucet">
                    {% include "default/alerts.html.twig" %}
                    <h3 class="text-center">Rewards:</h3>

                    <ul class="reward-list text-center">
                        {% for reward in rewards %}
                            <li class="reward">{{ reward.amount }} satoshi ({{ reward.probability }}%)</li>
                        {% endfor %}
                    </ul>
                    <h4 class="text-center">Get a reward every {{ waiting_interval / 60 }} mins!</h4>
                    <hr>

                    <form action="{{ urlFor('reward') }}" novalidate="novalidate" method="POST" class="form">
                        <div class="form-group">
                            <input class="form-control input-lg" type="text" name="address"
                                   value="{% if address is defined %}{{ address }}{% endif %}"
                                   placeholder="Enter your Bitcoin address">
                        </div>

                        <div class="custom-content">
                            {{ content.center1_box|raw }}
                        </div>

                        <div class="form-group captcha">
                            <center>
                                {% include "default/" ~ captcha.name ~ ".html.twig" with { server: captcha.server, public_key: captcha.public_key } %}
                            </center>
                        </div>

                        <div class="custom-content">
                            {{ content.center2_box|raw }}
                        </div>

                        <button class="form-control input-lg btn-info get-reward">Get a reward!</button>
                        <input type="hidden" name="referral" value="{{ referral }}">

                        <div class="custom-content">
                            {{ content.center3_box|raw }}
                        </div>

                    </form>

                    <div class="well well-sm text-center referral-box">Earn {{ referral_percentage }}% referral bonus!
                        Share your referral URL:<br>{{ base_url ~ '?r=' ~ address|default('Bitcoin Address') }}</div>

                </div>
                       
                <div class="text-center">
                    <h3>What is a Bitcoin Faucet?</h3>
                    <p>
                        A faucet is a FREE Bitcoin site paying out up to {{ rewards_max }} satoshi every hour. Each time you visit this page and complete the captcha you will receive a payout amount randomly selected from the available amounts shown above. You will receive your payment directly to your <a href="https://paytoshi.org">Paytoshi wallet.</a><br/>
                        <a href="{{ urlFor('faq') }}">Read more</a>
                    </p>
                </div>
            </div>
            <div class="col-md-3 hidden-xs hidden-sm ">               
                <div class="custom-content">
                    {{ content.right_box|raw }}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12 custom-content" >
                {{ content.footer_box|raw }}
            </div>
        </div>
    </section>

{% endblock %}

.██████████   bitfons.in- Cryptocurrency Exchange - 10 coins███████.
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
November 24, 2015, 08:17:20 PM
 #93

hi i pasted it and it ended like that.some scripts that can be seen by visitors.here is  themes/default/index.html.twig as pasted.can anyone tell me where to paste it?
Quote
snip
Replace this line:
<form action="{{ urlFor('reward') }}" novalidate="novalidate" method="POST" class="form">

Also, try putting your PHP codes in the head in the file layout.html.twig. It's not that great practice to put them in the body imo.
felicita
Legendary
*
Offline Offline

Activity: 1582
Merit: 1031



View Profile
November 26, 2015, 02:50:31 PM
 #94

can you show the code how you added the math question in a second frame  Huh
BrannigansLaw
Hero Member
*****
Offline Offline

Activity: 603
Merit: 500



View Profile
November 30, 2015, 02:13:28 PM
 #95

Thus more complete

Code:
# Block Proxy
#5
RewriteCond %{HTTP:X_HTTP_BRAZIL_FORWARDED_FOR} !^$ [OR]
#5
RewriteCond %{HTTP:HTTP_X_BRAZIL_FORWARDED_FOR} !^$ [OR]
#4
RewriteCond %{HTTP:X_HTTP_FORWARDED_FOR}        !^$ [OR]
RewriteCond %{HTTP:X_HTTP_PROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XPROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:X_HTTP_PROXY_ID}             !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XPROXY_ID}            !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XROXY_ID}             !^$ [OR]
#4
RewriteCond %{HTTP:FORWARDED_HTTP_FOR_IP}       !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED_FOR_IP}       !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR}         !^$ [OR]
RewriteCond %{HTTP:HTTP_X_FORWARDED_FOR}        !^$ [OR]
RewriteCond %{HTTP:HTTP_X_PROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XPROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:HTTP_X_PROXY_ID}             !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XPROXY_ID}            !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XROXY_ID}             !^$ [OR]
#3
RewriteCond %{HTTP:X_FORWARDED_FOR}             !^$ [OR]
RewriteCond %{HTTP:X_HTTP_FORWARDED}            !^$ [OR]
RewriteCond %{HTTP:X_PROXY_CONNECTION}          !^$ [OR]
RewriteCond %{HTTP:X_PROXY_ID}                  !^$ [OR]
RewriteCond %{HTTP:X_USERAGENT_VIA}             !^$ [OR]
RewriteCond %{HTTP:X_XPROXY_CONNECTION}         !^$ [OR]
RewriteCond %{HTTP:X_XPROXY_ID}                 !^$ [OR]
RewriteCond %{HTTP:X_XROXY_CONNECTION}          !^$ [OR]
RewriteCond %{HTTP:X_XROXY_ID}                  !^$ [OR]
#3
RewriteCond %{HTTP:CLIENT_HTTP_IP}              !^$ [OR]
RewriteCond %{HTTP:FORWARDED_FOR_IP}            !^$ [OR]
RewriteCond %{HTTP:FORWARDED_HTTP_FOR}          !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}              !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED_FOR}          !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY_ID}               !^$ [OR]
RewriteCond %{HTTP:HTTP_USERAGENT_VIA}          !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY_CONNECTION}      !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY_ID}              !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY_ID}               !^$ [OR]
RewriteCond %{HTTP:HTTP_X_FORWARDED}            !^$ [OR]
RewriteCond %{HTTP:PC_REMOTE_ADDR}              !^$ [OR]
RewriteCond %{HTTP:PROXY_HTTP_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:USERAGENT_HTTP_VIA}          !^$ [OR]
RewriteCond %{HTTP:XPROXY_HTTP_CONNECTION}      !^$ [OR]
RewriteCond %{HTTP:XROXY_HTTP_CONNECTION}       !^$ [OR]
#2
RewriteCond %{HTTP:X_FORWARDED}                 !^$ [OR]
RewriteCond %{HTTP:X_PROXY}                     !^$ [OR]
RewriteCond %{HTTP:X_XPROXY}                    !^$ [OR]
RewriteCond %{HTTP:X_XROXY}                     !^$ [OR]
#2
RewriteCond %{HTTP:CLIENT_IP}                   !^$ [OR]
RewriteCond %{HTTP:FORWARDED_FOR}               !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED}              !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY}                  !^$ [OR]
RewriteCond %{HTTP:HTTP_VIA}                    !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY}                 !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY}                  !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}            !^$ [OR]
RewriteCond %{HTTP:PROXY_ID}                    !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}               !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}           !^$ [OR]
RewriteCond %{HTTP:XPROXY_ID}                   !^$ [OR]
RewriteCond %{HTTP:XROXY_CONNECTION}            !^$ [OR]
RewriteCond %{HTTP:XROXY_ID}                    !^$ [OR]
#1
RewriteCond %{HTTP:FORWARDED}                   !^$ [OR]
RewriteCond %{HTTP:PROXY}                       !^$ [OR]
RewriteCond %{HTTP:USERAGENT}                   !^$ [OR]
RewriteCond %{HTTP:VIA}                         !^$ [OR]
RewriteCond %{HTTP:XPROXY}                      !^$ [OR]
RewriteCond %{HTTP:XROXY}                       !^$ [OR]
RewriteRule ^(.*)$ – [F]

Does this replace:
 RewriteEngine on
 RewriteCond %{HTTP:VIA}                 !^$ [OR]
 RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
 RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
 RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
 RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
 RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
 RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
 RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
 RewriteRule .* - [F]

? thank you all! Such great tips here
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 30, 2015, 02:21:22 PM
 #96

Thus more complete

Code:
# Block Proxy
#5
RewriteCond %{HTTP:X_HTTP_BRAZIL_FORWARDED_FOR} !^$ [OR]
#5
RewriteCond %{HTTP:HTTP_X_BRAZIL_FORWARDED_FOR} !^$ [OR]
#4
RewriteCond %{HTTP:X_HTTP_FORWARDED_FOR}        !^$ [OR]
RewriteCond %{HTTP:X_HTTP_PROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XPROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:X_HTTP_PROXY_ID}             !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XPROXY_ID}            !^$ [OR]
RewriteCond %{HTTP:X_HTTP_XROXY_ID}             !^$ [OR]
#4
RewriteCond %{HTTP:FORWARDED_HTTP_FOR_IP}       !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED_FOR_IP}       !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR}         !^$ [OR]
RewriteCond %{HTTP:HTTP_X_FORWARDED_FOR}        !^$ [OR]
RewriteCond %{HTTP:HTTP_X_PROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XPROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XROXY_CONNECTION}     !^$ [OR]
RewriteCond %{HTTP:HTTP_X_PROXY_ID}             !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XPROXY_ID}            !^$ [OR]
RewriteCond %{HTTP:HTTP_X_XROXY_ID}             !^$ [OR]
#3
RewriteCond %{HTTP:X_FORWARDED_FOR}             !^$ [OR]
RewriteCond %{HTTP:X_HTTP_FORWARDED}            !^$ [OR]
RewriteCond %{HTTP:X_PROXY_CONNECTION}          !^$ [OR]
RewriteCond %{HTTP:X_PROXY_ID}                  !^$ [OR]
RewriteCond %{HTTP:X_USERAGENT_VIA}             !^$ [OR]
RewriteCond %{HTTP:X_XPROXY_CONNECTION}         !^$ [OR]
RewriteCond %{HTTP:X_XPROXY_ID}                 !^$ [OR]
RewriteCond %{HTTP:X_XROXY_CONNECTION}          !^$ [OR]
RewriteCond %{HTTP:X_XROXY_ID}                  !^$ [OR]
#3
RewriteCond %{HTTP:CLIENT_HTTP_IP}              !^$ [OR]
RewriteCond %{HTTP:FORWARDED_FOR_IP}            !^$ [OR]
RewriteCond %{HTTP:FORWARDED_HTTP_FOR}          !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}              !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED_FOR}          !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY_ID}               !^$ [OR]
RewriteCond %{HTTP:HTTP_USERAGENT_VIA}          !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY_CONNECTION}      !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY_ID}              !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY_ID}               !^$ [OR]
RewriteCond %{HTTP:HTTP_X_FORWARDED}            !^$ [OR]
RewriteCond %{HTTP:PC_REMOTE_ADDR}              !^$ [OR]
RewriteCond %{HTTP:PROXY_HTTP_CONNECTION}       !^$ [OR]
RewriteCond %{HTTP:USERAGENT_HTTP_VIA}          !^$ [OR]
RewriteCond %{HTTP:XPROXY_HTTP_CONNECTION}      !^$ [OR]
RewriteCond %{HTTP:XROXY_HTTP_CONNECTION}       !^$ [OR]
#2
RewriteCond %{HTTP:X_FORWARDED}                 !^$ [OR]
RewriteCond %{HTTP:X_PROXY}                     !^$ [OR]
RewriteCond %{HTTP:X_XPROXY}                    !^$ [OR]
RewriteCond %{HTTP:X_XROXY}                     !^$ [OR]
#2
RewriteCond %{HTTP:CLIENT_IP}                   !^$ [OR]
RewriteCond %{HTTP:FORWARDED_FOR}               !^$ [OR]
RewriteCond %{HTTP:HTTP_FORWARDED}              !^$ [OR]
RewriteCond %{HTTP:HTTP_PROXY}                  !^$ [OR]
RewriteCond %{HTTP:HTTP_VIA}                    !^$ [OR]
RewriteCond %{HTTP:HTTP_XPROXY}                 !^$ [OR]
RewriteCond %{HTTP:HTTP_XROXY}                  !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}            !^$ [OR]
RewriteCond %{HTTP:PROXY_ID}                    !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}               !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}           !^$ [OR]
RewriteCond %{HTTP:XPROXY_ID}                   !^$ [OR]
RewriteCond %{HTTP:XROXY_CONNECTION}            !^$ [OR]
RewriteCond %{HTTP:XROXY_ID}                    !^$ [OR]
#1
RewriteCond %{HTTP:FORWARDED}                   !^$ [OR]
RewriteCond %{HTTP:PROXY}                       !^$ [OR]
RewriteCond %{HTTP:USERAGENT}                   !^$ [OR]
RewriteCond %{HTTP:VIA}                         !^$ [OR]
RewriteCond %{HTTP:XPROXY}                      !^$ [OR]
RewriteCond %{HTTP:XROXY}                       !^$ [OR]
RewriteRule ^(.*)$ – [F]

Does this replace:
 RewriteEngine on
 RewriteCond %{HTTP:VIA}                 !^$ [OR]
 RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
 RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
 RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
 RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
 RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
 RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
 RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
 RewriteRule .* - [F]

? thank you all! Such great tips here
Yes friend.

BrannigansLaw
Hero Member
*****
Offline Offline

Activity: 603
Merit: 500



View Profile
November 30, 2015, 03:51:00 PM
 #97

Thank you for clearing that up misterbit Smiley

1 problem, I used to get the "It would apprear you're using a proxy, so please, go fuck yourself" but no longer do when checking via boomproxy.com. I no longer do, even after updating .htaccess. Could someone double check for me and see if you can use my faucet and successfully get satoshi via boomproxy.com? Its faucetfm.com

I don't get the message ""It would apprear you're using a proxy, so please, go fuck yourself"" but I cannot click the "I'm not a bot" links also, so perhaps it is working in a way? I tried again with unticking all the boxes 'Remove Scripts' etc and it had the same result.
misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
November 30, 2015, 04:28:59 PM
 #98

Thank you for clearing that up misterbit Smiley

1 problem, I used to get the "It would apprear you're using a proxy, so please, go fuck yourself" but no longer do when checking via boomproxy.com. I no longer do, even after updating .htaccess. Could someone double check for me and see if you can use my faucet and successfully get satoshi via boomproxy.com? Its faucetfm.com

I don't get the message ""It would apprear you're using a proxy, so please, go fuck yourself"" but I cannot click the "I'm not a bot" links also, so perhaps it is working in a way? I tried again with unticking all the boxes 'Remove Scripts' etc and it had the same result.
Unfortunately I don't speak English and use the translator who is not very coherent.
This code unfortunately does not detect all the proxies, apart from that there are hundreds of people who use servers it's the biggest problem
bargain
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
November 30, 2015, 04:37:03 PM
 #99

Optional

I have google analytics on my faucet and I realized that, almost all the traffic was coming from Russia or China.... So I found out about this site called http://www.blockacountry.com, it allows you to block whole countries from accessing your website. This route is optional, but super effective. The only downside is it affects real people from accessing your faucet.

THAT IS KNOW AS DISCIMINATION!
Don't use that, you will face legal issues!
For stopping people from earning as you are blocking an entier countrie's IPs from accessing a site and free money (if it is a faucet)!
FaucetRank.com
Hero Member
*****
Offline Offline

Activity: 868
Merit: 500



View Profile WWW
November 30, 2015, 04:53:29 PM
 #100

Thank you for clearing that up misterbit Smiley

1 problem, I used to get the "It would apprear you're using a proxy, so please, go fuck yourself" but no longer do when checking via boomproxy.com. I no longer do, even after updating .htaccess. Could someone double check for me and see if you can use my faucet and successfully get satoshi via boomproxy.com? Its faucetfm.com

I don't get the message ""It would apprear you're using a proxy, so please, go fuck yourself"" but I cannot click the "I'm not a bot" links also, so perhaps it is working in a way? I tried again with unticking all the boxes 'Remove Scripts' etc and it had the same result.
Unfortunately I don't speak English and use the translator who is not very coherent.
This code unfortunately does not detect all the proxies, apart from that there are hundreds of people who use servers it's the biggest problem
you can't stop 100% proxy users .

  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
  .SCAMMERS.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  .EXPOSED.
.
▄▄▄▄▄▄▄▄
  ████
█ ████
█ ████
█ ████
█ ████ █
█ ████ █
█ ████ █
█ ████ █
█ ████ █
  ████ █
  ████ █
  ████ █
  ████
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!