more fixes to test cases

This commit is contained in:
Bernardo Damele 2013-01-18 09:32:05 +00:00
parent a92ae93847
commit d66f7e22b1
2 changed files with 5 additions and 5 deletions

View File

@ -266,7 +266,7 @@ def runCase(switches=None, parse=None):
tback = traceback.format_exc()
retVal = False
elif result is False: # if None, ignore
logger.error("the test did not run")
logger.error("the test did not identify the SQL injection")
retVal = False
console = getUnicode(console, system=True)

View File

@ -736,7 +736,7 @@
<item value="current user is DBA: True"/>
<item value="r'database management system users \[.+DB2INST1'"/>
<item value="r'database management system users privileges:.+DB2INST1.+privilege: DB2INST1.USERS.+privilege: SYSTOOLS.POLICY'"/>
<item value="r'database management system users roles:.+DB2INST1.+privilege: DB2INST1.USERS.+privilege: SYSTOOLS.POLICY'"/>
<item value="r'database management system users roles:.+DB2INST1.+role: DB2INST1.USERS.+role: SYSTOOLS.POLICY'"/>
<item value="r'available databases \[.+DB2INST1.+SYSIBM.+SYSTOOLS'"/>
<item value="r'Database: DB2INST1.+1 table.+USERS'"/>
<item value="r'Database: DB2INST1.+Table: USERS.+3 columns.+SURNAME.+VARCHAR\(1000\)'"/>
@ -1007,7 +1007,7 @@
<excludeSysDbs value="True"/>
</switches>
<parse>
<item value="r'Database: SYS.+Table: USERS.+3 columns.+SURNAME.+VARCHAR2'"/>
<item value="r'Database: HR.+Table: JOBS.+4 columns.+MIN_SALARY.+NUMBER'"/>
<item value="r'Database: SYS.+Table: USERS.+3 entries.+fluffy.+bunny.+wu.+ming'"/>
</parse>
</case>
@ -1025,7 +1025,7 @@
<excludeSysDbs value="True"/>
</switches>
<parse>
<item value="r'Database: SYS.+Table: USERS.+3 columns.+SURNAME.+VARCHAR2'"/>
<item value="r'Database: HR.+Table: JOBS.+4 columns.+MIN_SALARY.+NUMBER'"/>
<item value="r'Database: SYS.+Table: USERS.+3 entries.+fluffy.+bunny.+wu.+ming'"/>
</parse>
</case>
@ -2098,7 +2098,7 @@
<level value="3"/>
</switches>
<parse>
<item value="MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)"/>
<item value="Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)"/>
</parse>
</case>
<case name="International data">