Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
peace
Worker
Worker


Joined: Mar 11, 2004
Posts: 209

PostPosted: Sun Feb 27, 2005 4:08 pm Reply with quote

Hello

i have a referrer which makes me nervous I think it uses a proxy or something cause if someone comes my site with that referrer my stats shows 37-38 guest and i see 70-100 times counting same referrer .

site addy is Only registered users can see links on this board! Get registered or login! which not has any material about my site and not a search engine

i tryed ban that site via sentinel as
Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login!
andrewsaluk.com/

didnt worked Sad

any idea ?
 
View user's profile Send private message
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Sun Feb 27, 2005 10:37 pm Reply with quote

peace wrote:
i tryed ban that site via sentinel as
Only registered users can see links on this board! Get registered or login! Only registered users can see links on this board! Get registered or login!
andrewsaluk.com/

didnt worked Sad

any idea ?

I deny referers via .htaccess. Here's the 'Referer Spam' section from my .htaccess file:

You can see 'andrewsaluk.com' toward the bottom. These %#$@ spammed my site 1800+ times in 24 hours...

Code:
#Combat Referer Spam - VinDSL(Lenon.com)

#Lots of referer spam targets adserver/campaign.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (adserver/campaign.php)                          [NC]
RewriteCond %{HTTP_REFERER} !=""
RewriteRule ^(.*) %{HTTP_REFERER}                                           [R=301,L]

#Block referers with 2+ hyphens in their URLs. If you think you might get
#legitimate hits from domains with that name structure, delete this condition.
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?[a-z]+\-[a-z]+\-.*$          [NC]
RewriteRule ^(.*) %{HTTP_REFERER}                                           [R=301,L]

