This commit is contained in:
erwanlr
2019-05-08 18:17:25 +01:00
parent c1ca7580e2
commit c8f010d9a6
5 changed files with 12 additions and 28 deletions

View File

@@ -11,9 +11,10 @@
}<% unless index == last_index %>,<% end -%>
<% end -%>
<% end -%>
},
"vulnerabilities": [
<% if @item.respond_to?(:vulnerabilities) && !(vulns = @item.vulnerabilities).empty? -%>
}
<% if @item.respond_to?(:vulnerabilities) -%>
,"vulnerabilities": [
<% unless (vulns = @item.vulnerabilities).empty? -%>
<% last_index = vulns.size - 1 -%>
<% vulns.each_with_index do |v, index| -%>
{
@@ -23,4 +24,5 @@
}<% unless index == last_index -%>,<% end -%>
<% end -%>
<% end -%>
]
]
<% end -%>

View File

@@ -8,10 +8,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
},
"http://ex.lo/?attachment_id=5": {
"found_by": "Attachment Brute Forcing",
@@ -21,10 +18,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
}
}
}

View File

@@ -21,10 +21,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
}
},
"http://ex.lo/tt2.php": {
@@ -48,10 +45,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
}
}
}

View File

@@ -56,10 +56,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
}
}
}

View File

@@ -39,10 +39,7 @@
],
"confirmed_by": {
},
"vulnerabilities": [
]
}
},
"parents": [