IT Security Lab The Playground for IT Security Specialists and Pentesters

26Jun/100

Verbose Error Messages In MySQL

I was truly amazed when found the information that it is possible to force MySQL to raise a verbose error message. Here is the trick:

SELECT 1 AND ExtractValue(1, CONCAT(0×5c, (SELECT @@VERSION)))

...which happily produces:

Error Code : 1105
XPATH syntax error: ‘\5.1.44-community’

Remark: As this is the SQL error, in PHP it should be handled manually by something like this:

echo mysql_error();

Credits naturally go to Dmitry Evteev http://devteev.blogspot.com/...

26Jun/100

It’s The Full Moon…

It's the full moon, so can't imagine a better time to start a new shiny blog about IT security and everything around... So let's take something to drink, switch on our high-tech toys and have some fun!

Filed under: Uncategorized No Comments