0aKarmA_骅文

Results 40 comments of 0aKarmA_骅文

> 普通用户challenge题目上提交错误的或自己队伍的flag值都有相应的出错提示,但提交别的组肯定正确flag值,单击submit后没有任何反应 提交别的组的flag你是从哪里看到的,是后台,还是队伍容器里面? 没有任何反应,`f12`看看请求发出没有,以及是否有报错。 因为没有反应,所以scoreboard没有记录是正常的。

看一下`.data/CTFd/logs/error.log`里的报错呢,这部分我没有做异常处理~ 要看一下报错才能确定是哪部份出了问题,因为之前我自己测试的时候是没有问题的(

``` File "/home/bhs/H1ve/CTFd/plugins/ctfd_glowworm/models.py", line 209, in solve team_id = victim_name.team_id AttributeError: 'Teams' object has no attribute 'team_id' ``` 你把`models.py` 209行改成`team_id = victim_name.id`试试看

> 改了,还是出错: > File "/home/bhs/H1ve/CTFd/plugins/ctfd_glowworm/models.py", line 209, in solve > team_id = victim_name.id > AttributeError: 'Teams' object has no attribute 'team_id' 这个我改了是没有问题的,你改了之后要重启一下容器才可以

> 另外,似乎以前每轮check检查正常的AWD题目,重新run启用后就都通不过检查了。提示: > > check的逻辑应该是没问题的,你直接访问一下,看下网站能不能访问就好了。 如果你卡在整点重新run的话,他启动需要时间,所以就会出现这种情况。

> containers key 是什么意思?是我环境的密码还是docker的? [Containers Key 填写 docker 虚拟机内 root 用户的密码](https://h1ve.dao.ge/guide/ctfd-glowworm.html#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE)

> We can use `format` command to update the DNS/IP, once we can make sure that the number and order of DNS/IP are the same as before. Does it means...

> 请问 2.0.0版本 docker 部署 .env是引用已有mysql,那么数据库 streampark数据库是要手工导入sql吗?还是在docker首次启动的时候会自己创建? 得自己进入mysql容器,执行sql,默认不会初始化

> @alexazhou 的确是`lua-resty-core`没有安装的问题,将`lua-resty-core/lib/`下的所有文件复制到`/usr/local/lib/lua/5.1/`目录下就可以了,当然可以是任意lua能识别的目录就可以了,如下的目录都是可以的 > > ``` > /opt/verynginx/verynginx/lua_script/ > /opt/verynginx/verynginx/lua_script/module/ > /usr/local/share/luajit-2.1.0-beta2/ > /usr/local/share/lua/5.1/ > ... > ``` > > 看来wiki和readme需要完善一下了哦。 我这边尝试把`lua-resty-core/lib/`下的文件复制到`/opt/verynginx/verynginx/lua_script/`下,会出现如下报错: ``` [error] 17#17: *282 failed to run balancer_by_lua*:...