close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SPAM email sent

Thread began 4/17/2012 11:01 pm by info399547 | Last modified 4/23/2012 9:51 pm by Jason Byrnes | 9485 views | 5 replies |

info399547

SPAM email sent

I seem to receive a lot of spam email from a page that uses CSS Form Builder.
The email should be sent only when a submit button is pressed which is also linked to a captcha.

documents_details.php?documentID=77&author_surname=Harvey

I need to fix this. It only seems to happen on the document part of the site and not on other part where the same script is used

Sign in to reply to this post

Jason ByrnesWebAssist

I tested you page and can only send it if I fill in the captcha properly, so the validation is working.

captcha is used to prevent automated scripts for ending your form, it cannot prevent a real person from filling in the form though.

since the captcha is woking as it should, it would mean a real person is responsible, it's a bit more difficult to prevent a malicious person from filling in your form.

I see you are also displaying the comments on the page, so you must be storing them in a database. in your comments table, add an ip address column, bind this to the REMOTE_ADDR variable in the Server bindings collection to store the ip address of the user making the comments.

when you start getting spam messages, you can look up the email address in the comments table, and match it to an IP.

you can use an htaccess rule to prevent that IP address from accessing your site in the future. see the following for more details:
block-bots-hotlinking-ban-ip-htaccess

Sign in to reply to this post

info399547

Somehow though someone/something is bypassing the CAPTCHA and send this kind of email on a daily basis.

Dear ,
A new comment has been posted to your presentation on the Scipt site.
Page URL: presentations_details.php?presentationID=233&author_surname=Bonde%20Larsen
Author:
Document Title: Physiotherapy for SCI in Denmark
Comment: I like the valuable iafirmntoon you provide in your articles. I’ll bookmark your blog and check again here frequently. I am quite sure I will learn lots of new stuff right here! Best of luck for the next!

That's exactly the structure found in the WebAssist file in the Webassist/email folder.
I have attached a copy here.
How do i prevent someone to hack into the file and post spam?

Attached Files
spammed file.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you cannot prevent a person from filling in the form with spam, captcha can only validate that an automated script is not sending the spam.

It's not posible to prevent a live person from filling in the form and filling it in with spam unless you prevent all people from filling in the form.


you can record the ip address like i explained earlier, and ban IP addresses if they send you spam

Sign in to reply to this post

info399547

You have mentioned that already and I have monitored the database, but nothing gets written in it so they must bypass part of the webassist script and just use part to spam.

The messages are not created by a person, if they were and everything worked we would not receive auto generated spam, so please have a look at the files I sent and see if there is something I can modify to stop this

Cheers

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...