Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

csirtgadgets/cifsdk-v4-py

Repository files navigation

Getting Started

CommandLine

$ pip install 'cifsdk>=4.0,<5.0'
$ export CIF_REMOTE=http://localhost:5000
$ export CIF_TOKEN=1234..

$ cif -d -p
$ cif --itype url --tags phishing
..

Python SDK

from pprint import pprint
from cifsdk import search, submit, ping

if not ping():
    print("Server Unavailable...")

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


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

see the CIFv4 wiki for more.

Need More Advanced Help?

https://csirtg.io/support

  • Augment your developer cycles, spend less time on customization.
  • Influence over future features at a fraction of the cost of custom building.
  • Lessons learned from 10+ years of industry wide experience.
  • Solve problems faster.

Getting Help

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.

COPYRIGHT AND LICENSE

Copyright (C) 2018 the CSIRT Gadgets

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