ban bad members directly from htaccess = stop them requesting anything from my server

CrazyCoder

Member
helloo buddies !!!

SO it took me a long time but i discovered a few bad members hahahaaaaaa

i saw incredible statistiques, those bastards was putting the vote button code with an image of 0x0px

SO they used an autoclick, am banning those bastards right now and searching after all others ones to bann them

the point is, i want to stop them accessing to my site, directly from the htaccess, so they cannot overload my site, calling a file or another

its not enough i deleted the button.php

they still making hundreds of requests to my site and this is consuming much ram of my server

so i wish to find a good way to stop them definitly just at the doors, hahhaaaa

do u get me ????

something as :

if http referer = this site adresss, close the door to my site

ban them from htaccess if possible

am searching around what i could do

even if i deleted the button.php, they still making a ton of requests to button.php
and even if its no more there, my server must deal with those requests

maybe ban those site ip ???

but where ???

in htaccess ? in cloudflare ???

arfffff please help me buddies :))))))))))))))
 

CrazyCoder

Member
so here an example of a member using autoclick software i want to bann access to anything from my server :::::::

Code:
Adresse IP de 'www.empereur-team.net' :    198.245.49.82
Serveurs DNS :    ns3153.dns.dyn.com
ns2165.dns.dyn.com
ns4163.dns.dyn.com
ns1186.dns.dyn.com
so i put this into my htaccess ======


Code:
order allow,deny
deny from 198.245.49.82
allow from all
is it ok, please ? i guess this way this bastard site is banned from accessing to anything from my server, i deny their ip adress :)
 

Mark

Administrator
Staff member
all of this is "reactive", and will always keep your little server very busy blocking these users for many years to come.

Check this out, after all my years of fighting button.php abuse, THIS is the way to force bad members to remove your button forever, quickly and easily.

simple:

1) at the very top of button.php add a comma separated array of bad usernames
2) then if the username in the request matches on of these redirect them somewhere awful.

PHP:
$badusers = array("mark", "basti", "santa","satan");
if (in_array("{$_GET['u']}", $badusers )) {
 header("Location: http://somwhere-brooootal.com/something");
}
now the key here is to make the new redirect location somewhere really nasty... I wont post here, but if anyone needs an example how to make such a nasty place send me a private message and I'll show you how to make something so nasty and inescapable any bad user will remove your button code within minutes.
 

CrazyCoder

Member
:p:p:pgod bless you mark !!!!!!!!! u made my day, hahahaaaa u rock buddy, sorry i asked about so many things those days, but am closed to my final result with this amazing vl 1.2

thanks again about all ur hard work basti and you

thank youuuuuuuuuuuuuu ur my god hahahaa yeahhhhh, hahaha i cant stop to laugh about ur idea, hihihiii :D:D:D
 

CrazyCoder

Member
oops seems we forget something :::

Code:
<?php
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
if (in_array("{$_GET['u']}", $badusers )) {
header("Location: http://hq6900.wix.com/haha");
}
when i go to some site i dont want they use my button.php, i click but i am not redirected to the page i specialy created for them

arrgrhhhhh i miss something

i empty the button.php and just put this code
 

Mark

Administrator
Staff member
not nasty enough ;)

password protect your /haha/ folder using .htaccess, and add a nasty message to the login box. Then any visitors to any pages loading your button will see your message on that page. No need to click the button or anything, this also works if the button is hidden, or included in an iframe.
 

CrazyCoder

Member
hihihii yeahh but i misunderstud what to do with ur code

coz i deleted the entire content of button.php and put your code , redirecting to an external page i created with winmx online page creator tool
so this is why this isnt working

button.php :

Code:
<?php
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
if (in_array("{$_GET['u']}", $badusers )) {
header("Location: http://hq6900.wix.com/haha");
}
i just realized the {$_GET['u']} is not defined roooo am so idiot

so i must replace it by $_GET['u'] right ?
 

CrazyCoder

Member
i changed for this :
Code:
<?php
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
$u = $_GET['u'];

if (in_array($u, $badusers )){
header("Location: http://hq6900.wix.com/haha");
}
but when i go to a site still using my button.php, i am redirected to my top liste, not to the special page i did

huuummm seems the header location is not working, still searching after the solution ........ :eek::confused::confused:
 

Mark

Administrator
Staff member
You are not being nasty enough, the rediretc is happening within the image still you need something more aggressive.


for example redirect them here:
http://itopsites.com/nasty

then try loading the website... you will see what I mean.

PHP:
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
if (in_array("{$_GET['u']}", $badusers )) {
header("Location: http://itopsites.com/nasty");
}
 

Mark

Administrator
Staff member
then you have done something wrong, I have used this for years with 100% success.

Show me a URL where I can see this bad user loading the button, and post your button.php here so I can see your mistake.
 
Last edited:

CrazyCoder

Member
Code:
<?php
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
if (in_array("{$_GET['u']}", $badusers )) {
header("Location: http://itopsites.com/nasty");
}
the button.php code i deleted all the rest

and here a site where u can click : http://cinema.power-heberg.com/index.php

u'll see at the middle of the page they got 4 topsites images as one of mines with no images of course, tested to tip top torrents



just click and u'll see ur redirected to my main site
coz the other one i keep it just for devellopment
 

Mark

Administrator
Staff member
I do not see your button anywhere on that page....


also when this is done properly, you dont need to click... simply loading the page will cause the popup window. There are no topsite buttons on the URL you provided at all...
 

Attachments

CrazyCoder

Member
hihhii yes the third ! where there are no images
no images, of course coz i deleted all from my button.php and replace by the code u gave me :))))
 

CrazyCoder

Member
woo god ok ok ok u need to login to see them , arfff wait a minute

u can connect with those id : user : tirobot pass : 123456789
 

Mark

Administrator
Staff member
cannot login...

Fermé : Vous devez bouger le curseur


please provide a URL that is easier...
 

Mark

Administrator
Staff member
to show you an easier way, try adding this to a HTML page:

<img src="http://aatoplist.com/button.php?u=tvqc">

this is button.php

PHP:
$badusers = array("tiber10", "Benzia", "tvqc", "seb03000", "sebastien03000");
if (in_array("{$_GET['u']}", $badusers )) {
header("Location: http://itopsites.com/nasty");
}

you can see how it works, you are just missing something and should have little trouble figuring it out. I am leaving for the day and will be back tomorrow, I bet you have it solved by then ;)
 
Last edited:

CrazyCoder

Member
hello mark, ouffffffffff sorry man, i put exactly ur code into button.php, but nothing works,
am still missing something :)
 

Basti

Administrator
Staff member
So you have replaced your button.php with exactly the code from post #18 ??

Then you call yoursite.com/button.php?u=tvqc

and its not doing the redirect?
 
Top