Skip to content

Unhandled exception (#2118b09a) #4504

Closed

Description

@sqlmapreporter
Running version: 1.4.12.45#dev
Python version: 3.9.1rc1
Operating system: Linux-5.9.0-kali1-amd64-x86_64-with-glibc2.31
Command line: sqlmap.py -u ***************************************** --cookie=************************************ --os-shell
Technique: ERROR
Back-end DBMS: PostgreSQL (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 216, in main
    start()
  File "lib/core/decorators.py", line 78, in _
    result = f(*args, **kwargs)
  File "lib/controller/controller.py", line 703, in start
    action()
  File "lib/controller/action.py", line 221, in action
    conf.dbmsHandler.osShell()
  File "plugins/generic/takeover.py", line 85, in osShell
    self.initEnv(web=web)
  File "lib/takeover/abstraction.py", line 219, in initEnv
    success = self.udfInjectSys()
  File "lib/takeover/udf.py", line 181, in udfInjectSys
    self.udfSetLocalPaths()
  File "plugins/dbms/postgresql/takeover.py", line 54, in udfSetLocalPaths
    if distutils.version.LooseVersion(banVer) >= distutils.version.LooseVersion("10"):
  File "/usr/lib/python3.9/distutils/version.py", line 70, in __ge__
    c = self._cmp(other)
  File "/usr/lib/python3.9/distutils/version.py", line 339, in _cmp
    if self.version == other.version:
AttributeError: 'LooseVersion' object has no attribute 'version'

Activity

  1. self-assigned this
    on Jan 3, 2021
  2. added this to the 1.6 milestone on Jan 3, 2021
  3. added a commit that references this issue on Mar 9, 2024
    f5b6b0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions