Menu

Receiving spam or what is this email?

Help
ladybirdie
2006-03-05
2013-06-03
  • ladybirdie

    ladybirdie - 2006-03-05

    My form is working correctly (thanks to TNTEverett!), but today I received 6 really weird mails, I can't make anything of it and I'm not an expert in spam... Is it spam en can I do anything about this? Below is the mail I received:

    Naam: of9038@vincents.nl
    Email: of9038@vincents.nl
    Telefoonnummer: of9038@vincents.nl
    Website:
    Vragen of opmerkingen: of&nbsp;<br />Content-Type: multipart/alternative; boundary=330c13216ee084e547681a131bbf5613&nbsp;<br />MIME-Version: 1.0&nbsp;<br />Subject: counthry, excipt&nbsp;<br />bcc: bajfla@aol.com&nbsp;<br />&nbsp;<br />This is a multi-part message in MIME format.&nbsp;<br />&nbsp;<br />--330c13216ee084e547681a131bbf5613&nbsp;<br />Content-Type: text/plain; charset="us-ascii"&nbsp;<br />MIME-Version: 1.0&nbsp;<br />Content-Transfer-Encoding: 7bit&nbsp;<br />&nbsp;<br />was said to be wan iv th quickest iver heerd since&nbsp;<br />--330c13216ee084e547681a131bbf5613--&nbsp;<br />&nbsp;<br />.&nbsp;<br />

    My Outlook says it's from: phpFormGenerator@wmphpp........

     
    • TNTEverett

      TNTEverett - 2006-03-12

      Since it's from phpFormGenerator, and if it's from your domain, someone probably spammed your form.  This can and will happen without some simple protection.  Even with simple protection it will probably happen but hopefully with much less frequency. 
      What you need to do is change the process.php to detect where the form had been referenced from.  In you case you would want to make sure your form has been entered (refered to) from your web site.  This way anyone entering your form from places other than your web site the form entry will be ignored. 
      Let me know if you still need help.

       
    • Paul Reed

      Paul Reed - 2006-03-30

      How do you do that? do you have the modded process.php file, or can you help me mod mine pls.
      I am having the same problem as Ladiebirdie.

       
      • TNTEverett

        TNTEverett - 2006-03-30

        This is not something you should try unless you are familiar with PHP and some basic methods of form security. 
        Send some details of your particular problem so we can be sure you really need to take some action to secure your form.  Spamming of forms is not common unless you have a form that provides some benefit to the spammer.  Ask yourself this question; why would anyone want to spam your form?  If you can answer the question then maybe you should take some action.  If you can't then maybe spamming is not your problem to begin with. 

         
        • Paul Reed

          Paul Reed - 2006-03-31

          I am presently using an HTML form and Formail, but am redoing the form in phpformgenerator. The emails are similar to Ladybirdies, and an extract from one (they are legnthy forms) is below;

          3g_loss_damage: s2553@safeinsouthyorks.co.uk
          7a_pass_info: s2553@safeinsouthyorks.co.uk
          7b_pass_Info: s2553@safeinsouthyorks.co.uk
          3h_damage_cost: s2553@safeinsouthyorks.co.uk
          4b_witness_details: s2553@safeinsouthyorks.co.uk
          REMOTE_ADDR: 200.69.177.214
          HTTP_USER_AGENT:
          DATE: 16:15:36 2006-3-20

          All of the emails start with some random digits followed by the site domain - @safeinsouthyorks.co.uk, and which is repeated throughout every field in the form.
          You will note that the HTTP_USER_AGENT does not show a browser, neither in the server logs.

           
    • Greg

      Greg - 2006-04-01

      Getting the warning is great but could it be extended to simply not allow them to use it? - ie. the script/form stops processing?

      Cheers

       
      • TNTEverett

        TNTEverett - 2006-04-01

        Hence the exit command after the warning.  The script exits without further processing. 

        echo "Warning! You have accessed this form without permission. All accesses to this form are recorded. Improper use will be traced and proper legal action will be taken.";
        exit; 

         
    • GeekyGirl

      GeekyGirl - 2007-02-04

      I have tried to incorporate this code but I must have the url wrong for my site because I get the error even when you fill out the form from the website.

      The form's folder is named Links and sits at http://www.scrapuniversity.com/Library/Links/

      I have entered the url as the following with no luck getting it to work:
      /Library/Links/
      /public_html/Library/Links
      /home/scrapuni/public_html/Library/Links

      Thanks

       
      • cburnworth

        cburnworth - 2007-02-04

        can you send me your process.php. It looks like you have a field that doesn't match up, but I could be wrong.

         
      • TNTEverett

        TNTEverett - 2007-02-05

        Your URL must include the form1.html file name unless your rename the form1.html file to index.html. 
        http://www.scrapuniversity.com/Library/Links/form1.html
        or with a file name change this would work
        http://www.scrapuniversity.com/Library/Links

         
    • GeekyGirl

      GeekyGirl - 2007-02-04

      There's no place to add an attachment so how can I get the file to you?

       
    • GeekyGirl

      GeekyGirl - 2007-02-04

      I went back and worked with the file. It works perfectly as long as I don't have the code from this thread in it so I must be doing something wrong with the url or code itself.

       
    • iraji

      iraji - 2007-06-11

      Preliminary testing has shown me this code works very well. I have included it in my process.php and will monitor in the days to come to see if I get any more spam and what kind will I get. hopefully none!

       
  • TNTEverett

    TNTEverett - 2006-09-15

    A simple extension of the original:

    if (preg_match("/{the URL #1 where your form is}/", $_SERVER['HTTP_REFERER'])) { 

    elseif (preg_match("/{the URL #2 where your form is}/", $_SERVER['HTTP_REFERER'])) { 
    }
    elseif (preg_match("/{the URL #3 where your form is}/", $_SERVER['HTTP_REFERER'])) { 
    }
    else { 
    echo "Warning! You have accessed this form without permission. All accesses to this form are recorded. Improper use will be traced and proper legal action will be taken.";
    exit; 

     
    • Xylosesame

      Xylosesame - 2006-09-15

      elseif - now I feel silly.

      Thanks, works like a charm.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.