X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   reCAPTCHA for X-Cart Classic (https://forum.x-cart.com/showthread.php?t=74978)

Hallsons 08-12-2018 04:43 AM

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?

PhilJ 08-12-2018 05:08 AM

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.

Hallsons 08-12-2018 05:19 AM

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

Hallsons 08-12-2018 05:27 AM

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...

PhilJ 08-26-2018 07:50 PM

Re: reCAPTCHA for X-Cart Classic
 
Did you solve it?

floracal 08-28-2018 07:39 AM

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.

elmirage001 08-28-2018 02:37 PM

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)

A_R 08-28-2018 05:09 PM

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.

A_R 09-02-2018 04:04 PM

Re: reCAPTCHA for X-Cart Classic
 
1 Attachment(s)
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


PhilJ 09-03-2018 01:48 AM

Re: reCAPTCHA for X-Cart Classic
 
Zip file install.txt corrected with missing } (line 329).


All times are GMT -8. The time now is 10:27 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.