Jump to content

[SOLVED] What is this??? SPAM?


tbone542

Recommended Posts

Hi all,

 

I have recently been getting an outrageous number of hits on a search box on my site.

 

It appears to be from some kind of automated script, as the same search phrase is entered into the form every 30 seconds or so.

 

The phrases look like this for example...

Drug+Detox%2C+detox+drinks%2C+detox+products%2C+how+to+pass+a+drug+test%2C+drug+test+detox%2C

 

The same phrase will continually be submitted from the same IP.

 

This is true for other phrases too from other ip's they just don't quit.

 

Anybody have any idea of what's going on?

 

What is the purpose of this?

 

Thanks,

T

 

Link to comment
https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/
Share on other sites

It is definately SPAM. I had the same problem with wome pages on my site, they would constantly keep posting stuff about viagra and things like that. I had to do some tightening down of my script to fix it. I simpley do this:..

 

<?php
$var = preg_match("[href|</A>|</a>|<script]",$_POST['var'], $nm, PREG_OFFSET_CAPTURE);
?>

 

That will catch the spam, worked good for me.

Yeah,

 

I had some of that going on with my contact form. I created a banned ip table and banned the ip's as they popped up.

 

What's strange about this is, the stuff they submit isn't posted anywhere. It is in a search box which searches my website for a matching phrase. It doesn't post or mail it. Maybe they think it does?

 

I never noticed it until I started logging all of the search phrases entered and their ip's.

 

Next thing you know I had 200,000 entries for these kinds of phrases...

 

Strange.

 

T

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.