Pages:
Author

Topic: 〖ⓉⓊⓉⓄⓇⒾⒶⓁ〗 Stop Bots + Proxies From Using Your Faucet - page 6. (Read 18802 times)

sr. member
Activity: 395
Merit: 250
i see  Smiley

is there any way to block all hosting company IPs, is such service out there?

edit: i mean like database of IP ranges of hosting providers
sr. member
Activity: 350
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
One moment...

the range I think it is 158.69.

i see visits from 158.69.103.193/194/197/199/201/202/213/214/215/216/217/218/219/221
same ref and same machine:
Browser:
    Firefox 37.0
OS:
    Linux
Resolution:
    2048x1536

i blocked all 158.69.103.0/24

now it appeared with new IPs:
Location:
    Montréal, Quebec, Canada
IP Address:
    Ovh Hosting (167.114.180.179) [Label IP Address]
Referring URL:
    (No referring link)
Entry Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK
Latest Page:
     freebitcoindice.com/faucetboxgame/

Browser:
    Firefox 38.0
OS:
    Linux
Resolution:
    2048x1536

same machine
And that is not all friend, there are hundreds and hundreds of servers  Cry
sr. member
Activity: 350
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
One moment...

the range I think it is 158.69.

i see visits from 158.69.103.193/194/197/199/201/202/213/214/215/216/217/218/219/221
same ref and same machine:
Browser:
    Firefox 37.0
OS:
    Linux
Resolution:
    2048x1536

i blocked all 158.69.103.0/24

now it appeared with new IPs:
Location:
    Montréal, Quebec, Canada
IP Address:
    Ovh Hosting (167.114.180.179) [Label IP Address]
Referring URL:
    (No referring link)
Entry Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK
Latest Page:
     freebitcoindice.com/faucetboxgame/

Browser:
    Firefox 38.0
OS:
    Linux
Resolution:
    2048x1536

same machine

http://www.speedguide.net/ip/158.69.0
sr. member
Activity: 395
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
One moment...

the range I think it is 158.69.

i see visits from 158.69.103.193/194/197/199/201/202/213/214/215/216/217/218/219/221
same ref and same machine:
Browser:
    Firefox 37.0
OS:
    Linux
Resolution:
    2048x1536

i blocked all 158.69.103.0/24

now it appeared with new IPs:
Location:
    Montréal, Quebec, Canada
IP Address:
    Ovh Hosting (167.114.180.179) [Label IP Address]
Referring URL:
    (No referring link)
Entry Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK
Latest Page:
     freebitcoindice.com/faucetboxgame/

Browser:
    Firefox 38.0
OS:
    Linux
Resolution:
    2048x1536

same machine
sr. member
Activity: 350
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
One moment...

the range I think it is 158.69.
sr. member
Activity: 350
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
One moment...
sr. member
Activity: 395
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
yes, it uses same ref addy, same os, browser,.etc but different IPs on that range. block it asap
sr. member
Activity: 350
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK

OVH SAS
sr. member
Activity: 395
Merit: 250
just blocked a bot using 158.69.103. range

Location:
    Lake Forest, California, United States
IP Address:
    Sparta Inc. Aeso (158.69.103.219) [Label IP Address]
Referring URL:
    (No referring link)
Visit Page:
     freebitcoindice.com/faucetbox/?ref=1HCVQXXvhEWtU5URbXDSDD441i1agpnwkK
hero member
Activity: 868
Merit: 500
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 .
newbie
Activity: 24
Merit: 0
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)!
sr. member
Activity: 350
Merit: 250
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
hero member
Activity: 603
Merit: 500
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.
sr. member
Activity: 350
Merit: 250
hero member
Activity: 603
Merit: 500
legendary
Activity: 1582
Merit: 1031
can you show the code how you added the math question in a second frame  Huh
legendary
Activity: 2324
Merit: 1267
In Memory of Zepher
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:


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.
hero member
Activity: 784
Merit: 500
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 %}
   

       

{{ name|default('Paytoshi Faucet') }}


       

{{ description|default('...faucet? Paytoshi!') }}


       

       

            {{ content.header_box|raw }}
       

       

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!
";
}
?>
       

           
           

               

                    {% include "default/alerts.html.twig" %}
                   

Rewards:



                   

                            {% for reward in rewards %}
                               
  • {{ reward.amount }} satoshi ({{ reward.probability }}%)

  •                         {% endfor %}
                       

                   

Get a reward every {{ waiting_interval / 60 }} mins!


                   


                   
                       

                                                               value="{% if address is defined %}{{ address }}{% endif %}"
                                   placeholder="Enter your Bitcoin address">
                       


                       

                            {{ content.center1_box|raw }}
                       


                       

                           

                                {% include "default/" ~ captcha.name ~ ".html.twig" with { server: captcha.server, public_key: captcha.public_key } %}
                           

                       


                       

                            {{ content.center2_box|raw }}
                       


                       
                       

                       

                            {{ content.center3_box|raw }}
                       


                   

                   
Earn {{ referral_percentage }}% referral bonus!
                        Share your referral URL:
{{ base_url ~ '?r=' ~ address|default('Bitcoin Address') }}


               

                       
               

                   

What is a Bitcoin Faucet?


                   


                        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 https://paytoshi.org">Paytoshi wallet.

                        Read more
                   


               

           

           
       

       

           

                {{ content.footer_box|raw }}
           

       

   


{% endblock %}
legendary
Activity: 2324
Merit: 1267
In Memory of Zepher
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.
hero member
Activity: 784
Merit: 500
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 :
Code:
(); ?>

Paste the following code where you would like the equation to appear
Code:

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:

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!.";
  echo "Please go back 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:

on that same line link your PHP file to it like so:
Code:


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.

Pages:
Jump to: