minor update

This commit is contained in:
Miroslav Stampar 2012-01-05 14:55:23 +00:00
parent 1f085a0241
commit 40398f358c

View File

@ -545,15 +545,15 @@ class Connect:
if not place:
place = kb.injection.place or PLACE.GET
if timeBasedCompare:
value = value.replace("[SLEEPTIME]", str(conf.timeSec))
raise404 = place != PLACE.URI if raise404 is None else raise404
payload = agent.extractPayload(value)
threadData = getCurrentThreadData()
if payload:
if timeBasedCompare:
payload = payload.replace("[SLEEPTIME]", str(conf.timeSec))
if kb.tamperFunctions:
for function in kb.tamperFunctions:
payload = function(payload)