Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception (#d3812e45) #3560

sqlmapreporter opened this Issue Mar 30, 2019 · 0 comments


None yet
2 participants
Copy link

sqlmapreporter commented Mar 30, 2019

Running version:
Python version: 2.7.16
Operating system: Windows-10-10.0.17134
Command line: -u ************************************************************** --os-shell
Technique: UNION
Back-end DBMS: MySQL (fingerprinted)
Traceback (most recent call last):
  File "", line 170, in main
  File "lib/core/", line 53, in _
    result = f(*args, **kwargs)
  File "lib/controller/", line 666, in start
  File "lib/controller/", line 204, in action
  File "plugins/generic/", line 83, in osShell
  File "lib/takeover/", line 198, in initEnv
  File "lib/takeover/", line 381, in webInit
    if not self.webUpload(backdoorName, posixToNtSlashes(directory) if Backend.isOs(OS.WINDOWS) else directory, content=backdoorContent):
  File "lib/takeover/", line 102, in webUpload
    return self._webFileStreamUpload(stream, destFileName, directory)
  File "lib/takeover/", line 123, in _webFileStreamUpload
    page, _, _ = Request.getPage(url=self.webStagerUrl, multipart=multipartParams, raise404=False)
  File "lib/request/", line 492, in getPage
    conn = _urllib.request.urlopen(req)
  File "/Python27/lib/", line 154, in urlopen
    return, data, timeout)
  File "/Python27/lib/", line 427, in open
    req = meth(req)
  File "thirdparty/multipart/", line 67, in http_request
    boundary, data = self.multipart_encode(v_vars, v_files)
  File "thirdparty/multipart/", line 90, in multipart_encode
    file_size = os.fstat(fd.fileno())[stat.ST_SIZE] if isinstance(fd, file) else fd.len
AttributeError: '_io.BytesIO' object has no attribute 'len'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.