Changed vuln data references to url

This commit is contained in:
ethicalhack3r
2014-07-31 11:56:14 +02:00
parent 08dfa4cab2
commit 8d2ec115f5
12 changed files with 620 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -159,7 +159,7 @@ def json(file)
begin begin
JSON.parse(content) JSON.parse(content)
rescue => e rescue => e
puts "[ERROR] In JSON file parsing #{e} #{e.backtrace}" #puts "[ERROR] In JSON file parsing #{e} #{e.backtrace}"
end end
end end

View File

@@ -46,10 +46,4 @@ class WpItem
return false return false
end end
end end
# @return [ String ]
def identifier
@name
end
end end

View File

@@ -11,5 +11,10 @@ class WpPlugin < WpItem
@vulns_file @vulns_file
end end
# @return [ String ]
def identifier
@name
end
end end
end end

View File

@@ -10,6 +10,10 @@ class WpTheme < WpItem
end end
@vulns_file @vulns_file
end end
# @return [ String ]
def identifier
@name
end
end end
end end

View File

@@ -1,7 +1,7 @@
{ {
"id": "3911", "id": "3911",
"title": "Vuln Title", "title": "Vuln Title",
"references": "Ref 1,Ref 2", "url": "Ref 1,Ref 2",
"secunia": "secunia", "secunia": "secunia",
"osvdb": "osvdb", "osvdb": "osvdb",
"cve": "2011-001", "cve": "2011-001",

View File

@@ -5,7 +5,7 @@
{ {
"id":2989, "id":2989,
"title":"Administrator-exploitable blind SQLi in WordPress 1.0 - 3.8.1", "title":"Administrator-exploitable blind SQLi in WordPress 1.0 - 3.8.1",
"references":"https://security.dxw.com/advisories/sqli-in-wordpress-3-6-1/,http://www.example.com", "url":"https://security.dxw.com/advisories/sqli-in-wordpress-3-6-1/,http://www.example.com",
"created_at":"2014-07-28T12:10:07.000Z", "created_at":"2014-07-28T12:10:07.000Z",
"updated_at":"2014-07-28T12:43:41.000Z" "updated_at":"2014-07-28T12:43:41.000Z"
} }
@@ -18,7 +18,7 @@
{ {
"id":2993, "id":2993,
"title":"I'm the one", "title":"I'm the one",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",

View File

@@ -5,7 +5,7 @@
{ {
"id":2989, "id":2989,
"title":"I should not appear in the results", "title":"I should not appear in the results",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",
@@ -19,7 +19,7 @@
{ {
"id":2989, "id":2989,
"title":"Neither do I", "title":"Neither do I",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",
@@ -39,7 +39,7 @@
{ {
"id":2993, "id":2993,
"title":"Follow me!", "title":"Follow me!",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",

View File

@@ -5,7 +5,7 @@
{ {
"id":2989, "id":2989,
"title":"I should not appear in the results", "title":"I should not appear in the results",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",
@@ -19,7 +19,7 @@
{ {
"id":2989, "id":2989,
"title":"Neither do I", "title":"Neither do I",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",
@@ -39,7 +39,7 @@
{ {
"id":2993, "id":2993,
"title":"I see you", "title":"I see you",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",

View File

@@ -5,7 +5,7 @@
{ {
"id":2989, "id":2989,
"title":"I should not appear in the results", "title":"I should not appear in the results",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",
@@ -25,7 +25,7 @@
{ {
"id":2993, "id":2993,
"title":"Here I Am", "title":"Here I Am",
"references":"Ref 1,Ref 2", "url":"Ref 1,Ref 2",
"osvdb":"osvdb", "osvdb":"osvdb",
"cve":"2011-001", "cve":"2011-001",
"secunia":"secunia", "secunia":"secunia",