sqlmap with error ValueError: _type_ 'v' not supported
sqlmap with error ValueError: _type_ 'v' not supported
sqlmap 版本 0.9
mac os el capitan 10.11.1 (15B42)
python sqlmap.py
Traceback (most recent call last):
File "/opt/application/PentestTool/sqlmap/sqlmap.py", line 22, in
from lib.controller.controller import start
File "/opt/application/PentestTool/sqlmap/lib/controller/controller.py", line 11, in
from lib.controller.action import action
File "/opt/application/PentestTool/sqlmap/lib/controller/action.py", line 8, in
from lib.controller.handler import setHandler
File "/opt/application/PentestTool/sqlmap/lib/controller/handler.py", line 26, in
from plugins.dbms.mssqlserver import MSSQLServerMap
File "/opt/application/PentestTool/sqlmap/plugins/dbms/mssqlserver/__init__.py", line 11, in
from plugins.dbms.mssqlserver.enumeration import Enumeration
File "/opt/application/PentestTool/sqlmap/plugins/dbms/mssqlserver/enumeration.py", line 31, in
from plugins.generic.enumeration import Enumeration as GenericEnumeration
File "/opt/application/PentestTool/sqlmap/plugins/generic/enumeration.py", line 18, in
from plugins.generic.custom import Custom
File "/opt/application/PentestTool/sqlmap/plugins/generic/custom.py", line 22, in
from lib.core.shell import autoCompletion
File "/opt/application/PentestTool/sqlmap/lib/core/shell.py", line 11, in
import rlcompleter
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/rlcompleter.py", line 166, in
import readline
File "/Library/Python/2.7/site-packages/readline.py", line 6, in
from pyreadline.rlmain import Readline
File "/Library/Python/2.7/site-packages/pyreadline/__init__.py", line 12, in
from . import logger, clipboard, lineeditor, modes, console
File "/Library/Python/2.7/site-packages/pyreadline/clipboard/__init__.py", line 13, in
from .win32_clipboard import GetClipboardText, SetClipboardText
File "/Library/Python/2.7/site-packages/pyreadline/clipboard/win32_clipboard.py", line 37, in
import ctypes.wintypes as wintypes
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/wintypes.py", line 23, in
class VARIANT_BOOL(_SimpleCData):
ValueError: _type_ 'v' not supported
重新安装python,我解决了我的问题。
brew install python
sqlmap 版本 0.9
mac os el capitan 10.11.1 (15B42)
python sqlmap.py Traceback (most recent call last): File "/opt/application/PentestTool/sqlmap/sqlmap.py", line 22, in from lib.controller.controller import start File "/opt/application/PentestTool/sqlmap/lib/controller/controller.py", line 11, in from lib.controller.action import action File "/opt/application/PentestTool/sqlmap/lib/controller/action.py", line 8, in from lib.controller.handler import setHandler File "/opt/application/PentestTool/sqlmap/lib/controller/handler.py", line 26, in from plugins.dbms.mssqlserver import MSSQLServerMap File "/opt/application/PentestTool/sqlmap/plugins/dbms/mssqlserver/__init__.py", line 11, in from plugins.dbms.mssqlserver.enumeration import Enumeration File "/opt/application/PentestTool/sqlmap/plugins/dbms/mssqlserver/enumeration.py", line 31, in from plugins.generic.enumeration import Enumeration as GenericEnumeration File "/opt/application/PentestTool/sqlmap/plugins/generic/enumeration.py", line 18, in from plugins.generic.custom import Custom File "/opt/application/PentestTool/sqlmap/plugins/generic/custom.py", line 22, in from lib.core.shell import autoCompletion File "/opt/application/PentestTool/sqlmap/lib/core/shell.py", line 11, in import rlcompleter File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/rlcompleter.py", line 166, in import readline File "/Library/Python/2.7/site-packages/readline.py", line 6, in from pyreadline.rlmain import Readline File "/Library/Python/2.7/site-packages/pyreadline/__init__.py", line 12, in from . import logger, clipboard, lineeditor, modes, console File "/Library/Python/2.7/site-packages/pyreadline/clipboard/__init__.py", line 13, in from .win32_clipboard import GetClipboardText, SetClipboardText File "/Library/Python/2.7/site-packages/pyreadline/clipboard/win32_clipboard.py", line 37, in import ctypes.wintypes as wintypes File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/wintypes.py", line 23, in class VARIANT_BOOL(_SimpleCData): ValueError: _type_ 'v' not supported
重新安装python,我解决了我的问题。
brew install python