-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Description
Running version: 1.5.1.35#dev
Python version: 3.8.6
Operating system: Linux-5.9.0-kali1-amd64-x86_64-with-glibc2.29
Command line: sqlmap.py -u ***************************************** --cookie ************************************ --os-shell
Technique: STACKED
Back-end DBMS: PostgreSQL (fingerprinted)
Traceback (most recent call last):
File "sqlmap.py", line 215, 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 57, in udfSetLocalPaths
elif distutils.version.LooseVersion(banVer) >= distutils.version.LooseVersion("10"):
File "/usr/lib/python3.8/distutils/version.py", line 70, in __ge__
c = self._cmp(other)
File "/usr/lib/python3.8/distutils/version.py", line 337, in _cmp
if self.version < other.version:
TypeError: '<' not supported between instances of 'str' and 'int'