Fix password md5 show
Posted: Tue Oct 28, 2014 3:31 pm
Sample:
http://wondercms.com/labs/06beta/password
This is not good, because md5 not strong algorithm, and can be brutŠµforce.
For fix it (and other system pages):
And before content load in "case 'page'":
http://wondercms.com/labs/06beta/password
This is not good, because md5 not strong algorithm, and can be brutŠµforce.
For fix it (and other system pages):
Code: Select all
$denypages = array("copyright", "description", "keywords", "menu", "password", "subside", "themeSelect", "title");
Code: Select all
if(!is_loggedin() and in_array($c[$key], $denypages)){
header('HTTP/1.1 404 Not Found');
$c['content'] = $d['new_page']['visitor'];
}
else
{
$c['content'] = @file_get_contents("files/".$c[$key]);
... etc ...
}