Form Post Hijacking

Album Cover: The Future

"Love's the only engine of survival."
Leonard Cohen / The Future

Posted on September 12, 2005 10:50 PM in Web Development
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

I've been sans DSL for over a week now, so forgive me for the lack of posts. Using dial-up is almost as bad as having to listen to Clay Aiken on repeat. But anyway...

While I've been away, some nugget has been trying to hijack my contact form. He's done it about 10-15 times over the course of the past few days, and he's easily recognizable by the email address he includes in the attempts,

All it took was a Google search for that address to uncover other victims. That also led me to Form Post Hijacking, a very informative look at what is going on when these hacking attempts are made. Not only is there a very in-depth explanation, but a good description of preventative measures to take as well.

Even though I don't believe the hacker, if you can even call him that, has been successful in exploiting an open relay on my domain, I've gone through and followed the measures explained at Form Post Hijacking anyway, eliminating all carriage returns and line feeds from entries in that form. However, it should be noted that I used PHP's ereg_replace function instead of preg_replace and combined the two calls into one, like so:

$message = ereg_replace("\r|\n", " ", $message);

I'll still probably have to deal with the annoyance of receiving worthless emails for a while, but at least I know that loser isn't getting anything out of it.


logo design service on October 03, 2016 at 11:36 PM:

I read that Post and got it fine and informative. Please share more like that...


hacking facebook account on February 03, 2017 at 1:26 AM:

great post.


clicker games on August 02, 2017 at 3:26 AM:

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me.


unblocked games on August 12, 2017 at 11:59 PM:

unblocked games is online free game portal website.unblocked games always allow free and easy of thousand of adventures and interesting games


sildenafil on December 04, 2018 at 9:07 AM:

Great post, what you said is really helpful to me. I can't agree with you anymore.
I have been talking with my friend about, he though it is really interesting as well.


Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.