mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Minor update of testing
This commit is contained in:
parent
8ace3363bd
commit
5d62195a41
3 changed files with 16 additions and 1 deletions
|
|
@ -57,6 +57,12 @@ def htmlParser(page):
|
|||
"""
|
||||
This function calls a class that parses the input HTML page to
|
||||
fingerprint the back-end database management system
|
||||
|
||||
>>> from lib.core.enums import DBMS
|
||||
>>> htmlParser("Warning: mysql_fetch_array() expects parameter 1 to be resource") == DBMS.MYSQL
|
||||
True
|
||||
>>> threadData = getCurrentThreadData()
|
||||
>>> threadData.lastErrorPage = None
|
||||
"""
|
||||
|
||||
xmlfile = paths.ERRORS_XML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue