This action will force synchronization from yeqingchen1/sqlmap, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
#!/usr/bin/env python"""Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)See the file 'LICENSE' for copying permission"""import osfrom lib.core.common import parseXmlFilefrom lib.core.data import kbfrom lib.core.data import pathsfrom lib.parse.handler import FingerprintHandlerfrom thirdparty.six.moves import filter as _filterdef headersParser(headers):"""This function calls a class that parses the input HTTP headers tofingerprint the back-end database management system operating systemand the web application technology"""if not kb.headerPaths:kb.headerPaths = {"microsoftsharepointteamservices": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "sharepoint.xml"),"server": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "server.xml"),"servlet-engine": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "servlet-engine.xml"),"set-cookie": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "set-cookie.xml"),"x-aspnet-version": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "x-aspnet-version.xml"),"x-powered-by": os.path.join(paths.SQLMAP_XML_BANNER_PATH, "x-powered-by.xml"),}for header in _filter(lambda _: _ in kb.headerPaths, headers):value = headers[header]xmlfile = kb.headerPaths[header]handler = FingerprintHandler(value, kb.headersFp)parseXmlFile(xmlfile, handler)parseXmlFile(paths.GENERIC_XML, handler)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。