Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
Code: Alles auswählen
#
#-----[ FIND ]---------------------------------------------
# Line 175
list($sec, $usec) = explode(' ', microtime());
mt_srand((float) $sec + ((float) $usec * 100000));
$session_id = md5(uniqid(mt_rand(), true));
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$session_id = md5(dss_rand());
Code: Alles auswählen
list($sec, $usec) = explode(' ', microtime());
mt_srand((float) $sec + ((float) $usec * 100000));
#
# Note: d8ef2eab is one of the googlecrawlbots ips
#
//$session_id = md5(uniqid(mt_rand(), true));
Code: Alles auswählen
if ( !$db->sql_query($sql) || !$db->sql_affectedrows() )
{
$session_id = md5(dss_rand());
$sql = "INSERT INTO " . SESSIONS_TABLE . "
(session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin)
VALUES ('$session_id', $user_id, $current_time, $current_time, '$user_ip', $page_id, $login, $admin)";
Aber natürlich bleibt jedem selbst überlassen, ob man updatet oder nicht. Folgenden Artikel können sich die notorischen Update-Sünder schon mal zu Herzen nehmen:phpbb.com hat geschrieben:[Sec] Replace strip_tags with htmlspecialchars in private message subject
[Sec] Some changes to HTML handling if enabled
[Sec] Escape any special characters in reverse dns - Anthrax101
[Sec] Typecast poll id values - Anthrax101
[Sec] Added configurable search flood control to reduce the effect of DoS style attacks
[Sec] Changed the way we create "random" values for use as keys - chinchilla/Anthrax101
[Sec] Enabled Visual Confirmation by default