mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Cosmetics
This commit is contained in:
parent
d554460aec
commit
1a3f57e5fe
3 changed files with 5 additions and 5 deletions
|
|
@ -1822,9 +1822,11 @@ def isTechniqueAvailable(technique=None):
|
|||
|
||||
def initTechnique(technique=None):
|
||||
data = getTechniqueData(technique)
|
||||
|
||||
if data:
|
||||
kb.pageTemplate = getPageTemplate(data.templatePayload, kb.injection.place)
|
||||
kb.matchRatio = data.matchRatio
|
||||
else:
|
||||
warnMsg = "there is no injection data available for technique '%s'" % enumValueToNameLookup(PAYLOAD.TECHNIQUE, technique)
|
||||
warnMsg = "there is no injection data available for technique "
|
||||
warnMsg += "'%s'" % enumValueToNameLookup(PAYLOAD.TECHNIQUE, technique)
|
||||
logger.warn(warnMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue