mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-28 03:36:46 +00:00
Minor code adjustments
This commit is contained in:
parent
654aecedfe
commit
7d7170fc97
3 changed files with 8 additions and 13 deletions
|
|
@ -63,15 +63,13 @@ class htmlHandler(ContentHandler):
|
|||
self.__match = None
|
||||
|
||||
|
||||
def htmlParser(page, xmlfile=None):
|
||||
def htmlParser(page):
|
||||
"""
|
||||
This function calls a class that parses the input HTML page to
|
||||
fingerprint the back-end database management system
|
||||
"""
|
||||
|
||||
if not xmlfile:
|
||||
xmlfile = paths.ERRORS_XML
|
||||
|
||||
xmlfile = paths.ERRORS_XML
|
||||
checkFile(xmlfile)
|
||||
page = sanitizeStr(page)
|
||||
handler = htmlHandler(page)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue