Skip to content

Commit eedfa8c

Browse files
committed
Another update of DBMS error messages
1 parent c224ea0 commit eedfa8c

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.12.18"
22+
VERSION = "1.2.12.19"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
52a928e8548d5a45bf1a606ffd59fe1b lib/core/settings.py
52+
9afc3256156efa516bab3cdaa515d70b lib/core/settings.py
5353
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
1581be48127a3a7a9fd703359b6e7567 lib/core/target.py
@@ -478,7 +478,7 @@ d989813ee377252bca2103cea524c06b xml/banner/sharepoint.xml
478478
350605448f049cd982554123a75f11e1 xml/banner/x-aspnet-version.xml
479479
ccb5e02a692f75d11b7fd00f1db48bf5 xml/banner/x-powered-by.xml
480480
385570003bf7d84f2502191eae8268c6 xml/boundaries.xml
481-
a4130c4e7abfbcb1aaf66386825b6b83 xml/errors.xml
481+
054874dd9797c22b1de142bf4cbf7f54 xml/errors.xml
482482
a279656ea3fcb85c727249b02f828383 xml/livetests.xml
483483
11547289b99eaced5b55185a3230529a xml/payloads/boolean_blind.xml
484484
0656ba4132cd02477be90e65a7ddf6ce xml/payloads/error_based.xml

xml/errors.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- MySQL -->
55
<dbms value="MySQL">
66
<error regexp="SQL syntax.*?MySQL"/>
7-
<error regexp="Warning.*?mysqli?_"/>
7+
<error regexp="Warning.*?\Wmysqli?_"/>
88
<error regexp="MySqlException \(0x"/>
99
<error regexp="MySQLSyntaxErrorException"/>
1010
<error regexp="valid MySQL result"/>
@@ -36,10 +36,10 @@
3636
<error regexp="Driver.*? SQL[\-\_\ ]*Server"/>
3737
<error regexp="OLE DB.*? SQL Server"/>
3838
<error regexp="\bSQL Server[^&lt;&quot;]+Driver"/>
39-
<error regexp="Warning.*?(mssql|sqlsrv)_"/>
39+
<error regexp="Warning.*?\W(mssql|sqlsrv)_"/>
4040
<error regexp="\bSQL Server[^&lt;&quot;]+[0-9a-fA-F]{8}"/>
4141
<error regexp="System\.Data\.SqlClient\.SqlException"/>
42-
<error regexp="(?s)Exception.*?\WRoadhouse\.Cms\."/>
42+
<error regexp="(?s)Exception.*?\bRoadhouse\.Cms\."/>
4343
<error regexp="Microsoft SQL Native Client error '[0-9a-fA-F]{8}"/>
4444
<error regexp="\[SQL Server\]"/>
4545
<error regexp="ODBC SQL Server Driver"/>
@@ -67,8 +67,7 @@
6767
<error regexp="\bORA-\d{5}"/>
6868
<error regexp="Oracle error"/>
6969
<error regexp="Oracle.*?Driver"/>
70-
<error regexp="Warning.*?\Woci_"/>
71-
<error regexp="Warning.*?\Wora_"/>
70+
<error regexp="Warning.*?\W(oci|ora)_"/>
7271
<error regexp="quoted string not properly terminated"/>
7372
<error regexp="SQL command not properly ended"/>
7473
<error regexp="macromedia\.jdbc\.oracle"/>
@@ -90,6 +89,7 @@
9089

9190
<!-- Informix -->
9291
<dbms value="Informix">
92+
<error regexp="Warning.*?\Wifx_"/>
9393
<error regexp="Exception.*?Informix"/>
9494
<error regexp="Informix ODBC Driver"/>
9595
<error regexp="ODBC Informix driver"/>
@@ -101,7 +101,7 @@
101101
<!-- Interbase/Firebird -->
102102
<dbms value="Firebird">
103103
<error regexp="Dynamic SQL Error"/>
104-
<error regexp="Warning.*?ibase_"/>
104+
<error regexp="Warning.*?\Wibase_"/>
105105
<error regexp="org\.firebirdsql\.jdbc"/>
106106
<error regexp="Pdo[./_\\]Firebird"/>
107107
</dbms>
@@ -111,8 +111,7 @@
111111
<error regexp="SQLite/JDBCDriver"/>
112112
<error regexp="SQLite\.Exception"/>
113113
<error regexp="(Microsoft|System)\.Data\.SQLite\.SQLiteException"/>
114-
<error regexp="Warning.*?sqlite_"/>
115-
<error regexp="Warning.*?SQLite3::"/>
114+
<error regexp="Warning.*?\W(sqlite_|SQLite3::)"/>
116115
<error regexp="\[SQLITE_ERROR\]"/>
117116
<error regexp="SQLite error \d+:"/>
118117
<error regexp="sqlite3.OperationalError:"/>
@@ -124,14 +123,14 @@
124123
<!-- SAP MaxDB -->
125124
<dbms value="SAP MaxDB">
126125
<error regexp="SQL error.*?POS([0-9]+)"/>
127-
<error regexp="Warning.*?maxdb"/>
126+
<error regexp="Warning.*?\Wmaxdb_"/>
128127
<error regexp="DriverSapDB"/>
129128
<error regexp="com\.sap\.dbtech\.jdbc"/>
130129
</dbms>
131130

132131
<!-- Sybase -->
133132
<dbms value="Sybase">
134-
<error regexp="Warning.*?sybase"/>
133+
<error regexp="Warning.*?\Wsybase_"/>
135134
<error regexp="Sybase message"/>
136135
<error regexp="Sybase.*?Server message"/>
137136
<error regexp="SybSQLException"/>
@@ -140,7 +139,7 @@
140139

141140
<!-- Ingres -->
142141
<dbms value="Ingres">
143-
<error regexp="Warning.*?ingres_"/>
142+
<error regexp="Warning.*?\Wingres_"/>
144143
<error regexp="Ingres SQLSTATE"/>
145144
<error regexp="Ingres\W.*?Driver"/>
146145
<error regexp="com\.ingres\.gcf\.jdbc"/>

0 commit comments

Comments
 (0)