mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
another fix. hope it works :)
This commit is contained in:
parent
f8056f4098
commit
d0acb1c5a3
2 changed files with 4 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ class MultipartPostHandler(urllib2.BaseHandler):
|
|||
|
||||
try:
|
||||
for(key, value) in data.items():
|
||||
if type(value) == file:
|
||||
if type(value) == file or hasattr(value, 'file'):
|
||||
v_files.append((key, value))
|
||||
else:
|
||||
v_vars.append((key, value))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue