Closed eugui closed 4 years ago
It could be that you're missing a "method" for fetching said resource. Try this:
{
"vulnerability": "Metrics",
"method": "GET",
"sendIn": "url",
"payload": [
"/metrics"
],
"checkIn": "responseBody",
"checkFor": "http_request_duration_seconds||||_reputation_requests_duration_",
"color": "blue"
}
tried with "method": "GET",
and nothing.
I used: -timeout 25 -t 2
in my list only 5 urls.
I'm currently unable to reproduce your issue locally. Maybe someone else has insight.
Hi @eugui ,
Can you check if you are receiving the same response with inception as in browser by setting environment variable GOREQUEST_DEBUB
as 1 and running the tool ?
Hi @proabiral and @geeknik ,
It was my fault and the correct code is:
{
"vulnerability": "Metrics",
"method": "GET",
"color": "blue",
"body": "",
"endpoint": [
"/metrics"
],
"headers": [],
"checkIn": "responseBody",
"checkFor": "http_request_duration_seconds||||_reputation_requests_duration_"
}
Issue detected - Metrics Endpoint - http://xxx.xxx/metrics
Thank you
Hi,
I do not know why I do not have result in my script:
the response in browser is:
but the inception do not detect this
/metrics
.