From 572a97d1eeca3635f1ab9942e1450740dcf36e24 Mon Sep 17 00:00:00 2001 From: german-esteban Date: Wed, 7 Aug 2024 15:45:55 +0200 Subject: [PATCH] Added cryptocurrencies types --- misp_modules/modules/expansion/vysion.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/misp_modules/modules/expansion/vysion.py b/misp_modules/modules/expansion/vysion.py index 8e7c71fd..d80aa2b7 100644 --- a/misp_modules/modules/expansion/vysion.py +++ b/misp_modules/modules/expansion/vysion.py @@ -151,17 +151,21 @@ def handler(q=False): if attribute_type == "email": result = client.find_email(attribute_value) elif attribute_type == "domain": - result = client.search(attribute_value) + result = client.find_url(attribute_value) elif attribute_type == "url": result = client.find_url(attribute_value) elif attribute_type == "text": result = client.search(attribute_value) elif attribute_type == "target-org": result = client.search(attribute_value) - elif attribute_type == "btc": - result = client.search(attribute_value) elif attribute_type == "phone-number": result = client.search(attribute_value) + elif attribute_type == "btc": + result = client.find_wallet("BTC",attribute_value) + elif attribute_type == "xmr": + result = client.find_wallet("XMR",attribute_value) + elif attribute_type == "dash": + result = client.find_wallet("DASH",attribute_value) if result is None: return {"results": {}}