Skip to content

Instantly share code, notes, and snippets.

@jjsantanna
Created December 16, 2021 14:30
Show Gist options
  • Save jjsantanna/025442eed82b63cafe0c9348155828db to your computer and use it in GitHub Desktop.
Save jjsantanna/025442eed82b63cafe0c9348155828db to your computer and use it in GitHub Desktop.
otx alienvault
# !pip3 install OTXv2
from OTXv2 import OTXv2, IndicatorTypes
from pandas as pd
otx = OTXv2(conf_otx_key)
# https://otx.alienvault.com/indicator/file/c0202cf6aeab8437c638533d14563d35
md5hash2check = "c0202cf6aeab8437c638533d14563d35"
df_otx = pd.json_normalize(otx.get_indicator_details_full(IndicatorTypes.FILE_HASH_MD5,md5hash2check))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment