mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-31 07:36:06 +00:00
Minor bug fix for --forms
This commit is contained in:
parent
6525e08d6b
commit
76ce9cc888
2 changed files with 3 additions and 4 deletions
|
|
@ -373,7 +373,7 @@ def __findPageForms():
|
|||
|
||||
target = (url, method, data, conf.cookie)
|
||||
kb.targetUrls.add(target)
|
||||
kb.formNames[target] = form.name
|
||||
kb.formNames.append(target)
|
||||
else:
|
||||
errMsg = "there were no forms found at a given target url"
|
||||
raise sqlmapGenericException, errMsg
|
||||
|
|
@ -1142,7 +1142,7 @@ def __setKnowledgeBaseAttributes():
|
|||
kb.dep = None
|
||||
kb.docRoot = None
|
||||
kb.dynamicMarkings = []
|
||||
kb.formNames = advancedDict()
|
||||
kb.formNames = []
|
||||
kb.headersCount = 0
|
||||
kb.headersFp = {}
|
||||
kb.hintValue = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue