【文件属性】:
文件名称:mockingjay:共享违规数据的地方
文件大小:39KB
文件格式:ZIP
更新时间:2021-05-24 23:21:57
HTML
嘲笑
共享违规数据的地方
设置
获取依赖项pip install -r requirements.txt
建立资料库
python
import mockingjay
mockingjay.init_db()
启动服务器./mockingjay.py
默认情况下,此过程在端口8080上侦听
用法
通过在以下位置填写表单来创建新事件:
http://yourserver.com/breaches/new
违规ID以及STIX XML的URL将返回给您:
http://yourserver.com/breaches/$id/stix
您可以在以下位置查看所有提交的违规行为:
http://yourserver.com/breaches/list
该端点还接受POST数据:
curl $server/breaches/new --data "submitter=MandiCo
【文件预览】:
mockingjay-master
----generators()
--------generateIncident.py(2KB)
--------__init__.py(0B)
----.gitignore(566B)
----README.md(854B)
----utils()
--------dbUtils.py(1KB)
--------__init__.py(0B)
--------schema.sql(477B)
----static()
--------jquery-2.1.4.min.js(82KB)
----mockingjay.py(3KB)
----LICENSE(1KB)
----requirements.txt(11B)
----templates()
--------incident.html(7KB)
--------layout.html(1KB)
--------incidentList.html(861B)
--------about.html(219B)