Bitcoin Forum

Economy => Micro Earnings => Topic started by: pkhuba082 on July 08, 2017, 07:25:41 AM



Title: Stop Bots and Proxies From Using Your Faucet
Post by: pkhuba082 on July 08, 2017, 07:25:41 AM
Hi,

Can anyone help me how to implement this code in Wordpress site?

https://bitcointalk.org/index.php?topic=1211353.0

Thanks


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: xnd on July 08, 2017, 08:30:26 AM
You asked this everywhere BUT where you should have asked it in the first place: on the 99bitcoins wordpress page comments section


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: pkhuba082 on July 08, 2017, 09:42:28 AM
You asked this everywhere BUT where you should have asked it in the first place: on the 99bitcoins wordpress page comments section
I sent mail to 99bitcoins support team but no ans


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: BitBustah on July 08, 2017, 10:58:43 AM
I'll do it for $50 USD in BTC. :D


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: pkhuba082 on July 08, 2017, 11:14:30 AM
I'll do it for $50 USD in BTC. :D

No Thanks


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: BitBustah on July 08, 2017, 11:24:01 AM
I'll do it for $50 USD in BTC. :D

No Thanks

It was a joke, lol.


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: AdolfinWolf on July 08, 2017, 03:47:33 PM
Code:
[quote author=pkhuba082 link=topic=2009178.msg20006888#msg20006888 date=1499498741]
Hi,

Can anyone help me how to implement this code in Wordpress site?

https://bitcointalk.org/index.php?topic=1211353.0

Thanks

[/quote]

Use this code instead,


[code https://docs.iphub.info/documentation/php-integration/]

$homepage = file_get_contents('http://iphub.info/api.php?ip='.$_SERVER['REMOTE_ADDR'].'&showtype=4');
$vpn = json_decode($homepage, true);

if($vpn['proxy'] == '1')
{
 echo " Put MSG Here. ";
}


Put this in your index.php it protects you from most proxies, but it isn't 100% secure.

It basically uses the iphubinfo api, which works quite nicely.



see https://docs.iphub.info/documentation/php-integration/ for more info and more code/integrations.


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: pkhuba082 on July 09, 2017, 03:07:03 AM
Hi,

Can anyone help me how to implement this code in Wordpress site?

https://bitcointalk.org/index.php?topic=1211353.0

Thanks


Use this code instead,


Code:
 

$homepage = file_get_contents('http://iphub.info/api.php?ip='.$_SERVER['REMOTE_ADDR'].'&showtype=4');
$vpn = json_decode($homepage, true);

if($vpn['proxy'] == '1')
{
 echo " Put MSG Here. ";
}


Put this in your index.php it protects you from most proxies, but it isn't 100% secure.

It basically uses the iphubinfo api, which works quite nicely.

Thanks for your code.

How to check my website is safe from hackers(bot and proxies)?


Title: Re: Stop Bots and Proxies From Using Your Faucet
Post by: pkhuba082 on July 10, 2017, 06:52:38 AM
My site is back up online now:
Get Bitcoins Instantly (http://www.getbitcoinsinstantly.com)
If someone finds any security vulnerabilities please let me know!!!