#Block referers from .info & .biz web sites.
RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+\.info/.*$                      [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+\.biz/.*$                       [NC]
RewriteRule ^(.*) %{HTTP_REFERER}                                           [R=301,L]

#Prevents you from blocking elements found in YOUR OWN URL[s]. Adjust accordingly.
RewriteCond %{HTTP_REFERER} !.*lenon\.com/.*$                               [NC]
RewriteCond %{HTTP_REFERER} !.*nocdirect\.com/.*$                           [NC]

#Block referers based on keywords anywhere in their URL.
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4free(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4u(-|.).*$            [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)6q(-|.).*$            [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)a2z(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)accept(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)adult(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)affiliate(-|.).*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)alumni(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)amateur(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)apply(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)ambien(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)anal(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)associate(-|.).*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)atlanta(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)azian(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)bank(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)biz(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)blackjack(-|.).*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)busty(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)brokers(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)casino(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cash(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cialis(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)condo(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cpa(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)credit(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dating(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)debt(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)devil(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)diet(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)discount(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dvd(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)easy(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)emedia(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)enterprise(-|.).*$    [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)episode(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)escort(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)farm(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fidelity(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)formula(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)foundation(-|.).*$    [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fu*k(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gambling(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gay(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)holdem(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)home(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)horny(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hotel(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)house(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hydrocodone(-|.).*$   [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)incest(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)insurance(-|.).*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)jerusalem(-|.).*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lesbian(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)levitra(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lighting(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lite(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)loan(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)locator(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mail(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mall(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mature(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)merchant(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)milf(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)money(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mortgage(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)myhost(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nasty(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nude(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pain\-killers(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pharmacy(-|.).*$      [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)phentermine(-|.).*$   [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)poker(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)porn(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)properties(-|.).*$    [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)prozac(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pus*y(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)rental(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sex(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)soma(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sport(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)swinger(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)tax(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)teen(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)texas(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)thai(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)tits(-|.).*$          [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)valium(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vegas(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)viagra(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vicodin(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)visor(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)warez(-|.).*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)watches(-|.).*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)weight(-|.).*$        [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)xxx(-|.).*$           [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)yacht(-|.).*$         [NC,OR]

#Block referers from specific web sites.
RewriteCond %{HTTP_REFERER} ^http://(www\.)?accepted.cc/.*$                 [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?andrewsaluk.com/.*$             [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?archined.nl/.*$                 [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?autoglaser-scout.de/.*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?autospiegel.com/.*$             [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?avalon.no/.*$                   [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?barnevakten.no/.*$              [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?baden24.de/.*$                  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?bizclassifiedsplace.com/.*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?blogspot.com/.*$                [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?brugtespil.dk/.*$               [NC,OR]
RewriteCond %{HTTP_REFERER} (dreambook)                                     [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?ducoon.net/.*$                  [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?4italiancharms.info/.*$         [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?forskning.no/.*$                [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?handy.de/.*$                    [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?hellclan.com.hk/.*$             [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?hot.ee/.*$                      [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?kfzbetrieb.de/.*$               [NC,OR]
RewriteCond %{HTTP_REFERER} (kylos)                                         [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?landsend.com/.*$                [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?latinonakedgirl.com/.*$         [NC,OR]
RewriteCond %{HTTP_REFERER} (livenet)                                       [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?lyopsrulezforever.com/.*$       [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?quickcontactsonline.com/.*$     [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?radarfalle.de/.*$               [NC,OR]
RewriteCond %{HTTP_REFERER} (roxtet)                                        [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?saab.de/.*$                     [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?shape.de/.*$                    [NC,OR]
RewriteCond %{HTTP_REFERER} (skip)                                          [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?startkabel.nl/.*$               [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?super-illu.de/.*$               [NC,OR]
RewriteCond %{HTTP_REFERER} (timberfrog)                                    [NC,OR]
RewriteCond %{HTTP_REFERER} (tiscali)                                       [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?tonspion.de/.*$                 [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?21pod.com/.*$                   [NC]
RewriteRule ^(.*) %{HTTP_REFERER}                                           [R=301,L]


Um... The formatting on this web board is causing problems with the code above, so let's try this... Wink


Quote:
#Combat Referer Spam - VinDSL(Lenon.com)
#Lots of referer spam targets adserver/campaign.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (adserver/campaign.php) [NC]
RewriteCond %{HTTP_REFERER} !=""
RewriteRule ^(.*) %{HTTP_REFERER} [R=301,L]

#Block referers with 2+ hyphens in their URLs. If you think you might get
#legitimate hits from domains with that name structure, delete this condition.
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?[a-z]+\-[a-z]+\-.*$ [NC]
RewriteRule ^(.*) %{HTTP_REFERER} [R=301,L]

#Block referers from .info & .biz web sites.
RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+\.info/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://[a-z.-]+\.biz/.*$ [NC]
RewriteRule ^(.*) %{HTTP_REFERER} [R=301,L]

#Prevents you from blocking elements found in YOUR OWN URL[s]. Adjust accordingly.
RewriteCond %{HTTP_REFERER} !.*lenon\.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !.*nocdirect\.com/.*$ [NC]

#Block referers based on keywords anywhere in their URL.
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4free(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)4u(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)6q(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)a2z(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)accept(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)adult(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)affiliate(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)alumni(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)amateur(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)apply(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)ambien(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)anal(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)associate(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)atlanta(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)azian(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)bank(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)biz(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)blackjack(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)busty(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)brokers(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)casino(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cash(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cialis(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)condo(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)cpa(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)credit(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dating(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)debt(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)devil(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)diet(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)discount(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)dvd(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)easy(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)emedia(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)enterprise(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)episode(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)escort(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)farm(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fidelity(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)formula(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)foundation(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)fu*k(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gambling(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)gay(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)holdem(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)home(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)horny(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hotel(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)house(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)hydrocodone(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)incest(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)insurance(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)jerusalem(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lesbian(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)levitra(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lighting(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)lite(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)loan(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)locator(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mail(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mall(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mature(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)merchant(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)milf(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)money(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)mortgage(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)myhost(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nasty(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)nude(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pain\-killers(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pharmacy(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)phentermine(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)poker(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)porn(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)properties(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)prozac(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)pus*y(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)rental(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sex(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)soma(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)sport(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)swinger(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)tax(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)teen(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)texas(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)thai(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)tits(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)valium(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vegas(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)viagra(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)vicodin(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)visor(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)warez(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)watches(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)weight(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)xxx(-|.).*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^(http://)?(www\.)?.*(-|.)yacht(-|.).*$ [NC,OR]

#Block referers from specific web sites.
RewriteCond %{HTTP_REFERER} ^http://(www\.)?accepted.cc/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?andrewsaluk.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?archined.nl/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?autoglaser-scout.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?autospiegel.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?avalon.no/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?barnevakten.no/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?baden24.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?bizclassifiedsplace.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?blogspot.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?brugtespil.dk/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (dreambook) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?ducoon.net/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?4italiancharms.info/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?forskning.no/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?handy.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?hellclan.com.hk/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?hot.ee/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?kfzbetrieb.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (kylos) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?landsend.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?latinonakedgirl.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (livenet) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?lyopsrulezforever.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?quickcontactsonline.com/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?radarfalle.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (roxtet) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?saab.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?shape.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (skip) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?startkabel.nl/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?super-illu.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} (timberfrog) [NC,OR]
RewriteCond %{HTTP_REFERER} (tiscali) [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?tonspion.de/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(www\.)?21pod.com/.*$ [NC]
RewriteRule ^(.*) %{HTTP_REFERER} [R=301,L]

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
peace
PostPosted: Mon Feb 28, 2005 8:57 am Reply with quote

hello vin

i didnt have/see htcasses on my root so i copy the one which i had on my host server
this is what i have in it

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mysite.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

is that ok i add your code here
 
VinDSL
PostPosted: Tue Mar 01, 2005 7:59 pm Reply with quote

Yep, that should work, but this '.htaccess' file really should be your your root - same directory as 'mainfile.php' et cetera.

Some hosts don't allow '.htaccess' files, so it may or may not work, depending on your web host - or maybe you're hosting yourself...

I'd add:
Code:
#Deny andrewsaluk.com referer and redirect back to itself.

RewriteCond %{HTTP_REFERER} ^http://(www\.)?andrewsaluk.com/.*$  [NC]
RewriteRule ^(.*) %{HTTP_REFERER}  [R=301,L]

... and give it a try.

BTW, these 'andrewsaluk.com' boneheads are spamming everyone!

LoL! Look at their RBL's: Only registered users can see links on this board! Get registered or login!
 
peace
PostPosted: Tue Mar 01, 2005 9:36 pm Reply with quote

grrr they now spammed me with
Only registered users can see links on this board! Get registered or login! +200 times.Before i try to add your codes to my htaccess Smile ill try that codes soon and let you know ty vin
 
DaChaos
New Member
New Member


Joined: Jan 06, 2005
Posts: 8

PostPosted: Tue Mar 22, 2005 12:25 pm Reply with quote

Thanks for that code VinDSL i was hit by that site myself and had the same problem where they still got thru with a subdomain after i added them to NukeSentinel™ blocked referer list i will give this code a try and thanks again.

_________________
visit: Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©