PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Sun Dec 09, 2007 8:13 pm Reply with quote Back to top

Hi everyone,

I notice that on one of my older websites using Raven's RavenNuke(tm) v2.02.02 Distro, that the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module.

Firstly, I am interested to learn why/how the PHPNuke system/software is generating 2 different numbers at the same instance.

Also, I would be grateful if someone would advise me how to begin eliminating this problem.

For your information, I have confirmed the correct security number is that being displayed in both the modules (because using this number allows for a user to successfully sign in to their account), while the numbers displayed in the Site Info Block never appear to be relevant/correct.

I am not sure if this information is of help, but when I try to check the URL for both the different Security Numbers being displayed, (by using Firefox and right clicking and selecting properties), they both appear to be coming from the SAME URL,
Only registered users can see links on this board!
Get registered or login to the forums!


As ever, thanks in advance everyone.

Rolling Eyes
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2853

PostPosted: Sun Dec 09, 2007 8:22 pm Reply with quote Back to top

RavenNuke uses some new CAPTCHA code. The older Site Info block probably uses the original phpNuke CAPTCHA. You'd have to modify your code to work with the new system. I don't know it off-the-top, but check your Your_Account code for it
View user's profile Send private message Visit poster's website
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Sun Dec 09, 2007 8:27 pm Reply with quote Back to top

Thanks for the reply Evaders99,

To confirm, both Captcha images being displayed are of the 'older' style/type.

To clarify, they have a Grey colored background with the uniform chequered/block patterning and are black numbers (in a font akin to Ariel). They are not the type/style used in the latest RavenNuke Version 2.10.01. with multi-colored lines behind the various sized alphabetical characters/letters.

I hope someone (else) can assist further with resolving this matter.

Thanks guys and gals.

Smile
View user's profile Send private message
bobbyg
Regular
Regular


Joined: Dec 05, 2007
Posts: 72
Location: Tampa, Florida

PostPosted: Mon Dec 10, 2007 12:50 am Reply with quote Back to top

I am not sure but you may find what you need in this post:
Only registered users can see links on this board!
Get registered or login to the forums!


There is a link to code in his comments.
View user's profile Send private message Visit poster's website
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Mon Dec 10, 2007 7:23 am Reply with quote Back to top

Before you go to the Your Accout login page, or Registration page, can you login through the User Info block?

I think what may be happening is that the User Info block is generating a random number and then also the Login/registration page is creating another random number which superseeds the first.
View user's profile Send private message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Mon Dec 10, 2007 10:05 am Reply with quote Back to top

Hi jakec,


Thanks for your last reply and for addressing this matter.

As my original post explained, the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module.

Moreover, for your information, I have confirmed the correct security number is that being displayed in both the modules (because using this number allows for a user to successfully sign in to their account), while the numbers displayed in the Site Info Block never appear to be relevant/correct.

So in other words, if I try to sign in to an account using the User Info block and the security number that is being displayed in it, I am not able to log in.

Any further thoughts/advise?
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Mon Dec 10, 2007 1:21 pm Reply with quote Back to top

Would you be able to PM me your site details, just the address and maybe a test account. I'll pop on over and take a peek, just to make sure I am understanding you correctly.

I'll also try some checks my end to see if I can replicate the problem.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Mon Dec 10, 2007 7:32 pm Reply with quote Back to top

Just so everyone knows, the new captcha only came in with RavenNuke 2.10.00, not 2.02.02. If you are on 2.10.x and you are using a Site Info block that is NOT coded to work with the new captcha, you will see two different captchas (as Evaders was eluding to).
View user's profile Send private message Visit poster's website
bobbyg
Regular
Regular


Joined: Dec 05, 2007
Posts: 72
Location: Tampa, Florida

PostPosted: Sat Dec 15, 2007 12:43 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!


Would this code solve her problem with the captcha in 2.02.02
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Tue Dec 18, 2007 5:34 am Reply with quote Back to top

bobbyg, there are about three unique versions of the security code found within RavenNuke. The code I am showing may work just fine, but there are numerous examples within RavenNuke of the same...
View user's profile Send private message Visit poster's website
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Sun Feb 03, 2008 11:32 am Reply with quote Back to top

Hi everyone,

An update to my original posting:

I notice that on one of my older websites using Raven's RavenNuke(tm) v2.02.02 Distro, that the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module.

Unlike the original post I made here, if you sign in using the Site Info Block using the Captcha Security Number displayed in the Site Info Block, then sign in is successful.

If you sign in using the Registered Users log in Module using the Captcha Security Number displayed in the Registered Users log in Module, then sign in is successful.

However, you are not able to use the Captcha Security Number displayed in the Site Info Block and sign in using the Registered Users log in Module or vice verse.

The point that I originally observed and that I would appreciate an answer to is this:

Observation:

I note that although the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module, I have identified the URL for both the different Security Numbers being displayed, (by using Firefox and right clicking and selecting properties), but they both appear to be coming from the SAME URL.

Of course there is a slight difference in the URL's, because the final part of the URL is whatever the displayed Captcha Security Number is. So for example, if the Captcha Security Number is 123456, then the URL is:
Only registered users can see links on this board!
Get registered or login to the forums!


But if the Captcha Security Number is 654321, then the URL is:
Only registered users can see links on this board!
Get registered or login to the forums!


The fundamental question:

