mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
bug fix, refactoring and improved extractErrorMessage capabilities
This commit is contained in:
parent
ea7ba19f6b
commit
b472b96f92
4 changed files with 25 additions and 16 deletions
|
|
@ -160,3 +160,9 @@ SQL_STATEMENTS = {
|
|||
"commit ",
|
||||
"rollback ", ),
|
||||
}
|
||||
|
||||
ERROR_PARSING_REGEXES = (
|
||||
r"<b>[^<]*(fatal|error|warning|exception)[^<]*</b>:?\s+(?P<result>.+?)<br\s*/?\s*>",
|
||||
r"<li>Error Type:<br>(?P<result>.+?)</li>",
|
||||
r"error '[0-9a-f]{8}'((<[^>]+>)|\s)+(?P<result>[^<>]+)"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue