Work on json database file parsing, still needs some work.
This commit is contained in:
14
spec/samples/common/models/vulnerability/json_item.json
Normal file
14
spec/samples/common/models/vulnerability/json_item.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"id": "3911",
|
||||
"title": "Vuln Title",
|
||||
"references": "Ref 1,Ref 2",
|
||||
"secunia": "secunia",
|
||||
"osvdb": "osvdb",
|
||||
"cve": "2011-001",
|
||||
"metasploit": "exploit/ex1",
|
||||
"exploitdb": "exploitdb",
|
||||
"created_at": "2014-07-28T12:10:45.000Z",
|
||||
"updated_at": "2014-07-28T12:10:45.000Z",
|
||||
"type": "CSRF",
|
||||
"fixed_in": "1.0"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<vulnerability>
|
||||
<title>Vuln Title</title>
|
||||
<references>
|
||||
<metasploit>exploit/ex1</metasploit>
|
||||
<url>Ref 1</url>
|
||||
<url>Ref 2</url>
|
||||
<cve>2011-001</cve>
|
||||
<secunia>secunia</secunia>
|
||||
<osvdb>osvdb</osvdb>
|
||||
<exploitdb>exploitdb</exploitdb>
|
||||
</references>
|
||||
<type>CSRF</type>
|
||||
<fixed_in>1.0</fixed_in>
|
||||
</vulnerability>
|
||||
Reference in New Issue
Block a user