【笔记】Pocassist学习笔记

前言

pocassist是一个 Golang 编写的全新开源漏洞测试框架。(Github

下载项目

手动编译

下载项目

1
2
git clone https://github.com/jweny/pocassist.git
cd pocassist

下载依赖

1
go mod tidy

编译项目

1
go build main.go

直接下载编译好的可执行文件

1
wget https://github.com/jweny/pocassist/releases/download/v0.1.0/pocassist-linux-amd64.tar.gz

下载数据库

1
git clone https://github.com/jweny/pocassistdb.git

创建配置文件

  • 在可执行文件同级目录下创建config.yaml文件

首次启动项目,如果不存在config.yaml文件会自动创建

  • 修改dbconfig,指定sqlite数据库
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
dbconfig:
enabledefault: true
mysql:
database: pocassist
host: 127.0.0.1
password: ""
port: "3306"
timeout: 3s
user: root
sqlite: pocassist.db
httpconfig:
dail_timeout: 5
headers:
user_agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
http_timeout: 10
max_qps: 100
max_redirect: 5
proxy: ""
udp_timeout: 5
logconfig:
compress: false
max_age: 365
max_backups: 1
max_size: 50
pluginsconfig:
concurrent: 10
parallel: 8
reverse:
api_key: ""
domain: ""
serverconfig:
jwt_secret: pocassist
run_mode: release

运行项目

1
./main

首次登录

用户:admin
密码:admin2

完成