mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
another fix. hope it works :)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user