Update for an Issue #431

This commit is contained in:
Miroslav Stampar
2014-11-21 09:41:49 +01:00
parent 34ce774acd
commit cf2d5fd453
5 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ def start():
for targetUrl, targetMethod, targetData, targetCookie, targetHeaders in kb.targets:
try:
conf.url = targetUrl
conf.method = targetMethod
conf.method = targetMethod.upper() if targetMethod else targetMethod
conf.data = targetData
conf.cookie = targetCookie
conf.httpHeaders = list(initialHeaders)