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 (#ada58e45) #5755

Closed
sqlmapreporter opened this issue Jul 26, 2024 · 0 comments
Closed

Unhandled exception (#ada58e45) #5755

sqlmapreporter opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@sqlmapreporter
Copy link

Running version: 1.8.7.1#dev
Python version: 3.11.7
Operating system: Windows-10-10.0.22631-SP0
Command line: sqlmap.py -u ***************************************************************************************** --dbms=mssql --batch --risk=3 --level=5 -priv-esc --threads=10 --random-agent --os-shell
Technique: STACKED
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
  File "sqlmap.py", line 222, in main
    start()
  File "lib/core/decorators.py", line 80, in _
    result = f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^
  File "lib/controller/controller.py", line 732, in start
    action()
  File "lib/controller/action.py", line 221, in action
    conf.dbmsHandler.osShell()
  File "plugins/generic/takeover.py", line 99, in osShell
    self.shell()
  File "lib/takeover/abstraction.py", line 162, in shell
    self.runCmd(command)
  File "lib/takeover/abstraction.py", line 101, in runCmd
    conf.dumper.string("command standard output", output)
  File "lib/core/dump.py", line 142, in string
    self._write("%s:\n---\n%s\n---" % (header, _))
  File "lib/core/dump.py", line 80, in _write
    dataToStdout(text)
  File "lib/core/common.py", line 1044, in dataToStdout
    sys.stdout.write(stdoutEncode(setColor(data, bold=bold) if coloring else clearColors(data)))
  File "thirdparty/colorama/ansitowin32.py", line 40, in write
    self.__convertor.write(text)
  File "thirdparty/colorama/ansitowin32.py", line 141, in write
    self.write_and_convert(text)
  File "thirdparty/colorama/ansitowin32.py", line 163, in write_and_convert
    text = self.convert_osc(text)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "thirdparty/colorama/ansitowin32.py", line 247, in convert_osc
    winterm.set_title(params[1])
  File "thirdparty/colorama/winterm.py", line 166, in set_title
    win32.SetConsoleTitle(title)
  File "thirdparty/colorama/win32.py", line 154, in SetConsoleTitle
    return _SetConsoleTitleW(title)
           ^^^^^^^^^^^^^^^^^^^^^^^^
ctypes.ArgumentError: argument 1: TypeError: wrong type
@stamparm stamparm self-assigned this Jul 30, 2024
@stamparm stamparm added this to the 1.9 milestone Jul 30, 2024
@stamparm stamparm added the bug label Jul 30, 2024
pull bot pushed a commit to googlesky/sqlmap that referenced this issue Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants