REST API 的自动化安全测试
REST API 渗透测试因现有 API 的持续变更及新增 API 而变得复杂。安全工程师或开发者可将 Astra 作为其流程的组成部分,以便在开发周期早期检测并修补漏洞。Astra 能自动检测并测试登录与登出(认证 API),因此任何人都能轻松将其集成到 CICD 流水线中。Astra 可接受 API 集合作为输入,因此也可用于独立模式下测试 API。
$ git clone https://github.com/flipkart-incubator/Astra
$ cd Astra
$ sudo pip install -r requirements.txt
$ sudo rabbitmq-server
$ celery -A worker -loglevel=INFO
$ cd API
$ python3 api.py
$ docker pull mongo
$ docker run --name astra-mongo -d mongo$ git clone https://github.com/flipkart-incubator/Astra.git
$ cd Astra
$ docker build -t astra .
$ docker run --rm -it --link astra-mongo:mongo -p 8094:8094 astra$ git clone -b docker-cli https://github.com/flipkart-incubator/Astra.git
$ cd Astra
$ docker build -t astra-cli .
$ docker run --rm -it --link astra-mongo:mongo astra-cli - requests
- logger
- pymongo
- ConfigParser
- pyjwt
- flask
- sqlmap
- celery
…运行 api.py 并访问 http://127.0.0.1:8094 处的 Web 界面。
$ cd API
$ python api.py
注意:
在 macOS 10.13 及以上版本中,必须使用标志 OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES。
https://www.astra-security.info/roadmap/ https://www.astra-security.info
暂无开放 Issues,或尚未同步最近议题。