HurricaneLabs / machinae

Machinae Security Intelligence Collector
MIT License
502 stars 99 forks source link

Error with -f option #6

Closed mcm closed 9 years ago

mcm commented 9 years ago

The following traceback occurs when any file is given to the -f option, existing or not.

 steve > ~ > machinae -s ipwhois -f test 8.8.8.8
Traceback (most recent call last):
  File "/Users/steve/Library/Python/3.4/bin/machinae", line 9, in <module>
    load_entry_point('Machinae==1.0', 'console_scripts', 'machinae')()
  File "/Users/steve/git/hurricane/machinae/src/machinae/cmd.py", line 170, in main
    cmd.run()
  File "/Users/steve/git/hurricane/machinae/src/machinae/cmd.py", line 161, in run
    ofile.write(output)
TypeError: 'str' does not support the buffer interface
 steve > ~ >