という名前のテーブル名をエスケープするにはどうすればよいlog\'; WAITFOR DELAY \'0:0:5\';--
ですか?
テーブルを削除したい。
これらの作品のどれも:
SHOW TABLES LIKE 'log\\\'; WAITFOR DELAY \\\'0:0:5\\\';--';
SHOW TABLES LIKE "log\\'; WAITFOR DELAY \\'0:0:5\\';--";
SHOW TABLES LIKE `log\\'; WAITFOR DELAY \\'0:0:5\\';--`;
最後のものはエラーを返しますが、他のものは結果を返しません。エラーは次のとおりです。
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`log\\'; WAITFOR DELAY \\'0:0:5\\';--`' at line 1