Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am armbues on github.
* I am armbues (https://keybase.io/armbues) on keybase.
* I have a public key ASDluNd1lf2y4qx0xuPQWhb8VxXGQQ2QYhiARnx9CyHFugo
To claim this, I am signing this object:
@armbues
armbues / custom_handler.py
Created July 8, 2015 15:45
Example of importing ioc-parser as a module and using a custom output handler
#!/usr/bin/env python
import argparse
import iocp
import output
class MyOutputHandler(output.OutputHandler):
def print_match(self, fpath, page, name, match):
obj = {}