If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / non-CAPTCHA and Honey-pots

non-CAPTCHA and Honey-pots

Started by davewest on 15 Jun 2018, 3:53 AM · Views: 51,806

Results 41 to 60 of 135
16 Feb 2019, 5:20 AM
#41
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

non-CAPTCHA and Honey-pots

Dave
I could not find a contact slider on your web site to test. can you provide a direct link?

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

16 Feb 2019, 3:40 PM
#42
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

OldNGrey:

Dave
I could not find a contact slider on your web site to test. can you provide a direct link?

The contact us link in the menu, register form on the login page... all my form pages have it... I've not added any css for the IE bug yet... still looking at the problem.. If your not getting it to show, try changing your compatibility settings.

Dave
Always forward thinking... Lost my mind!

15 May 2019, 3:35 AM
#43
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: non-CAPTCHA and Honey-pots

Latest news.

For those of you who never changed the default settings for the three hidden field names, the script-kiddies have apparently downloaded the mod and included the default in their bot.

Had one customer that started getting spam, discovered default settings, changed settings, spam instantly stopped.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 May 2019, 4:18 AM
#44
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

dbltoe:

Latest news.

For those of you who never changed the default settings for the three hidden field names, the script-kiddies have apparently downloaded the mod and included the default in their bot.

Had one customer that started getting spam, discovered default settings, changed settings, spam instantly stopped.

Yap, which is why I tried to make it super simple to change them, may let the computer do it in the next version.... another thing I've been tracking bots on a slider. the bots select the default value which should never be used as the test value.

Dave
Always forward thinking... Lost my mind!

4 Jun 2019, 10:24 PM
#45
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: non-CAPTCHA and Honey-pots

I appreciate the efforts to help combat this problem and it worked a treat for awhile but just doesn't work any more. I guess they have fine tuned their attacks for every possibility. Since the slider can't be used in IE we can't turn that feature on but I imagine it wouldn't last long. If I've missing something please pm me.

4 Jun 2019, 11:57 PM
#46
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

athena:

I appreciate the efforts to help combat this problem and it worked a treat for awhile but just doesn't work any more. I guess they have fine tuned their attacks for every possibility. Since the slider can't be used in IE we can't turn that feature on but I imagine it wouldn't last long. If I've missing something please pm me.

Actually, the slider works with IE 10 and up! The javascript that displays the value does not due to MS idea of how HTML5 should be.. so to fix that you should use different wording like slide to the number 22 for IE does a alt tag on the slider foot displaying the current number its on... all this is editable in admin.

Don't use default field names, change them when you think bots have found there names.

Dave
Always forward thinking... Lost my mind!

5 Jun 2019, 1:10 PM
#47
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: non-CAPTCHA and Honey-pots

Just keep changing the field names in admin? okay... will try that... thanks.

5 Jun 2019, 2:45 PM
#48
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

athena:

Just keep changing the field names in admin? okay... will try that... thanks.

Unfortunately,*** 'but just doesn't work any more.'*** really doesn't tell me much and all I can do is play wack-a-mole at helping. I just ran 3 new hacks at my own site and still not getting past.. links lets me see how the code is used.

Dave
Always forward thinking... Lost my mind!

5 Jun 2019, 5:52 PM
#49
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: non-CAPTCHA and Honey-pots

Same spam coming through even though default field names were changed. Your answer to just keep changing the field names for some reason had not occurred to me. I thought that despite the fact I had changed the default names they were discovering somehow what they were and getting past them. I deleted all the false customer registrations with 1st names beginning with http.... etc. and I have not seen any new come in since changing the field names once again.

5 Jun 2019, 7:03 PM
#50
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

athena:

Same spam coming through even though default field names were changed. Your answer to just keep changing the field names for some reason had not occurred to me. I thought that despite the fact I had changed the default names they were discovering somehow what they were and getting past them. I deleted all the false customer registrations with 1st names beginning with http.... etc. and I have not seen any new come in since changing the field names once again.

Interesting... another wack at the mole... if you are getting html in input fields then you have an issue that passes the basic sanitation of a default install... adding a CAPTCHA would not help..

Dave
Always forward thinking... Lost my mind!

7 Jun 2019, 8:41 PM
#51
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

just sent in an update for the forms used in zc156x

Also:
Added new in this version an auto field name reset every 10 days.. Checks after a form is sent if the field name is older then 10 days, the name is changed to a new one for you.

Dave
Always forward thinking... Lost my mind!

7 Jun 2019, 9:10 PM
#52
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: non-CAPTCHA and Honey-pots

Only just started up again today. I wonder how they are figuring out the change? Thank you for working on this. I will install the new. Maybe I missed something.

8 Jun 2019, 4:18 PM
#53
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

