Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11413a0

Browse files
committed
added Firebird search test cases
1 parent e23340f commit 11413a0

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

plugins/dbms/firebird/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def searchDb(self):
3131
return []
3232

3333
def searchColumn(self):
34-
warnMsg = "on Firebird searching of columns is not implemented"
34+
warnMsg = "on Firebird it is not possible to search columns"
3535
logger.warn(warnMsg)
3636

3737
return []

xml/livetests.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,6 +2316,43 @@
23162316
<item value="r'Database: SQLite_masterdb.+1 table.+users'"/>
23172317
</parse>
23182318
</case>
2319+
<case name="Firebird multi-threaded search enumeration - database">
2320+
<switches>
2321+
<url value="http://debiandev/sqlmap/firebird/get_int.php?id=1"/>
2322+
<threads value="4"/>
2323+
<search value="True"/>
2324+
<db value="e"/>
2325+
</switches>
2326+
<parse>
2327+
<item value="on Firebird it is not possible to search databases" console_output="True"/>
2328+
</parse>
2329+
</case>
2330+
<case name="Firebird boolean-based multi-threaded search enumeration - tables without given database">
2331+
<switches>
2332+
<url value="http://debiandev/sqlmap/firebird/get_int.php?id=1"/>
2333+
<threads value="4"/>
2334+
<tech value="B"/>
2335+
<search value="True"/>
2336+
<tbl value="user"/>
2337+
<answers value="do you want to dump=N"/>
2338+
</switches>
2339+
<parse>
2340+
<item value="r'Database: Firebird_masterdb.+1 table.+USERS'"/>
2341+
</parse>
2342+
</case>
2343+
<case name="Firebird UNION query multi-threaded search enumeration - tables without given database">
2344+
<switches>
2345+
<url value="http://debiandev/sqlmap/firebird/get_int.php?id=1"/>
2346+
<threads value="4"/>
2347+
<tech value="U"/>
2348+
<search value="True"/>
2349+
<tbl value="user"/>
2350+
<answers value="do you want to dump=N"/>
2351+
</switches>
2352+
<parse>
2353+
<item value="r'Database: Firebird_masterdb.+1 table.+USERS'"/>
2354+
</parse>
2355+
</case>
23192356
<!-- End of search enumeration switches -->
23202357

23212358
<!-- User's provided statement enumeration switches -->

0 commit comments

Comments
 (0)