/cifsdk-v5-py

CIFv5 SDK (beta- only works with CIFv5)

Primary LanguagePythonMozilla Public License 2.0MPL-2.0

Getting Started

CommandLine

# this requires python3.6 or higher..

$ apt-get intstall -y libsnappy-dev  # brew install snappy
$ pip3 install geoip2 'cifsdk>=5.0b1,<6.0'
$ export CIF_REMOTE=http://localhost:5000

$ cif --itype url --tags phishing
$ cif -nq example.com
$ cif --profile zeek
..

Python SDK

from pprint import pprint
from cifsdk import search, create

for i in search({'indicator': 'example.com'}):
    pprint(i)


rv = create({'indicator': 'example.com', 'tags': 'phishing', 'group': 'everyone'})

Getting Involved

There are many ways to get involved with the project. If you have a new and exciting feature, or even a simple bugfix, simply fork the repo, create some simple test cases, generate a pull-request and give yourself credit!

If you've never worked on a GitHub project, this is a good piece for getting started.

paypal

COPYRIGHT AND LICENSE

Copyright (C) 2020 the CSIRT Gadgets

Free use of this software is granted under the terms of the Mozilla Public License (MPLv2).