Skip to content

--os-shell have bug #188

Description

@evilshell

[02:18:25] [CRITICAL] unhandled exception in sqlmap/1.0-dev, retry your run with the latest development version from the GitHub repository. If the exception persists, please send by e-mail to 'sqlmap-users@lists.sourceforge.net' or open a new issue at 'https://github.com/sqlmapproject/sqlmap/issues/new' with the following text and any information required to reproduce the bug. The developers will try to reproduce the bug, fix it accordingly and get back to you.
sqlmap version: 1.0-dev
Python version: 2.6.5
Operating system: posix
Command line: sqlmap.py --url=*********************************** --dbms=mssqlserver --current-user --current-db --os-shell -v 3
Technique: STACKED
Back-end DBMS: Microsoft SQL Server (fingerprinted)
Traceback (most recent call last):
File "/root/sqlmap-dev/_sqlmap.py", line 72, in main
start()
File "/root/sqlmap-dev/lib/controller/controller.py", line 564, in start
action()
File "/root/sqlmap-dev/lib/controller/action.py", line 143, in action
conf.dbmsHandler.osShell()
File "/root/sqlmap-dev/plugins/generic/takeover.py", line 80, in osShell
self.initEnv(web=web)
File "/root/sqlmap-dev/lib/takeover/abstraction.py", line 201, in initEnv
self.xpCmdshellInit()
File "/root/sqlmap-dev/lib/takeover/xp_cmdshell.py", line 290, in xpCmdshellInit
self.__xpCmdshellTest()
File "/root/sqlmap-dev/lib/takeover/xp_cmdshell.py", line 106, in __xpCmdshellTest
output = self.xpCmdshellEvalCmd("echo 1")
File "/root/sqlmap-dev/lib/takeover/xp_cmdshell.py", line 231, in xpCmdshellEvalCmd
output = "\n".join(line for line in output)
TypeError: sequence item 4: expected string or Unicode, NoneType found

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions