Comments (5)
Closed by #446
from vulhub.
Hi @D3vil0p3r
Glad to see your idea.
We used to have a similar file in the https://github.com/vulhub/vulhub-org/blob/master/src/environments.json, but it was in Chinese.
You can add a new environments.json file in current repository in the format in English:
[{
"name": "...",
"app": "...",
"cve": "...",
"path": "path/to/vuln",
"description": "..."
},...]
Actually I think JSON is not most appropriate choice, I perfer TOML or YAML, it's more readable for human.
Or you have another considertation just comment here.
from vulhub.
What do u think if we add inside that environments.json
the variable name_en
for English and name_zh
for Chinese name string? I would keep only one file, so for sure it would be good to add description
and other useful values in the existing file, then we can convert that .json
to a .yml
or .toml
in order to keep only one centralized file to maintain.
PS: is it not better to move that environments
file directly to the vulhub
repository instead of vulhub-org
?
from vulhub.
What do u think if we add inside that
environments.json
the variablename_en
for English andname_zh
for Chinese name string? I would keep only one file, so for sure it would be good to adddescription
and other useful values in the existing file, then we can convert that.json
to a.yml
or.toml
in order to keep only one centralized file to maintain.
Agree.
I just update https://github.com/vulhub/vulhub-org to the newest version of Vulhub, you can creare your content based on it and open the PR.
I think it's not a easy work because there are still some of vulnerabilities don't have English manual. You can let me know if there are language issues in the progress.
from vulhub.
I was thinking to use .toml
by this structure and using array of tables:
###################
# Array of Tables #
###################
# An array of tables can be expressed by using a table name in double brackets.
# Each table with the same double bracketed name will be an item in the array.
# The tables are inserted in the order encountered.
[[products]]
name = "array of table"
sku = 738594937
emptyTableAreAllowed = true
[[products]]
[[products]]
name = "Nail"
sku = 284758393
color = "gray"
The equivalent in JSON would be:
{
"products": [
{
"name": "array of table",
"sku": 7385594937,
"emptyTableAreAllowed": true
},
{},
{
"name": "Nail",
"sku": 284758393,
"color": "gray"
}
]
}
Source: https://learnxinyminutes.com/docs/toml/
So, in our case:
[[containers]]
name_en = "ActiveMQ Deserialization Vulnerabilities"
name_zh = "ActiveMQ 反序列化漏洞"
description = "Apache ActiveMQ machine with deserialization vulnerabilities."
app = "ActiveMQ"
cve = "CVE-XXXX-YYYYYY"
path = "path/to/vuln"
[[containers]]
...
from vulhub.
Related Issues (20)
- kafka/CVE-2023-25194 镜像构建问题 HOT 1
- Request Dockerfile for each container img HOT 1
- airflow/CVE-2020-11978启动失败 HOT 1
- ERROR: error pulling image configuration: unknown blob HOT 2
- Java RMI Registry 反序列化漏洞(<=jdk8u111)无法复现
- 苹果M1芯片启动项目时exec 格式错误 HOT 1
- php/xdebug-rce fails to build HOT 1
- Include `Dockerfile` in the repo HOT 3
- jumpserver随机数种子泄露导致账户劫持漏洞 默认admin账号密码无法登录 HOT 7
- 关于/grafana/admin-ssrf这个漏洞的一些问题。 HOT 2
- 关于 Compose file 的优化建议, 兼容 arm 架构 (M1 mac) HOT 4
- log4j/CVE-2021-44228: Unsupported operation HOT 2
- CVE-2017-17405镜像build失败 HOT 3
- phpmailer/CVE-2017-5223 build error HOT 3
- elasticsearch/CVE-2015-3337 build error HOT 1
- cve-2017-10271-weblogic-1运行不起来 HOT 4
- solr/CVE-2019-17558 容器运行失败 HOT 1
- 运行ecshop的安装界面失败 HOT 5
- OpenSSH 用户名枚举漏洞(CVE-2018-15473)不需要提交flag吗? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulhub.