When crawling a target and searching for info, when multiple matches are in the same URL the JSON struct holds two distinct elements instead of one element using an array:
{
"url": "http://testphp.vulnweb.com/index.php",
"method": "GET",
"status_code": 200,
"words": 388,
"lines": 110,
"content_type": "text/html",
"matches": {
"filetype": {
"extension": "php",
"severity": 5
},
"infos": [
{
"name": "Email address",
"match": "[email protected]"
},
{
"name": "HTML comment",
"match": "<!-- InstanceEndEditable -->"
},
{
"name": "HTML comment",
"match": "<!-- here goes headers headers -->"
},
{
"name": "HTML comment",
"match": "<!-- end masthead -->"
},
{
"name": "HTML comment",
"match": "<!-- begin content -->"
},
{
"name": "HTML comment",
"match": "<!--end content -->"
},
{
"name": "HTML comment",
"match": "<!--end navbar -->"
},
{
"name": "HTML comment",
"match": "<!-- InstanceEnd -->"
}
]
}
}
{
"url": "http://testphp.vulnweb.com/index.php",
"method": "GET",
"status_code": 200,
"words": 388,
"lines": 110,
"content_type": "text/html",
"matches": {
"filetype": {
"extension": "php",
"severity": 5
},
"infos": [
{
"name": "Email address",
"match": [
"[email protected]"
]
},
{
"name": "HTML comment",
"match": [
"<!-- InstanceEndEditable -->",
"<!-- here goes headers headers -->",
"<!-- end masthead -->",
"<!-- begin content -->",
"<!--end content -->",
"<!--end navbar -->",
"<!-- InstanceEnd -->"
]
}
]
}
}