try another color:
try another fontsize: 60% 70% 80% 90%
dueyesterday.net
Documentation for the masses

NIST CVSS V2 scoring calculator class for Python

Last month (and I guess technically last year) I started a quick project to make a Python class that someone could use to calculate the CVSS V2 score based on the many variables that CVSS takes into account. It took me a few days to get everything working, but as of now a class has been created that can take in the required variables or the CVSS string itself. By no means is it perfect, but if it is some use to someone then it has fulfilled its purpose.

I know there a few bugs within the code right now, specifically in the calculations, but I partially hold the CVSS system to blame because there is no specification as to how the results should be rounded. As a result this skews some of the results. I am attempting to work these things out but this project is not a major priority of mine. Being that I am releasing it and its open, I urge anyone who is interested to take a look and see what bugs you can find or improvements you can make. My only request is that you submit the changes to me so I can give credit and maintain a solid version of the code.

Attached are 3 documents, the code, a test runner and the pyDoc document. For more information on the CVSS V2 specification go here: http://nvd.nist.gov/cvsseq2.htm

AttachmentSize
openCVSS.html16.39 KB
openCVSS.py22.43 KB
openCVSS-tester.py539 bytes
Your rating: None Average: 2.4 (7 votes)