mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
adding compatibility support for using --crawl and --forms together
This commit is contained in:
@@ -3363,6 +3363,9 @@ class HTMLForm:
|
||||
if self.enctype == "application/x-www-form-urlencoded":
|
||||
return (uri, urlencode(self._pairs()),
|
||||
[("Content-Type", self.enctype)])
|
||||
elif self.enctype == "text/plain":
|
||||
return (uri, self._pairs(),
|
||||
[("Content-Type", self.enctype)])
|
||||
elif self.enctype == "multipart/form-data":
|
||||
data = StringIO()
|
||||
http_hdrs = []
|
||||
|
||||
Reference in New Issue
Block a user