The following line of vulnerable code makes the user input always upper case:
mysql_query("select * from " . strtoupper($_GET['table']));
In a scenario where MySQL's "lower_case_table_names" is set to 0 (case sensitive schema and table comparisons), I'm unable to read data from lowecase tables. Is there any way to bypass this?