Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- mail server hacking attempts


marciano - 10:21 pm on Feb 8, 2011 (gmt 0)


Hello World,

I have revamped my site.
My contact form contains some regular inputs. Some of them have some JS validators (Name:alpha; email)
Method submission is Post and the Action to another php script (mail sender).
This script takes care about passed values with
$var = (get_magic_quotes_gpc()) ? $_POST['var'] : addslashes($_POST['var']);

With the collected data phpMailer sends two mails, one to the sender and one to us.

It seems like automated spies, programs or whatever are accessing sender page and sending testing mails once or twice a day.
I received mails like these. They have the body structure created by the sender script

118.96.14.120 from AUSTRALIA
Contact with ...
Name: ayihvic 947258
E-mail: qpobss@tofhmc.com

SrmREJ <a href="http://imaicmovbcwm.com/">imaicmovbcwm</a>, xaikcuohlqsd [xaikcuohlqsd.com], [link=http://euedorcwpoue.com/]euedorcwpoue[/link], [clidzkjcpkuv.com...]


82.76.164.212 from ROMANIA
Contact with ...

Nombre: plqysro 45020
E-mail: gdevlv@hpxizk.com

3OQyfv <a href="http://popdzyrtavhn.com/">popdzyrtavhn</a>, pmipunnidneh [pmipunnidneh.com], [link=http://qjiqoshdvkty.com/]qjiqoshdvkty[/link], [inzihgthufxt.com...]




How can I avoid those people even sending test mail?


Thread source:: http://www.webmasterworld.com/php/4264403.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com