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

Function isStackingAvailable

lib/core/common.py:3514–3536  ·  view source on GitHub ↗

Returns True whether techniques using stacking are available >>> pushValue(kb.injection.data) >>> kb.injection.data[PAYLOAD.TECHNIQUE.STACKED] = [test for test in getSortedInjectionTests() if "stacked" in test["title"].lower()][0] >>> isStackingAvailable() True >>> kb.injec

()

Source from the content-addressed store, hash-verified

3512 return retVal
3513
3514def isStackingAvailable():
3515 """
3516 Returns True whether techniques using stacking are available
3517
3518 >>> pushValue(kb.injection.data)
3519 >>> kb.injection.data[PAYLOAD.TECHNIQUE.STACKED] = [test for test in getSortedInjectionTests() if "stacked" in test["title"].lower()][0]
3520 >>> isStackingAvailable()
3521 True
3522 >>> kb.injection.data = popValue()
3523 """
3524
3525 retVal = False
3526
3527 if PAYLOAD.TECHNIQUE.STACKED in kb.injection.data:
3528 retVal = True
3529 else:
3530 for technique in getPublicTypeMembers(PAYLOAD.TECHNIQUE, True):
3531 data = getTechniqueData(technique)
3532 if data and "stacked" in data["title"].lower():
3533 retVal = True
3534 break
3535
3536 return retVal
3537
3538def isInferenceAvailable():
3539 """

Callers 15

udfInjectCustomMethod · 0.90
execCmdMethod · 0.90
evalCmdMethod · 0.90
shellMethod · 0.90
_initRunAsMethod · 0.90
readFileMethod · 0.90
writeFileMethod · 0.90
cleanupMethod · 0.90
sqlQueryMethod · 0.90
osCmdMethod · 0.90
osShellMethod · 0.90
osPwnMethod · 0.90

Calls 2

getPublicTypeMembersFunction · 0.85
getTechniqueDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…