mlsecproject / combine

Tool to gather Threat Intelligence indicators from publicly available sources
https://www.mlsecproject.org/
GNU General Public License v3.0
650 stars 179 forks source link

support running outside of its own directory #151

Open jfalken opened 8 years ago

jfalken commented 8 years ago

all files were read/write from the current dir and assumed the script was run in that manner. when run in a different context (or from a diff path) it failed. this patch adds the base file path to all open() methods.

alexcpsec commented 8 years ago

This looks good! Thanks for that.

alexcpsec commented 8 years ago

@krmaxwell LMK if you want to chime in

alexcpsec commented 8 years ago

Hi, @jfalken . Can you please send an e-mail to alexcp -at- mlsecproject -dot- org so I can send you a link to sign our CLA?

jfalken commented 8 years ago

What is a CLA?

alexcpsec commented 8 years ago

It's a Contributor License Agreement - https://en.wikipedia.org/wiki/Contributor_License_Agreement

It pretty much says that you are ok in "donating" this code for us to be able to keep it open-source for all, and that you are not responsible for it any way, or to continue to provide support to it.