Parse request data and convert to HAR, include in injection data

This commit is contained in:
Louis-Philippe Huberdeau
2017-06-23 11:50:21 -04:00
parent 8df4cc3983
commit 0d756a8823
2 changed files with 178 additions and 1 deletions

View File

@@ -117,6 +117,7 @@ def checkSqlInjection(place, parameter, value):
while tests:
test = tests.pop(0)
threadData.requestCollector.reset()
try:
if kb.endDetection:
@@ -700,6 +701,7 @@ def checkSqlInjection(place, parameter, value):
injection.data[stype].matchRatio = kb.matchRatio
injection.data[stype].trueCode = trueCode
injection.data[stype].falseCode = falseCode
injection.data[stype].collectedRequests = threadData.requestCollector.obtain()
injection.conf.textOnly = conf.textOnly
injection.conf.titles = conf.titles