boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Hack] Google Bombing Spammers
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
Cyberian75



Joined: 26 Sep 2002
Posts: 1267
Location: Oregon

PostPosted: Wed Dec 08, 2004 2:10 am    Post subject: Reply with quote

kiss wrote:
Cyberian75 wrote:
kiss wrote:
imam try this one out becuz the other makes ALL my comments identified as spam


This one only filters links with those keywords.
Smile


So what does the other one do?


Read the very first post in that thread.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
ghoti



Joined: 27 Jul 2004
Posts: 8

PostPosted: Thu Dec 09, 2004 7:47 pm    Post subject: Reply with quote

I added this code above the if($ok) { line:
Quote:

$wordlist = Array(
        "poker",
        "gambling",
        "blackjack",
        "casino",
        "free",
        "holdem",
        "texas"
);

foreach ($wordlist as $keyword)
        if (eregi("<\ *a\ *href\ *\=.+>.*".$keyword.".*<\ *\/a\ *>", $original_comment))
                $ok = false;

and when I try to comment on my blog, I still get this error:

Parse error: parse error, unexpected T_STRING, expecting ')' in /home/storm7/public_html/home/b2comments.post.php on line 92

Line 92 says this:
        "poker",

Earlier, I had simply disabled my comments by adding some nonsense to the code. Nobody could comment, but whenever I added a new post, a comment from the gambling sites would show up automatically. What have they done to me?
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 1267
Location: Oregon

PostPosted: Thu Dec 09, 2004 10:44 pm    Post subject: Reply with quote

http://www.cafelog.com/board/viewtopic.php?t=5891

ghoti wrote:
Earlier, I had simply disabled my comments by adding some nonsense to the code. Nobody could comment, but whenever I added a new post, a comment from the gambling sites would show up automatically. What have they done to me?

They simply posted their ads with higher post IDs. Use one of the hacks, or logon to phpMyAdmin, and delete them.
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
tierra



Joined: 30 Nov 2004
Posts: 5

PostPosted: Fri Dec 10, 2004 7:27 pm    Post subject: Reply with quote

Cyberian75 also likes to add in another un-expected variable that makes common spam bots have no effect at all on the site (his verified variable). But code has to be added in a couple places for that, and if you miss adding something, no-one will be able to post comments at all. So I just mentioned using only the keyword block so you wouldn't be as confused and lock everyone out.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB 2 © 2001, 2002 phpBB Group