MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / getErrorParsedDBMSes

Method getErrorParsedDBMSes

lib/core/common.py:266–285  ·  view source on GitHub ↗

Parses the knowledge base htmlFp list and return its values formatted as a human readable string. @return: list of possible back-end DBMS based upon error messages parsing. @rtype: C{str}

()

Source from the content-addressed store, hash-verified

264
265 @staticmethod
266 def getErrorParsedDBMSes():
267 """
268 Parses the knowledge base htmlFp list and return its values
269 formatted as a human readable string.
270
271 @return: list of possible back-end DBMS based upon error messages
272 parsing.
273 @rtype: C{str}
274 """
275
276 htmlParsed = None
277
278 if len(kb.htmlFp) == 0 or kb.heuristicTest != HEURISTIC_TEST.POSITIVE:
279 pass
280 elif len(kb.htmlFp) == 1:
281 htmlParsed = kb.htmlFp[0]
282 elif len(kb.htmlFp) > 1:
283 htmlParsed = " or ".join(kb.htmlFp)
284
285 return htmlParsed
286
287 @staticmethod
288 def getOs(target, info):

Callers 15

actionFunction · 0.45
checkSqlInjectionFunction · 0.45
getIdentifiedDbmsMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45
getFingerprintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected