DSCAN的问题
hhhhhon opened this issue · comments
运用sqlmapapi出现问题
Traceback (most recent call last):
File "C:\Python27\sqlmap\thirdparty\bottle\bottle.py", line 935, in _inner_handle
return route.call(**args)
File "C:\Python27\sqlmap\thirdparty\bottle\bottle.py", line 1888, in wrapper
rv = callback(*a, **ka)
File "C:\Python27\sqlmap\lib\utils\api.py", line 483, in scan_start
DataStore.tasks[taskid].engine_start()
File "C:\Python27\sqlmap\lib\utils\api.py", line 175, in engine_start
self.process = Popen(["sqlmap", "--api", "-c", configFile], shell=False, close_fds=not IS_WIN)
File "C:\Python27\lib\subprocess.py", line 390, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
WindowsError: [Error 2]
是什么问题啊
问题已经解决,需要在管理员的权限下运行sqlmapapi.py -s
大神,请教一下这个在linux下怎么运行? 我环境上已经下载了django和python2.7,您能不能提供个演示案例,或者使用说明。
Linux上已经解决。
windows上运行的时候出现,django.db.utils.OperationalError: unable to open database file
不知道你有没有碰到过?
已解决,修改settings.py 中的DATABASES
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
#'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': '../db.sqlite3',
}
}
继续碰到问题
DjangoUnicodeDecodeError at /'utf8' codec can't decode byte 0xcf in position 3: invalid continuation byte. You passed in 'E:\\xcf\xee\xc4\xbf\xb4\xfa\xc2\xeb\MyBlog-master\DjangoProject-DSScan\DSScan\templates' (<type 'str'>)
有碰到过问题吗?
@OldFatBoy 编码问题,试试简单点的英文路径,我是直接放在根目录下的所以没遇过这些问题