<div dir="ltr">+1 for a spambot.<div><br></div><div>The &quot;smoking gun&quot; for me is the fact that if it was a case of valid details being &quot;munged&quot; by a Unicode or codepage issue then I would not expect this to affect numeric digits (as in phone numbers) and I certainly wouldn&#39;t expect the only piece of data to survive any munging to be the &quot;@&quot; and &quot;.com&quot; in the email address.<br>
<br>My guess is that if that field on the form were not labelled as &quot;Email&quot; then this field would also have simply been filled with junk but the spambot is doing a minimal amount of work to try to ensure that the junk details pass basic validation (i.e. is a valid email address).  It is surprising that it isn&#39;t doing the same thing for a field labelled &quot;Phone&quot; and filling it with a phone number (tho the correct format for this is potentially geographically sensitive so may not have been considered worth the effort), but in any case I doubt that spambots go through rigorous functional requirements, design, i18N and testing before being deployed.  :)<br>
<br>J</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 March 2014 20:10, John C <span dir="ltr">&lt;<a href="mailto:jc@sunshinesoftware.co.nz" target="_blank">jc@sunshinesoftware.co.nz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-NZ" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Hi all<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">I have this website with a contact page (in PHP &amp; html) where any person can submit a request with their contact details which is emails to me after clicking a submit button.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">All works fine, however. So now and then I receive an email from this website/page but details don&#39;t seem being filled in at &quot;page level&quot; but in another way. This as the page does a submit validation check and the submitted phone number is e.g. &quot;</span> LbXwjLfDDTFkIuBkPP<span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"> &quot; something my validator doesn&#39;t allow for. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Also other details are like:<u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Name: </span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">Bjmpynut</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Organisation: </span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">ahTKXyxtYnCdo</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Position: </span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">Bjmpynut</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Phone: </span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">LbXwjLfDDTFkIuBkPP</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Email: </span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d"><a href="mailto:gipnpmhk@uohrokgr.com" target="_blank">gipnpmhk@uohrokgr.com</a></span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">All looks very suspicious. Any clues how this could happen at all and how to prevent this?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">The webpage in question is at <a href="http://www.relacs.co.nz/ContactUs.php" target="_blank">http://www.relacs.co.nz/ContactUs.php</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">The email creator resides in the post process of the page like:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                if($_POST[&#39;Submit&#39;]==&quot;Submit&quot;)<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                {<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Name = $_POST[&#39;InputName&#39;];<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Email =  $_POST[&#39;InputEmail&#39;];<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Phone =$_POST[&#39;InputPhone&#39;];<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Company = $_POST[&#39;InputCompany&#39;];<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Position = $_POST[&#39;InputPosition&#39;];<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Subject  = $_POST[&#39;Subject&#39;];<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Comment = $_POST[&#39;InputComment&#39;];<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body = &quot;Name: $Name\n\n&quot;;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Company: $Company\n\n&quot;;<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Position: $Position\n\n&quot;;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Phone: $Phone\n\n&quot;;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Email: $Email\n\n&quot;;<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Subject: $Subject\n\n&quot;;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $body.= &quot;Comment: $Comment&quot;;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Receiver               = &quot;<a href="mailto:info@relacs.co.nz" target="_blank">info@relacs.co.nz</a>&quot; ;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $send = mail($Receiver, &quot;Feedback website - RELACS&quot;, $body, &quot;From: $Email&quot;);<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                                $Msg = &quot;Thank you $Name for your feedback. We will get back to you ASAP&quot;;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0d0d0d">                }</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">Thanks for any help and/or suggestions.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">John Ch<u></u><u></u></span></p></div></div><br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>