Any benefit changing cPATCHA confirm code fields to unique hash?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
Ozo
Registered User
Posts: 330
Joined: Mon Dec 13, 2010 7:57 pm

Any benefit changing cPATCHA confirm code fields to unique hash?

Post by Ozo »

As in, can I use the simple cPATCHA option and have this modification actually be helpful to fight spam? hash is from $this->daropl_fieldname_hash = $request->variable(sha1($config['cookie_name'] . $config['record_online_date']), ''); an old 3.0 mod.

I don't have spam trouble.

captcha/plugins/captcha_abstract.html

Code: Select all

<dt><label for="1391c58143fc8121e927bd6c78e70baf0ec48178">Confirmation code:</label></dt>
		<dd class="captcha captcha-image"><img src="./../ucp.php?mode=confirm&amp;confirm_id=b0741a0b2d5b6b9f4e5b7f5f8e33db4b&amp;type=4" alt="Confirmation code" /></dd>
		<dd><input type="text" name="1391c58143fc8121e927bd6c78e70baf0ec48178" id="1391c58143fc8121e927bd6c78e70baf0ec48178" size="16" maxlength="8" tabindex="8" class="inputbox narrow" title="Confirmation code" />
		<input type="submit" name="refresh_vc" id="refresh_vc" class="button2" value="Refresh confirmation code" />		<input type="hidden" name="d07898c4e47c4d1ef03005d536d5106a50206977" id="d07898c4e47c4d1ef03005d536d5106a50206977" value="1391c58143fc8121e927bd6c78e70baf0ec48178" /></dd>
		<dd>Enter the code exactly as it appears. All letters are case insensitive.</dd>
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Any benefit changing cPATCHA confirm code fields to unique hash?

Post by Lumpy Burgertushie »

you would be much better off just using the bulit in Q&A with a good question that you can't find the answer for in google and that you can't really guess.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Ozo
Registered User
Posts: 330
Joined: Mon Dec 13, 2010 7:57 pm

Re: Any benefit changing cPATCHA confirm code fields to unique hash?

Post by Ozo »

Well you're probably right. I was just impressed that it still can be worked with 3.2.5.

Thanks :)
Post Reply

Return to “phpBB Custom Coding”