Skip to content

Bug-Report[normal-run]AttributeError: module 'pyreadline' has no attribute 'GetOutputFile' #5096

@serfend

Description

@serfend

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. Run
    py .\sqlmap.py -r 1.txt
  2. See error
PS D:\backup\0.Main\workspace\resources\sqlmap> py .\sqlmap.py -r 1.txt
Traceback (most recent call last):
  File "D:\backup\0.Main\workspace\resources\sqlmap\lib\core\readlineng.py", line 26, in <module>
    _outputfile = _readline.GetOutputFile()
AttributeError: module 'pyreadline' has no attribute 'GetOutputFile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\backup\0.Main\workspace\resources\sqlmap\sqlmap.py", line 85, in <module>
    from lib.parse.cmdline import cmdLineParser
  File "D:\backup\0.Main\workspace\resources\sqlmap\lib\parse\cmdline.py", line 91, in <module>
    from lib.core.shell import autoCompletion
  File "D:\backup\0.Main\workspace\resources\sqlmap\lib\core\shell.py", line 11, in <module>
    from lib.core import readlineng as readline
  File "D:\backup\0.Main\workspace\resources\sqlmap\lib\core\readlineng.py", line 30, in <module>
    logger.debug(debugMsg)
AttributeError: module 'pyreadline.logger' has no attribute 'debug'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Running environment:

  • sqlmap version [e.g. 1.3.5.93#dev]
    • Albanwr Flameaxe
  • Installation method [e.g. git]
    • .git
  • Operating system: [e.g. Microsoft Windows 10]
  • Python version [e.g. 3.5.2]
    • 3.10.2

Target details:

  • DBMS [e.g. Microsoft SQL Server]
  • SQLi techniques found by sqlmap [e.g. error-based and boolean-based blind]
  • WAF/IPS [if any]
  • Relevant console output [if any]
  • Exception traceback [if any]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions