Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akkuman/docker-awvs
可便捷配置账号密码apikey的docker-awvs
https://github.com/akkuman/docker-awvs
Last synced: 3 months ago
JSON representation
可便捷配置账号密码apikey的docker-awvs
- Host: GitHub
- URL: https://github.com/akkuman/docker-awvs
- Owner: akkuman
- Created: 2022-05-30T10:08:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T03:31:45.000Z (over 1 year ago)
- Last Synced: 2024-05-08T01:33:03.563Z (6 months ago)
- Language: Dockerfile
- Size: 18.6 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - akkuman/docker-awvs - 可便捷配置账号密码apikey的docker-awvs (Dockerfile)
README
# docker-awvs
该项目让用户名和 token 的配置更加简单
## 使用
### docker-compose
将 [docker-compose.yml](docker-compose.yml) 保存到你的机器上
然后修改环境变量中的账号密码和token
然后使用命令
```shell
sudo docker compose up -d
```## 环境变量
```yaml
acunetix_user: [email protected]
# AWVS_PASSWORD: 必须包含数字小写字母,特殊符号
acunetix_password: [email protected]
# AWVS_APIKEY: 必须为32位的md5值
acunetix_token: 4de0e7ba28434d26a0d12e04898cc5a7
acunetix_database: pg 数据库地址,格式 `postgresql://:@:/`
```其中最后的 api_key为 `1986ad8c0a5b3df4d7028d5f3c06e936c"$acunetix_token"`
比如该例子中,最后的 api_key 为 `1986ad8c0a5b3df4d7028d5f3c06e936c4de0e7ba28434d26a0d12e04898cc5a7`
调用方法例如 `curl -k -X GET https://127.0.0.1:3443//api/v1/users -H 'Accept: application/json' -H 'X-Auth: 1986ad8c0a5b3df4d7028d5f3c06e936c4de0e7ba28434d26a0d12e04898cc5a7'`
## Reference
- [法海之路](https://www.fahai.org/)
- [XRSec-AWVS](https://github.com/XRSec/AWVS-Update)