|
20 | 20 | from thirdparty import six |
21 | 21 |
|
22 | 22 | # sqlmap version (<major>.<minor>.<month>.<monthly commit>) |
23 | | -VERSION = "1.10.3.1" |
| 23 | +VERSION = "1.10.3.2" |
24 | 24 | TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" |
25 | 25 | TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} |
26 | 26 | VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) |
|
417 | 417 |
|
418 | 418 | # Regular expressions used for parsing error messages (--parse-errors) |
419 | 419 | ERROR_PARSING_REGEXES = ( |
420 | | - r"(?P<result>(?:(?:ORA|PLS)-[0-9]{5}:|SQLCODE[ =:]+-?[0-9]+|SQLSTATE[ =:]+[0-9A-Z]{5}|Dynamic SQL Error|DB2 SQL error:|SAP DBTech JDBC:|SQLiteException:|You have an error in your SQL syntax;|Incorrect syntax near |Unclosed quotation mark after the character string|near \"[^\"]+\": syntax error)[^\n<]*)", |
421 | 420 | r"\[Microsoft\]\[ODBC SQL Server Driver\]\[SQL Server\](?P<result>[^<]+)", |
422 | 421 | r"<b>[^<]{0,100}(fatal|error|warning|exception)[^<]*</b>:?\s*(?P<result>[^<]+)", |
423 | 422 | r"(?m)^\s{0,100}(fatal|error|warning|exception):?\s*(?P<result>[^\n]+?)$", |
|
428 | 427 | r"Code: \d+. DB::Exception: (?P<result>[^<>\n]*)", |
429 | 428 | r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P<result>[^<>]+)", |
430 | 429 | r"\[[^\n\]]{1,100}(ODBC|JDBC)[^\n\]]+\](\[[^\]]+\])?(?P<result>[^\n]+(in query expression|\(SQL| at /[^ ]+pdo)[^\n<]+)", |
431 | | - r"(?P<result>query error: SELECT[^<>]+)" |
| 430 | + r"(?P<result>query error: SELECT[^<>]+)", |
| 431 | + r"(?P<result>(?:(?:ORA|PLS)-[0-9]{5}:|SQLCODE[ =:]+-?[0-9]+|SQLSTATE[ =:]+[0-9A-Z]{5}|Dynamic SQL Error|DB2 SQL error:|SAP DBTech JDBC:|SQLiteException:|You have an error in your SQL syntax;|Incorrect syntax near |Unclosed quotation mark after the character string|near \"[^\"]+\": syntax error)[^\n<]*)" |
432 | 432 | ) |
433 | 433 |
|
434 | 434 | # Regular expression used for parsing charset info from meta html headers |
|
0 commit comments