添加外部靶机时遇到BUG
表单。 If this is a bug report please fill out the template below. 如果是提出新的 Feature,请详细描述您的需求。 If this is a feature request please describe the behavior that you'd like to see. 请您确认您已经阅读过使用文档(https://cardinal.ink/),并在 issue 列表中查找相似的问题。 Please make sure that you have read the project Wiki (https://cardinal.ink/) and other issue may related to this one. -->
运行环境 Environment:
- Go 版本 / Go Version:
直接采用编译好的Cardinal_v0.7.1_linux_amd64.tar.gz
- 操作系统 / Operating System:
CentOS Linux release 7.4.1708 (Core)
发生了什么?/ What happened?
添加外部靶机->批量添加->采用JSON字符串->"ChallengeID":1->生成表单后,题目显示为1,需要每台靶机手动选取一下题目,不然提交显示参数错误。
您的预期结果是什么?/ What did you expect to happen?
批量导入时,靶机题目能根据ChallengeID自动匹配。
如何复现您的问题?/ How to reproduce your issue?
参考问题描述
额外的补充信息(堆栈信息、错误日志等)/ Any associated stack traces or error logs
null
请确认在提交前,是否存在ChallengeID为1的题目。
当时新建了一个名称为web01的题目,"ChallengeID":1和"ChallengeID":"web01"都试过,都需要手动选择每台靶机的题目名称一次。
请确认在提交前,是否存在
ChallengeID为1的题目。