Added cryptocurrencies types

pull/678/head
german-esteban 2024-08-07 15:45:55 +02:00
parent f0ef4ee71d
commit 572a97d1ee
1 changed files with 7 additions and 3 deletions

View File

@ -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": {}}