Tried the idea of changing the default fields. Customer says no but still waiting for additional responses to my questions. Create account was his primary problem - new accounts have html in the name fields. My template. No others with this issue with my template. Definitely no hacking! I just was able to do this on the default template for 1.5.5f. The sanitizer is not removing this so this appears to be a failure of zen cart. If I'm not correct, I'll apologize but since I've never even seen this on a site before last week, I'm not how long this has been happening. It could be a fairly new phenomenon. I now have customers getting mad at me because I can't fix it. For me it's a major problem.

So far this has stopped spam on some sites permanently without me having to do anything else. Since they can download the mod and figure this out with the settings, I'm wondering if we can't create auto generated settings from the start so that they can't figure it out and require folks to change the default settings or not change the fields automagically. Unless your auto settings completely cure the problem, I guess it doesn't matter. I'm simply not enough of coder to tackle any of this. Never have had to work on this kind of issue in all my years of zen cart work. Dang bots.

By the way I have hidden all the presently visible fields. No need for any of this to show as far as I'm concerned. I also had a site that had an old slider installed that conflicted with the rest of the css. I prefer solutions without javascript or jquery. I do write or find current jquery and almost never use the mods in the plugin sections because of the possibility of conflicts.

If I can help in anyway I will.

Thread working on this issue of html https://www.zen-cart.com/showthread.php?225250-spam-customer-creation/

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

8 Jun 2019, 5:26 PM
#54
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: non-CAPTCHA and Honey-pots

reset around midnight and had dozens by noon today:frusty:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2019, 5:34 PM
#55
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

delia:

By the way I have hidden all the presently visible fields. No need for any of this to show as far as I'm concerned. I also had a site that had an old slider installed that conflicted with the rest of the css. I prefer solutions without javascript or jquery. I do write or find current jquery and almost never use the mods in the plugin sections because of the possibility of conflicts.

If I can help in anyway I will.

Thread working on this issue of html https://www.zen-cart.com/showthread.php?225250-spam-customer-creation/

I've not read that post, but answered on two others.

Templates don't normally modify the account creation page except to style it. I do modify my site so I run attacks on it, fixed forms that failed before going live. The files uploaded on my map request page can trigger virus scanners because they are script.

My honey pots look the same as any other form input fields, require is always active for main fields, and I use pattern matching for allot of fields preventing html input.. Which is grate for making it user friendly, but all of it can be bypassed...

If I can see the site in question, I can tell more, if I had access to the raw code I can see more... I just fixed an issue with my admin caused by my ftp program adding the wrong permission to a file. Something that simple was making the admin reset after login... PM a link or file if you don't want to post it..

Dave
Always forward thinking... Lost my mind!

8 Jun 2019, 5:35 PM
#56
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: non-CAPTCHA and Honey-pots

Question? Is it html in the name fields or is it text that might resemble html?

I see name fields like www.mrspammer . ru https://www.mrspammer.ru done but considered it as text entries that look like html

non-CAPTCHA has been working 100% for us in the contact-us arena with our zencart 1.5.4 store. non-CAPTCHA doesn't play nice with 1.5.4 create_account nor IE or EDGE browsers but since it is not advertised to work with 1.5.4, I accept that it doesn't function there and live with the spam account creations. So far, every spam account creation that I've seen also has the company name entry of google Maybe the company name can be a filter useful to intercept the bogus accounts? At least until they figure that out too.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

8 Jun 2019, 5:50 PM
#57
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

it is actual html but it's really screwy stuff like http://v.ht/bcudae as the first name. I'm sure that I looked at the actual accounts before I deleted over 500 of them, but the ones now being created no longer are not showing anything beyond country in the account profile since I installed this. So it did change ?

The fix of adding this line to the create account page does seem to work since it just kills off the process.

if (strpos($firstname, "http") !== false || strpos($lastname, "http") !== false) { die(); }

after ```php
$lastname = zen_db_prepare_input(zen_sanitize_string($_POST['lastname']));

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

8 Jun 2019, 6:20 PM
#58
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: non-CAPTCHA and Honey-pots

davewest's latest v0.4 update to the zenNonCaptcha mod has been reviewed and approved.
NOTE: I made a bunch of tweaks to it myself, including making it affect fewer files than previous. Watch for files that are no longer in the mod (but were before), and put them back to original using your backups. Installation is way easier now for new sites.
zenNonCAPTCHA

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Jun 2019, 6:25 PM
#59
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: non-CAPTCHA and Honey-pots

delia:

it is actual html but it's really screwy stuff like http://v.ht/bcudae as the first name.
Strictly speaking, that's not HTML. It's text containing a URL. The HTML version of it would be something like:```
<a href="http://v.ht.stuff">otherstuff</a>

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Jun 2019, 8:27 PM
#60
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: non-CAPTCHA and Honey-pots

RixStix:

Question? Is it html in the name fields or is it text that might resemble html?.

For me, I can not even test a link.. dots are blocked in my patterns.. I'll have to play with some of my tools when I get time..

@DrByte
Nice Doc.. will have to add your edits.. thanks
thoughts.. I use strip_tags on some fields as ```
zen_db_prepare_input(strip_tags($_POST['field_name']));

Dave
Always forward thinking... Lost my mind!