Fixes CI/CD

This commit is contained in:
Miroslav Štampar
2026-07-12 17:11:14 +02:00
parent 9331ac0f2c
commit b1ff8a31d8
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -3746,7 +3746,8 @@ def initTechnique(technique=None):
if data:
kb.pageTemplate, kb.errorIsNone = getPageTemplate(data.templatePayload, kb.injection.place)
kb.matchRatio = data.matchRatio
kb.trueLength = data.trueLength
kb.trueLength = data.get("trueLength") # NOTE: absent in sessions stored before the '--lengths' switch was introduced
kb.negativeLogic = (technique == PAYLOAD.TECHNIQUE.BOOLEAN) and (data.where == PAYLOAD.WHERE.NEGATIVE)
# Restoring stored conf options