Some more updates

This commit is contained in:
Miroslav Stampar
2019-03-27 16:36:32 +01:00
parent fbd42228f8
commit c27820dc0e
9 changed files with 626 additions and 79 deletions

View File

@@ -29,9 +29,9 @@ import sys
import urllib
import urllib2
from lib.core.compat import choose_boundary
from lib.core.exception import SqlmapDataException
class Callable:
def __init__(self, anycallable):
self.__call__ = anycallable
@@ -75,7 +75,7 @@ class MultipartPostHandler(urllib2.BaseHandler):
def multipart_encode(vars, files, boundary=None, buf=None):
if boundary is None:
boundary = mimetools.choose_boundary()
boundary = choose_boundary()
if buf is None:
buf = ""