You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 351 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: PHP-Nuke Security GFX Mapping - Potential Risk (Score: 1)
by MadHatter on Friday, February 13 @ 00:41:35 CET
(User Info | Send a Message) http://www.bindmaker.org
I saw what you mentioned, but what I was meaning, was instead of using $datekey = date("F j"); so that the seed of the datekey was "Februrary 13" doing something like:

$datekey = date("Y-m-dTH:i:sO");
$rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
$rand_start = rand(1,26);
$code = substr($rcode, $rand_start, 6);

(just to comment on your original post) I already had a 512 bit site key on my site (over kill i know, but hey) generated from all printable ascii characters, and Have replaced original code for the gfx mapping with the above.

by "date time" I meant the actual date (which you already use in another form) and the time (hour:min:sec+tzd). (I'm using the ISO 8601 date time format for mine) so that it does not stay the same value all day, little alone between refreshes...

I'm sure Francisco had something in mind when he designed and wrote it as we now have it, but I was wondering why such a change has never been introduced? (again just curious)

--thanks


| Parent
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.055 Seconds - 262 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::