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
JSON.parse(content)
rescue => e
puts "[ERROR] In JSON file parsing #{e} #{e.backtrace}"
#puts "[ERROR] In JSON file parsing #{e} #{e.backtrace}"
end
end

View File

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

View File

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

View File

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

View File

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

View File

@@ -5,7 +5,7 @@
{
"id":2989,
"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",
"updated_at":"2014-07-28T12:43:41.000Z"
}
@@ -18,7 +18,7 @@
{
"id":2993,
"title":"I'm the one",
"references":"Ref 1,Ref 2",
"url":"Ref 1,Ref 2",
"osvdb":"osvdb",
"cve":"2011-001",
"secunia":"secunia",

View File

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

View File

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

View File

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