Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

reCAPTCHA for X-Cart Classic

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #41  
Old 08-12-2018, 04:43 AM
 
Hallsons Hallsons is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 84
 

Default Re: reCAPTCHA for X-Cart Classic

Wow, I just woke up to over 3,000 spam contact forms entered, and this is on my contact form and several ask a question forms. Any suggestions as to how to stop this?
__________________
Chris Wilson
4.7.10 (after 9 years with 4.1.12)
CDSEO Pro
Reply With Quote
  #42  
Old 08-12-2018, 05:08 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

lol, they've got it in for you today. Clearly you missed an install step, or you're on a spam list.

Post an example email that you got via the contact form.
__________________
xcartmods.co.uk
Reply With Quote
  #43  
Old 08-12-2018, 05:19 AM
 
Hallsons Hallsons is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 84
 

Default Re: reCAPTCHA for X-Cart Classic

I'll go back through the install again. There were 7 spam reviews from the same, 3 bogus users created, and like I mentioned, over 3,000 emails sent from the contact us form and multiple "ask a question about this product" forms from all throughout the catalog.

I've since permanently deleted them all so will have to wait for another to post LOL
__________________
Chris Wilson
4.7.10 (after 9 years with 4.1.12)
CDSEO Pro
Reply With Quote
  #44  
Old 08-12-2018, 05:27 AM
 
Hallsons Hallsons is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 84
 

Default Re: reCAPTCHA for X-Cart Classic

So all of these were from netsparker@example.com and searching for this on the web it is apparently a somewhat legit security scanner. Heck, someone might have actually initiated it intentionally to scan our website.

Again, I'll double check the installation...
__________________
Chris Wilson
4.7.10 (after 9 years with 4.1.12)
CDSEO Pro
Reply With Quote
  #45  
Old 08-26-2018, 07:50 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

Did you solve it?
__________________
xcartmods.co.uk
Reply With Quote
  #46  
Old 08-28-2018, 07:39 AM
 
floracal floracal is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 45
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by Hallsons
So all of these were from netsparker@example.com and searching for this on the web it is apparently a somewhat legit security scanner. Heck, someone might have actually initiated it intentionally to scan our website.

Again, I'll double check the installation...


I just got hit today 8-28-2018 from netsparker@example.com

I have found that using FireFox (61.0.2 64-bit) recaptcha does not work.
__________________
X-Cart GoldPlus v4.7.12 PHP 7.4
X-Cart reBOOT (reDUX) Responsive Template
BCSE Paypal-DPM - BCSE Smooth Checkout
Reply With Quote
  #47  
Old 08-28-2018, 02:37 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: reCAPTCHA for X-Cart Classic

Quote:
Originally Posted by floracal
I just got hit today 8-28-2018 from netsparker@example.com

I have found that using FireFox (61.0.2 64-bit) recaptcha does not work.

I use FF and recaptcha is working in my version 61.0.2 (64-bit)
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #48  
Old 08-28-2018, 05:09 PM
 
A_R A_R is offline
 

Member
  
Join Date: Aug 2018
Posts: 12
 

Default Re: reCAPTCHA for X-Cart Classic

Same here XC 4.7.9 Gold Plus - leads to a blank page - It's because this pages has already a number captcha from x-cart inserted. This may be causes the reCaptcha code not being inserted into the right place and propably would need replacing the existing coding.
__________________
4.7.9 Gold Plus
PayPal DPM for X-cart

Andreas
www.aaawatchclub.com
Reply With Quote
  #49  
Old 09-02-2018, 04:04 PM
 
A_R A_R is offline
 

Member
  
Join Date: Aug 2018
Posts: 12
 

Default Re: reCAPTCHA for X-Cart Classic

There is an error in the installation instruction:
IF YOU USE THE *ADVANCED* CUSTOMER REVIEWS MODULE...

17) In skin/common_files/modules/Advanced_Customer_Reviews/customer_add_review.tpl

BEFORE...

{include file="customer/buttons/submit.tpl" type="input" assign="submit_button"}

INSERT...

{* reCAPTCHA - www.xcartmods.co.uk *}
{if $active_modules.reCAPTCHA && $config.reCAPTCHA.reCAPTCHA_enabled eq "Y" && $config.reCAPTCHA.reCAPTCHA_site_key && $config.reCAPTCHA.reCAPTCHA_secret_key && $config.reCAPTCHA.reCAPTCHA_enabled_review eq "Y"
<tr>
<td colspan="2">&nbsp;</td>
<td>{include file="modules/reCAPTCHA/reCAPTCHA.tpl" align="left"}</td>
</tr>
{/if}
{* /reCAPTCHA *}


There is a } missing behind the eq "Yes" and the <tr> Tag!



If you run the Template sytntax this produce an error in the customer_add_review_t.tpl template
pointing at line 85 "<td colspan="2">&nbsp;</td>" - Unexpected "<"



Here is the corrected version:


{* reCAPTCHA - www.xcartmods.co.uk *}
{if $active_modules.reCAPTCHA && $config.reCAPTCHA.reCAPTCHA_enabled eq "Y" && $config.reCAPTCHA.reCAPTCHA_site_key && $config.reCAPTCHA.reCAPTCHA_secret_key && $config.reCAPTCHA.reCAPTCHA_enabled_review eq "Y"}
<tr>
<td colspan="2">&nbsp;</td>
<td>{include file="modules/reCAPTCHA/reCAPTCHA.tpl" align="left"}</td>
</tr>
{/if}
{* /reCAPTCHA *}


This will produce the right customer_add_review_t.tpl file version.


Attached zip file with 2 screenshots

__________________
4.7.9 Gold Plus
PayPal DPM for X-cart

Andreas
www.aaawatchclub.com
Reply With Quote

The following user thanks A_R for this useful post:
PhilJ (09-06-2018)
  #50  
Old 09-03-2018, 01:48 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: reCAPTCHA for X-Cart Classic

Zip file install.txt corrected with missing } (line 329).
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:20 PM.

   

 
X-Cart forums © 2001-2020