Include tracking properties in the HAR to identify which test the requests were associated to

This commit is contained in:
Louis-Philippe Huberdeau
2017-07-18 15:46:52 -04:00
parent 7d147f613f
commit e38267a61e
3 changed files with 24 additions and 7 deletions

View File

@@ -162,6 +162,13 @@ def checkSqlInjection(place, parameter, value):
unionExtended = False
trueCode, falseCode = None, None
if conf.httpCollector is not None:
conf.httpCollector.setExtendedArguments({
"_title": title,
"_place": place,
"_parameter": parameter,
})
if stype == PAYLOAD.TECHNIQUE.UNION:
configUnion(test.request.char)