lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060501220704.12424.qmail@securityfocus.com>
Date: 1 May 2006 22:07:04 -0000
From: interact@...eractimpact.com
To: bugtraq@...urityfocus.com
Subject: Re: DB_eSession deleteSession() SQL injection


I think the solution below is a better and safer approach.

replace addslashes() with mysql_real_escape_string()

$_sess_id_set = ( empty($_sess_id_set) ) ? NULL: mysql_real_escape_string($_sess_id_set);


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