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

Skip to content

Commit 5970134

Browse files
committed
Minor update
1 parent 0453a28 commit 5970134

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

data/xml/errors.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<error regexp="Zend_Db_(Adapter|Statement)_Db2_Exception"/>
8989
<error regexp="Pdo[./_\\]Ibm"/>
9090
<error regexp="DB2Exception"/>
91+
<error regexp="ibm_db_dbi\.ProgrammingError"/>
9192
</dbms>
9293

9394
<dbms value="Informix">
@@ -129,6 +130,7 @@
129130
<error regexp="DriverSapDB"/>
130131
<error regexp="-3014.*?Invalid end of SQL statement"/>
131132
<error regexp="com\.sap\.dbtech\.jdbc"/>
133+
<error regexp="\[-3008\].*?: Invalid keyword or missing delimiter"/>
132134
</dbms>
133135

134136
<dbms value="Sybase">
@@ -150,6 +152,7 @@
150152
<dbms value="Frontbase">
151153
<error regexp="Exception (condition )?\d+\. Transaction rollback"/>
152154
<error regexp="com\.frontbase\.jdbc"/>
155+
<error regexp="Syntax error 108\. Expected"/>
153156
</dbms>
154157

155158
<dbms value="HSQLDB">
@@ -160,6 +163,7 @@
160163

161164
<dbms value="H2">
162165
<error regexp="org\.h2\.jdbc"/>
166+
<error regexp="\[42000-192\]"/>
163167
</dbms>
164168

165169
<dbms value="MonetDB">
@@ -185,6 +189,7 @@
185189
<dbms value="Mckoi">
186190
<error regexp="com\.mckoi\.JDBCDriver"/>
187191
<error regexp="com\.mckoi\.database\.jdbc"/>
192+
<error regexp="&lt;REGEX_LITERAL&gt;"/>
188193
</dbms>
189194

190195
<dbms value="Presto">
@@ -206,4 +211,9 @@
206211
<dbms value="CrateDB">
207212
<error regexp="io\.crate\.client\.jdbc"/>
208213
</dbms>
214+
215+
<dbms value="Cache">
216+
<error regexp="encountered after end of query"/>
217+
<error regexp="A comparison operator is required here"/>
218+
</dbms>
209219
</root>

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

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

lib/core/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def bedTest():
149149
("-u 'http://testbed/maxdb/get_int.php?id=1' --flush-session --technique=U --hex --banner --current-user --current-db --search -C surname --answers='dump=n'", ("Kernel____7.9.10___Build_003-123-265-343", "current database (equivalent to owner on SAP MaxDB): 'SYS'", "current user: 'DBADMIN'", "[1 column]", "| SURNAME | VARCHAR |")),
150150

151151
# Informix
152-
("-u 'http://testbed/informix/get_int.php?id=1' --flush-session --technique=B --is-dba --threads=4 --dump -D CD --banner --sql-query=\"SELECT 'foobar'\"", ("IBM Informix Dynamic Server Version 14.10.FC2DE", "Database: testdb", "Table: users", "5 entries", "id", "name", "surname", "luther", "blisset", "NULL", "Payload: id=1 AND ", "back-end DBMS could be 'Informix'", "the back-end DBMS is Informix", "current user is DBA: True", ": 'foobar'")),
152+
("-u 'http://testbed/informix/get_int.php?id=1' --flush-session --technique=B --is-dba --threads=4 --dump -D CD --banner --sql-query=\"SELECT 'foobar'\"", ("retrieved: 47", "IBM Informix Dynamic Server Version 14.10.FC2DE", "Database: testdb", "Table: users", "5 entries", "id", "name", "surname", "luther", "blisset", "NULL", "Payload: id=1 AND ", "back-end DBMS could be 'Informix'", "the back-end DBMS is Informix", "current user is DBA: True", ": 'foobar'")),
153153
("-u 'http://testbed/informix/get_int.php?id=1' --flush-session --hex --banner --current-user --current-db --search -C surname --answers='dump=n'", ("IBM Informix Dynamic Server Version 14.10.FC2DE", "current database: 'testdb'", "current user: 'testuser'", "[1 column]", "| surname | varchar |")),
154154

155155
# Altibase

0 commit comments

Comments
 (0)