From 99d42448d3bca3e15e7db6e9f8653586656eee48 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Fri, 29 Oct 2021 23:16:10 +0530 Subject: [PATCH] Update api-virustotal.yaml --- token-spray/api-virustotal.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/token-spray/api-virustotal.yaml b/token-spray/api-virustotal.yaml index b57c6231db..b546d99833 100644 --- a/token-spray/api-virustotal.yaml +++ b/token-spray/api-virustotal.yaml @@ -11,7 +11,7 @@ self-contained: true requests: - raw: - | - POST /vtapi/v2/url/scan HTTP/1.1 + POST https://www.virustotal.com/vtapi/v2/url/scan HTTP/1.1 Host: www.virustotal.com Content-Type: application/x-www-form-urlencoded Content-Length: 86 @@ -19,7 +19,10 @@ requests: apikey={{token}}&url=google.com matchers: - - type: status - negative: true - status: - - 403 + - type: word + part: body + words: + - "'verbose_msg':" + - "'scan_date':" + - "'permalink':" + condition: and