mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor update related to the last commit
This commit is contained in:
parent
cd7e4f5afc
commit
bbd4c128b0
2 changed files with 5 additions and 1 deletions
|
|
@ -464,6 +464,10 @@ def __findPageForms():
|
|||
url = urldecode(request.get_full_url(), kb.pageEncoding)
|
||||
method = request.get_method()
|
||||
data = urldecode(request.get_data(), kb.pageEncoding) if request.has_data() else None
|
||||
if not data and method and method.upper() == HTTPMETHOD.POST:
|
||||
debugMsg = "invalid POST form with blank data detected"
|
||||
logger.debug(debugMsg)
|
||||
continue
|
||||
target = (url, method, data, conf.cookie)
|
||||
kb.targetUrls.add(target)
|
||||
kb.formNames.append(target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue