GShark部署
工具地址。https://github.com/madneal/gshark
下载最新版本
1、安装mysql
brew install mysql
mysql.server start
初始化的命令 : mysql_secure_installation
输入密码 进行配置
2、安装nginx
brew instll nginx
配置gshark
brew info nginx

修改 /usr/local/etc/nginx/nginx.conf
按照github的方法修改

修改web页
cd dist
cp -rf * /usr/local/var/www
启动web
chmod 755 gshark
./gshark web
启动nginx
nginx
启动数据库
sudo /usr/local/mysql/support-files/mysql.server start
打开http://localhost:8080
输入mysql数据库账户密码,配置后跳转到

默认账户密码gshark/gshark
修改GShark的token管理 配置token

github账号token,获取地址:https://github.com/settings/tokens
修改规则管理, 规则内容为查找的关键字

过滤规则。根据需求填写
执行 ./gshark scan 运行