README.md
June 18, 2021 · View on GitHub
介绍
本项目为 pocassist 的前端项目。由react + antd开发。
Demo
登录页

规则首页

规则详情

单挑规则靶机测试

漏洞描述首页

漏洞描述详情

新建批量扫描任务

任务首页

扫描结果

结果首页

组件首页

使用
开发者模式
yarn start
线上部署
打包:yarn build
安装nginx,修改nginx.conf反向代理后端。
upstream pocassistAPI {
# 配置后端端口
server 127.0.0.1:1231;
}
server {
listen 80;
location / {
# 配置build文件夹路径
root /opt/pocassistWEB/build/;
}
location /api/ {
proxy_pass http://pocassistAPI/api/;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}