mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
adding compatibility support for using --crawl and --forms together
This commit is contained in:
parent
ddc4dfe5ff
commit
ef987c6954
4 changed files with 16 additions and 9 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue