(page)
return handler.dbms
This function calls a class that parses the input HTML page to
    fingerprint the back-end database management system
This function calls a class that parses the input HTML page to
    fingerprint the back-end database management system
This function calls a class that parses the input HTML page to fingerprint the back - end database management system
def htmlParser(page):
    """
    This function calls a class that parses the input HTML page to
    fingerprint the back-end database management system
    """

    xmlfile = paths.ERRORS_XML
    handler = HTMLHandler(page)

    parseXmlFile(xmlfile, handler)

    if handler.dbms and handler.dbms not in kb.htmlFp:
        kb.lastParserStatus = handler.dbms
        kb.htmlFp.append(handler.dbms)
    else:
        kb.lastParserStatus = None

    # generic SQL warning/error messages
    if re.search(r"SQL (warning|error|syntax)", page, re.I):
        handler._markAsErrorPage()

    return handler.dbms
def htmlParser ( page ) : xmlfile = paths . ERRORS_XML handler = HTMLHandler ( page ) parseXmlFile ( xmlfile , handler ) if handler . dbms and handler . dbms not in kb . htmlFp : kb . lastParserStatus = handler . dbms kb . htmlFp . append ( handler . dbms ) else : kb . lastParserStatus = None # generic SQL warning/error messages if re . search ( r"SQL (warning|error|syntax)" , page , re . I ) : handler . _markAsErrorPage ( ) return handler . dbms