From a3eeb3c92d478e7deaed2a3257ee1367e428d99c Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Mon, 20 Nov 2023 15:45:45 +0100 Subject: [PATCH] moree --- examples/import_yara_ruleset.py | 2 +- examples/intelligence_search_to_network_infrastructure.py | 2 +- examples/livehunt_network_watch.py | 4 ++-- examples/search_and_download_topn_files.py | 2 +- examples/search_behavior_mbc.py | 4 ++-- examples/search_similar_files.py | 2 +- vt/feed.py | 2 +- vt/iterator.py | 6 +++--- vt/object.py | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/import_yara_ruleset.py b/examples/import_yara_ruleset.py index 45ccfea..4e04816 100644 --- a/examples/import_yara_ruleset.py +++ b/examples/import_yara_ruleset.py @@ -19,7 +19,7 @@ Read more: https://www.virustotal.com/gui/hunting-overview -https://developers.virustotal.com/v3.0/reference#livehunt +https://docs.virustotal.com/reference/livehunt https://support.virustotal.com/hc/en-us/articles/360000363717-VT-Hunting """ diff --git a/examples/intelligence_search_to_network_infrastructure.py b/examples/intelligence_search_to_network_infrastructure.py index a79fc78..7bad5e4 100644 --- a/examples/intelligence_search_to_network_infrastructure.py +++ b/examples/intelligence_search_to_network_infrastructure.py @@ -20,7 +20,7 @@ Read more: https://www.virustotal.com/gui/intelligence-overview -https://developers.virustotal.com/v3.0/reference#intelligence-search +https://docs.virustotal.com/reference/intelligence-search https://support.virustotal.com/hc/en-us/articles/360001387057-VirusTotal-Intelligence-Introduction """ diff --git a/examples/livehunt_network_watch.py b/examples/livehunt_network_watch.py index 1eceb79..96ca8c9 100644 --- a/examples/livehunt_network_watch.py +++ b/examples/livehunt_network_watch.py @@ -19,8 +19,8 @@ Read more: https://www.virustotal.com/gui/hunting-overview -https://developers.virustotal.com/v3.0/reference#livehunt -https://developers.virustotal.com/docs/nethunt +https://docs.virustotal.com/reference/livehunt +https://docs.virustotal.com/docs/nethunt """ import argparse diff --git a/examples/search_and_download_topn_files.py b/examples/search_and_download_topn_files.py index d0f2982..00a2ff6 100644 --- a/examples/search_and_download_topn_files.py +++ b/examples/search_and_download_topn_files.py @@ -7,7 +7,7 @@ NOTE: In order to use this script you will need to have access to VT Intelligence or to the Premium API. Learn more about these services at: https://www.virustotal.com/gui/intelligence-overview -https://developers.virustotal.com/v3.0/reference#search +https://docs.virustotal.com/reference/search https://www.virustotal.com/learn/ """ diff --git a/examples/search_behavior_mbc.py b/examples/search_behavior_mbc.py index f713c3b..a7e345f 100755 --- a/examples/search_behavior_mbc.py +++ b/examples/search_behavior_mbc.py @@ -9,7 +9,7 @@ NOTE: In order to use this script you will need to have access to VT Intelligence or to the Premium API. Learn more about these services at: https://www.virustotal.com/gui/intelligence-overview -https://developers.virustotal.com/v3.0/reference#search +https://docs.virustotal.com/reference/search https://www.virustotal.com/learn/ """ @@ -70,7 +70,7 @@ async def fetch_behavior_reports(self): while True: file_hash = await self.queue.get() # behavior report ID is format SHA256_SandboxName - # https://developers.virustotal.com/reference/get-file-behaviour-id + # https://docs.virustotal.com/reference/get-file-behaviour-id report_id = f'{file_hash}_CAPA' behavior_report = await client.get_object_async( f'/file_behaviours/{report_id}') diff --git a/examples/search_similar_files.py b/examples/search_similar_files.py index c6aa7ed..54416cd 100644 --- a/examples/search_similar_files.py +++ b/examples/search_similar_files.py @@ -14,7 +14,7 @@ NOTE: In order to use this script you will need to have access to VT Intelligence or to the Premium API. Learn more about these services at: https://www.virustotal.com/gui/intelligence-overview -https://developers.virustotal.com/v3.0/reference#search +https://docs.virustotal.com/reference/search https://www.virustotal.com/learn/ """ diff --git a/vt/feed.py b/vt/feed.py index 3b1de3a..434c1cc 100644 --- a/vt/feed.py +++ b/vt/feed.py @@ -44,7 +44,7 @@ class Feed: """Feed represents a stream of objects received from VirusTotal in real-time. For more information about VirusTotal Feeds see: - https://developers.virustotal.com/v3.0/reference#feeds + https://docs.virustotal.com/reference/file-feed In the example below the loop iterates forever, retrieving file objects as they are processed by VirusTotal. For a more elaborate example see the file diff --git a/vt/iterator.py b/vt/iterator.py index e92e8e5..3080372 100644 --- a/vt/iterator.py +++ b/vt/iterator.py @@ -26,14 +26,14 @@ class Iterator: Some endpoints in the VirusTotal API represent a collection of objects, for example: - `/files/{id}/comments `_ + `/files/{id}/comments `_ - `/intelligence/search `_ + `/intelligence/search `_ These collections can be iterated using an instance of this class. Learn more about collections in the VirusTotal API in: - https://developers.virustotal.com/v3.0/reference#collections + https://docs.virustotal.com/reference/collections The following example iterates over the most recent 200 comments, retrieving them in batches of 20: diff --git a/vt/object.py b/vt/object.py index 155c5b1..f78de5c 100644 --- a/vt/object.py +++ b/vt/object.py @@ -53,7 +53,7 @@ class Object: to :meth:`vt.Client.post_object`. Learn more about objects in the VirusTotal API in: - https://developers.virustotal.com/v3.0/reference#objects + https://docs.virustotal.com/reference/objects """ # Attributes from all object types that match any of the following names