~alienagain/sec_scripts

66c36f0a9e954abd46224fb88a4de34bd16b0526 — terceranexus6 1 year, 3 months ago c637dbe
adding other scripts
2 files changed, 24 insertions(+), 0 deletions(-)

A alienvault/get_my_pulses.py
A alienvault/search_sha256.py
A alienvault/get_my_pulses.py => alienvault/get_my_pulses.py +12 -0
@@ 0,0 1,12 @@
#!/usr/bin/env python

# Very Simple CLI example to get indicator details from Alienvault OTX

from OTXv2 import OTXv2
import IndicatorTypes
import argparse
import os

otx = OTXv2("<my api key>")

print (str(otx.getall(max_items=2, limit=3)))

A alienvault/search_sha256.py => alienvault/search_sha256.py +12 -0
@@ 0,0 1,12 @@
#!/usr/bin/env python

# Very Simple CLI example to get indicator details from Alienvault OTX

from OTXv2 import OTXv2
import IndicatorTypes
import argparse
import os

otx = OTXv2("<your api key>")

print (str(otx.get_indicator_details_full(IndicatorTypes.FILE_HASH_SHA256, "46b501600a4ee30d014c5356bad83ad2107ba9b9c58ffc717f60f986322721d4")))