New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mode when creating FireHOL ipset directory #158

merged 1 commit into from Jan 9, 2018


None yet
2 participants

srilumpa commented Dec 18, 2017


I tried to use the FireHOL analyzer on last version but encountered the following error when executing it:

$ ./analyzers/FireHOLBlocklists/ <<< '{"data":"", "dataType":"ip", "config":{"blocklistpath": "/tmp/firehol"}}'
  File "./analyzers/FireHOLBlocklists/", line 30
    os.mkdir(self.path, 0700)
SyntaxError: invalid token

This pull request seems to fix it.

$ ./analyzers/FireHOLBlocklists/ <<< '{"data":"", "dataType":"ip", "config":{"blocklistpath": "/tmp/firehol"}}'
{"success": true, "summary": {"taxonomies": [{"level": "safe", "namespace": "Firehol", "predicate": "Blocklists", "value": "\"0 hit\""}]}, "artifacts": [], "full": {"hits": [], "count": 0}}

Best regards.


3c7 approved these changes Dec 18, 2017

Yes, thank you.

@3c7 3c7 added this to the 1.8.0 milestone Dec 29, 2017

@3c7 3c7 merged commit ef05b7e into TheHive-Project:master Jan 9, 2018

@srilumpa srilumpa deleted the srilumpa:FireHOL_fixes branch Jan 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment