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

Function isHeavyQueryBased

lib/core/common.py:3491–3512  ·  view source on GitHub ↗

Returns True whether current (kb.)technique is heavy-query based >>> pushValue(kb.injection.data) >>> setTechnique(PAYLOAD.TECHNIQUE.STACKED) >>> kb.injection.data[getTechnique()] = [test for test in getSortedInjectionTests() if "heavy" in test["title"].lower()][0] >>> isHeavyQ

(technique=None)

Source from the content-addressed store, hash-verified

3489 return getTechniqueData(technique) is not None
3490
3491def isHeavyQueryBased(technique=None):
3492 """
3493 Returns True whether current (kb.)technique is heavy-query based
3494
3495 >>> pushValue(kb.injection.data)
3496 >>> setTechnique(PAYLOAD.TECHNIQUE.STACKED)
3497 >>> kb.injection.data[getTechnique()] = [test for test in getSortedInjectionTests() if "heavy" in test["title"].lower()][0]
3498 >>> isHeavyQueryBased()
3499 True
3500 >>> kb.injection.data = popValue()
3501 """
3502
3503 retVal = False
3504
3505 technique = technique or getTechnique()
3506
3507 if isTechniqueAvailable(technique):
3508 data = getTechniqueData(technique)
3509 if data and "heavy query" in data["title"].lower():
3510 retVal = True
3511
3512 return retVal
3513
3514def isStackingAvailable():
3515 """

Callers 1

adjustTimeDelayFunction · 0.85

Calls 3

getTechniqueFunction · 0.85
isTechniqueAvailableFunction · 0.85
getTechniqueDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…