mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
minor update related to the last commit
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user