cr0hn / golismero-legacy

THIS IS A LEGACY VERSION PRESERVED FOR BACKUP, DO NOT USE
http://golismero-project.com
15 stars 4 forks source link

CorrelationDB #221

Open MarioVilas opened 10 years ago

MarioVilas commented 10 years ago

In several places we need a large amount of constant data to correlate vulnerabilities, etc. For example the OpenVAS plugin uses a database to match OpenVAS plugins to GoLismero vulnerabilities. We'll also need a database for other features like reverse CPE lookups, or matching MAC addresses to hardware vendors, or correlating the different vulnerability IDs (CVE, OSVDB, etc.).

My proposal is to create a single mechanism to access all of this information in one place. The exact programming interface and implementation are up for discussion of course :) but here are my thoughts on it:

So this would be a proposed implementation:

I'm happy with all of the above except for the part about using SQLite3. It seems to me like the easiest choice given our existing code base, but there may be better ways to do it. (Now's a good chance to invest time in learning the benefits of Codernity, I guess!).

So, there's the idea. Discuss. :)


(@cr0hn después de leerte todo este churraco aprendes inglés FIJO, te me vas pa'Jarvar y tó, chaval xDDD)

MarioVilas commented 10 years ago

/cc @cr0hn @rrequero @jekkay

MarioVilas commented 10 years ago

Another option for the database, instead of sqlite3: https://pypi.python.org/pypi/python-cdb/0.32