Show Posts
|
Pages: [1] 2 3 4 »
|
This faucet exceeded it's safety limits!
|
|
|
sorry i didnt know where to post this. how i put that code? and what will happen if i put that?
Basically, you can put 'em(code) in the .htaccess file & it'll block all the ips in that range(you'd block) it only blocks the ip in proxies? Look at my ban-list http://octopus.pp.ua/BAN.txtIt's .htaccess with .txt extention
|
|
|
Thanks for help, I create table in DB with your commend. My site is connected to DB (satoshi are sended and adresses are recorded in DB - so I think it's ok). So now I have to wait is any IP get catch to my log_faucets table So? Have you result?
|
|
|
Am I do it right? I want to ask because I don't have any knowledge about sql and php. 1. Are you create this table (log_faucets) in your database? 2. Are you connect to database in your script? Do not post connection string to forum coz you can lose your money. 3. Move "{" up to string with "$ra = getIP();" - it's border of IF statement (must be "{$ra = getIP();") 1, 2 you can google how to using DB, or i can help
|
|
|
Thanks Where I can find banned IP list? You can find it in your webserver's logs (error code 403), or you can use code such as: $ra = getIP(); $fname = $_SERVER['SERVER_NAME'];
$sql = "INSERT INTO log_faucets (ip, fname) VALUES ('$ra', '$fname')";
mysql_query($sql, $link); in IF statement (when cheked, is user legal, listing posted in first post), and logs with banned IPs will be accumulated in database table 'log_faucets'. Sure, you must create this table before: CREATE TABLE IF NOT EXISTS `log_faucets` ( `ip` varchar(50) NOT NULL, `fname` varchar(100) NOT NULL, `DT` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=utf8; Where 'ip' - banned ip 'fname' - faucet's name (if you use some faucets) 'DT' - datetime of impression And later you can use this list in .htaccess or check IP in future impressions for preventive ban.
|
|
|
Can I use this script with 15 second timer?
Sure. Just set timeout: if (($_COOKIE['Mortal'] != getIP()) or ((time() - $_COOKIE['Combat']) < 50)) 15, not 50. Recomended set 10 sec, when page loaded
|
|
|
This code works well, but I was wondering is there is any way you could use this together with the AntiBotLinks script?
You can use this code with any another AntiBotLinks script
|
|
|
FaucetBox ready made script and it works a treat for bot traffic lol. My idea was originally to use Fail2Ban and a custom filter to search logs on my server to limit POST requests within short time frames, it worked to a degree, within a few hours several hundred IPs were banned all similar IPs (thought that was a bit easy) Then incame more IP ranges each IP submitting less often. As it's a POST requests server doesn't log info maybe ModSecurity can be used to look in to the POST requests further Something is definitely up https://bitcointalk.org/index.php?topic=1448604Mmm?
|
|
|
Thank you for this. Over the weekend I got ripped by the bots and need to shut down. I'm taking now all the measures before the relaunch.
U r wellcome %)
|
|
|
Will you please show proper coding of this anti-bot you mention above with line number where we have to put it.I really need it because my faucet is full of bots.Faucetbox admin panel show around 6000 claims/day but google adsense show only 800. I don't wanna refill my wallet till i fix it so please help me & give some advice . This code insert in 2-3 rows of index.php, after "<?php": setcookie("Mortal",$_SERVER['REMOTE_ADDR'], time()+3000); setcookie("Combat",time(), time()+3000); Scroll to 1547 row and insert after "// banning $ip = ip2long(getIP()); if($ip) { // only ipv4 supported here foreach($security_settings["ip_ban_list"] as $ban) { if(ipSubnetCheck($ip, $ban)) { banned(); } } }" if (($_COOKIE['Mortal'] != getIP()) or ((time() - $_COOKIE['Combat']) < 50)) { banned(); } Function "banned()" already in faucetbox script, so, that's all you have to do. Do not forget use timer on button "Get reward".
|
|
|
Is this for faucetbox script?
Yes, this code for faucetbox script, but it will work in another scripts, if you use appropriate functions such as "getip()".
|
|
|
Oh it works! I have seen how much many people have been banned in just under 1 minute. Most of them from Russia. What i did before to block Russians was to block the whole country but i realized i was losing ads revenue and also i was denying innocent people access because Russia Uses the the most spam bots and proxies. But that i have something like this, i don't have to worry about the spammers and their spambots! Thank you, now my ad revenue and page views are picking up, i have had more than 20000pageviews under 6hours! Whoop Whoop!
Good luck in your work
|
|
|
All set now, thank you!
U r wellcome %) I hope, that's can help against bots
|
|
|
Hi all! So, how can i see, bots is the really zaebali (sorry for my french). I had used antibot script and .htaccess. My ban list you can see in http://octopus.pp.ua/BAN.txt . It consist proxies and TOR's IP's. Manually checked every day, when i had attacked by bots. Yes, i'm nerd And antibot script. I had set timeout in "Get reward" button in 60 sec, and set coockies with time of impression from user. When user click to "Get reward" button, i have check, is 60 sec out. So, when bots attack again, i will change that to save it in session. If you want, you can use my experience. 1. Open your index file and add in first setcookie("Mortal",$_SERVER['REMOTE_ADDR'], time()+3000); setcookie("Combat",time(), time()+3000); "Mortal" saved current ip of user "Combat" saved current time of visit 2. In "POST" section add: if (($_COOKIE['Mortal'] != getIP()) or ((time() - $_COOKIE['Combat']) < 50)) { banned(); }
Where function banned(); is function banned() { trigger_error("Banned: ".getIP()); http_response_code(403); die(); } So, with that code and .htaccess i defence my faucets. Good luck! Hey after putting the codes my own IP address gets blocked, What can i do? U must wait 1 min before claim. Or, you can set another timout in setcookie("Mortal",$_SERVER['REMOTE_ADDR'], time()+3000); And if (($_COOKIE['Mortal'] != getIP()) or ((time() - $_COOKIE['Combat']) < 50)) First code mean lifetime of cookies is 50 min, second - check, is 50 sec is out when user click button
|
|
|
Hi all! So, how can i see, bots is the really zaebali (sorry for my french). I had used antibot script and .htaccess. My ban list you can see in http://octopus.pp.ua/BAN.txt . It consist proxies and TOR's IP's. Manually checked every day, when i had attacked by bots. Yes, i'm nerd And antibot script. I had set timeout in "Get reward" button in 60 sec, and set coockies with time of impression from user. When user click to "Get reward" button, i have check, is 60 sec out. So, when bots attack again, i will change that to save it in session. If you want, you can use my experience. 1. Open your index file and add in first setcookie("Mortal",$_SERVER['REMOTE_ADDR'], time()+3000); setcookie("Combat",time(), time()+3000); "Mortal" saved current ip of user "Combat" saved current time of visit 2. In "POST" section add: if (($_COOKIE['Mortal'] != getIP()) or ((time() - $_COOKIE['Combat']) < 50)) { banned(); }
Where function banned(); is function banned() { trigger_error("Banned: ".getIP()); http_response_code(403); die(); } So, with that code and .htaccess i defence my faucets. Good luck!
|
|
|
Whats earn rate for every ad size and pop-ads? is your ad network CPM or CPC model ?
I do not recommend to use banner ads they do not pay out as much as popups/unders our share rate is 60% example if you have 1000 popups from unique ips (no fraudulent traffic like bots) and world wide we get about 20c-1.50$ at the beginning (if traffic is good it can go 5 times that) you will get 60% of it Calculate: 60% from minimum payment (0.2 USD) per 1000 popups is 0.12 USD. I had send over 200 impresions in few days: 0.12 / 5 = 0.024 USD But: So, where is my 2 cents, man?
|
|
|
Hi, We cannot really do this at this time as our system is set up in US dollars and Bitcoin payout account is not connected to the system. We will be doing conversions live.
It is logical though. I speak Russian but unable to write in Russian.
Hi, Dimitri So, if you can't set this at now, we'll be wait PS: It is logical though. I speak Russian but unable to write in Russian.
Thnx, I Did It for the Lulz, and i had lot of lulz
|
|
|
|