tbone542 Posted April 1, 2007 Share Posted April 1, 2007 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 More sharing options...
rcorlew Posted April 1, 2007 Share Posted April 1, 2007 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. Link to comment https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/#findComment-218966 Share on other sites More sharing options...
tbone542 Posted April 1, 2007 Author Share Posted April 1, 2007 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 Link to comment https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/#findComment-218969 Share on other sites More sharing options...
Demonic Posted April 1, 2007 Share Posted April 1, 2007 Spam bots usually set cookies on forums to make them looked logged in and they are programmed to submit content where ever they can. Link to comment https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/#findComment-218971 Share on other sites More sharing options...
kenrbnsn Posted April 1, 2007 Share Posted April 1, 2007 Spambots don't care what type of field they're posting to. They will just post in hopes that one will be an emailed field. I've caught them clobbering as "submit" field with their spam. Ken Link to comment https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/#findComment-218975 Share on other sites More sharing options...
tbone542 Posted April 1, 2007 Author Share Posted April 1, 2007 Thanks all, I guess I will wait and see what's next. Thanks, T Link to comment https://forums.phpfreaks.com/topic/45102-solved-what-is-this-spam/#findComment-218981 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.