Giter VIP home page Giter VIP logo

Comments (11)

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

更新了 README.md 增加了大致安装方式

from fuxi.

M1k0er avatar M1k0er commented on August 16, 2024

没法启动,看了日志:
Traceback (most recent call last):
File "./fuxi_manage.py", line 8, in
from fuxi.web.router import flask_app
File "/home/root0er/Desktop/root0er/bugsecurity/bug/tool/vul/fuxi/fuxi/web/router.py", line 9, in
from fuxi.web.flask_app import flask_app
File "/home/root0er/Desktop/root0er/bugsecurity/bug/tool/vul/fuxi/fuxi/web/flask_app.py", line 14, in
from fuxi.common.utils.logger import logger
File "/home/root0er/Desktop/root0er/bugsecurity/bug/tool/vul/fuxi/fuxi/common/utils/logger.py", line 14, in
from instance.config import LOGGER_PATH
ImportError: cannot import name 'LOGGER_PATH'

from fuxi.

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

原配置文件有问题,已经修改了,重新拉一下代码,然后用新的 _config.py 改成 config.py 再重新配置一下

from fuxi.

M1k0er avatar M1k0er commented on August 16, 2024

数据库配置貌似有问题,账号密码都设置在,还是提示2019-10-17 11:46:45 ERROR - db_init.py[40]: database initialization failure: there are no users authenticated

def databases_init():
try:
if not DBFuxiAdmin.find_one():
DBFuxiAdmin.add_admin(
username="fuxi_scanner", password="W94MRYDqOZ",
nick="14b3xfY1wd", email="W94MRYDqOZ",
)
if not DBPocsuitePlugin.find_one():
_poc_path = os.path.abspath(os.path.dirname(file)) + "/pocs"
for poc_filename in os.listdir(_poc_path):
with open(_poc_path + "/" + poc_filename, "r", encoding="UTF-8") as poc_read:
poc_str = poc_read.read()
poc_data = poc_parser(poc_str)
DBPocsuitePlugin.add(
name=poc_data['name'], poc_str=poc_str, filename=poc_filename,
app=poc_data['app'], poc_type=poc_data['type'], op="fuxi"

from fuxi.

XTeam-Wing avatar XTeam-Wing commented on August 16, 2024

代码没问题,能够正常运行,自己试一下,我的MongoDB设置的是空口令.

from fuxi.

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

原本的代码没有写 mongoDB 的认证功能 现在加上了 你需要重新拉下代码 修改使用新的 _config.py 改成 config.py 再重新配置,如果依旧提示认证失败,请检查一下你 mongoDB 数据库的用户权限配置。

from fuxi.

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

你贴的这段代码是用来添加默认 fuxi 系统用户的不是数据库的 数据库在 instance/config.py 里面配置
fuxi 的默认用户是fuxi 密码是whoami

from fuxi.

Maskhe avatar Maskhe commented on August 16, 2024

师傅,前端框架用的是哪个程序

from fuxi.

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

vue
Project: https://github.com/jeffzh3ng/fuxi-ui

from fuxi.

Maskhe avatar Maskhe commented on August 16, 2024

vue
Project: https://github.com/jeffzh3ng/fuxi-ui

我还以为用的是开源的前端ui,这个是师傅自己写的吗?

from fuxi.

jeffzh3ng avatar jeffzh3ng commented on August 16, 2024

历史遗留 bug 已解决,该issus将关闭

from fuxi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.