How can 2 separate Captcha Security Numbers be generated on the 'same page' when that page is called from the server and they are apparently being pulled from the same URL?
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Sun Feb 03, 2008 12:08 pm Reply with quote Back to top

When you upgrade your site you must ensure the files for the Siteinfo Block are overwritten, otherwise it will continue to display the old captcha.
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Sun Feb 03, 2008 12:11 pm Reply with quote Back to top

Actually just re-read your post and I think I misunderstood you. Embarassed

So what you are saying is that the captcha image is the same, but the numbers are different?
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Sun Feb 03, 2008 12:20 pm Reply with quote Back to top

I believe what you are seeing is correct. The captchas are generated as they are displayed from a different random number and therefore they can vary between the Site Info Block and the Your_Account module.
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Sun Feb 03, 2008 12:23 pm Reply with quote Back to top

If you are worried that someone might get confused and enter the wrong number, I would suggest putting the Site Info block on the right, then if they click on the Your_Account link only Your_Account should be displayed and not blocks on the right, i.e. the Site Info block.
View user's profile Send private message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Sun Feb 03, 2008 4:09 pm Reply with quote Back to top

Hi Jakec,

Thanks for your intuitive suggestion as a remedy to the situation.

However it would be good if someone would advise me how it is possible for 2 diferent Captcha Security Numbers to be generated on the 'same page' when that page is called from the server and they are apparently being pulled from the same URL?

Moreover, advise on how I can make both Captcha Security Numbers identical would be much appreciated too.
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1853
Location: United Kingdom

PostPosted: Sun Feb 03, 2008 4:27 pm Reply with quote Back to top

The captcha is not the same as any normal static object like HTML calling an image, otherwise it would be easy to crack. Wink

The image is generated from code, which involves a random number being generated. If I remember rightly the random number is generated in both the Site Info block and also in the Your_Account module and therefore it is possible to get two separate numbers, because the code is called twice.
View user's profile Send private message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Sun Feb 03, 2008 4:39 pm Reply with quote Back to top

Hi again Jakec,

Now you are certainly understanding my way of thinking and why I would raise this question as to how 2 different Captcha Security Number images are shown, specifically when you call the Registered Users log in Module page and then compare the Captcha Security Number in the module to the User Info Block.

So now the question is, how can I make the 2 Captcha Security Numbers identical, thus eliminating any confusion, (without me having to resort to your solution of moving the User Info Block to the right side of the web site. I any case, this wouldn't work for me because I have all right side blocks showing with all modules, which was a request from my customer.

Please can anyone help?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Sun Feb 03, 2008 8:17 pm Reply with quote Back to top

Why would you want two different login blocks in the same page?

Regardless, don't be concerned about why there are two different numbers. It's because two different scripts are running, generating random numbers and sessions independently of each other. My advice: turn off one of the blocks.
View user's profile Send private message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Mon Feb 04, 2008 2:47 am Reply with quote Back to top

..


Last edited by emmaphp on Mon Feb 04, 2008 2:49 am; edited 1 time in total
View user's profile Send private message
emmaphp
Worker
Worker


Joined: Aug 22, 2006
Posts: 175

PostPosted: Mon Feb 04, 2008 2:48 am Reply with quote Back to top

emmaphp wrote:
Hi everyone,

An update to my original posting:

I notice that on one of my older websites using Raven's RavenNuke(tm) v2.02.02 Distro, that the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module.

Unlike the original post I made here, if you sign in using the Site Info Block using the Captcha Security Number displayed in the Site Info Block, then sign in is successful.

If you sign in using the Registered Users log in Module using the Captcha Security Number displayed in the Registered Users log in Module, then sign in is successful.

However, you are not able to use the Captcha Security Number displayed in the Site Info Block and sign in using the Registered Users log in Module or vice verse.

The point that I originally observed and that I would appreciate an answer to is this:

Observation:

I note that although the Site Info Block is displaying a different Captcha Security Number than in the New User Registration Module or the Registered Users log in Module, I have identified the URL for both the different Security Numbers being displayed, (by using Firefox and right clicking and selecting properties), but they both appear to be coming from the SAME URL.

Of course there is a slight difference in the URL's, because the final part of the URL is whatever the displayed Captcha Security Number is. So for example, if the Captcha Security Number is 123456, then the URL is:
Only registered users can see links on this board!
Get registered or login to the forums!


But if the Captcha Security Number is 654321, then the URL is:
Only registered users can see links on this board!
Get registered or login to the forums!


The fundamental question:

How can 2 separate Captcha Security Numbers be generated on the 'same page' when that page is called from the server and they are apparently being pulled from the same URL?



Why would you want two different login blocks in the same page?

Regardless, don't be concerned about why there are two different numbers. It's because two different scripts are running, generating random numbers and sessions independently of each other. My advice: turn off one of the blocks.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Mon Feb 04, 2008 6:26 am Reply with quote Back to top

emmaphp, not sure what you are trying to get at with your last two posts. Sad

However, here is the bottom line:

1. RavenNuke 2.02.x is using the old PHP-Nuke captcha system, which really doesn't protect you from automated registrations. That captcha has been broken by the spammers many years ago.

2. Number 1 above is why RavenNuke, starting with version 2.10.00, employs a newer captcha, and you see the same number on the page regardless.

3. Your fundamental question was answered. So, if you have another question, please feel free to ask it.

Regards,
montego
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum