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

"misp tag -l" -> NameError: name 'Taxonomies' is not defined #796

Closed
icepaule opened this issue Nov 18, 2021 · 2 comments
Closed

"misp tag -l" -> NameError: name 'Taxonomies' is not defined #796

icepaule opened this issue Nov 18, 2021 · 2 comments

Comments

@icepaule
Copy link

Hello,
whenever using "tag" with the misp statement to retrieve or set a tag, the below error occures.

Could someone please help me?

Thx so much

viper attachments/813779903208095784/904085162621538304/spoofer.exe > misp tag -l
/home/xxx/.local/lib/python3.6/site-packages/urllib3/connectionpool.py:1020: InsecureRequestWarning: Unverified HTTPS request is being made to host 'misp.thesoc.eu'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/home/xxx/.local/lib/python3.6/site-packages/urllib3/connectionpool.py:1020: InsecureRequestWarning: Unverified HTTPS request is being made to host 'misp.thesoc.eu'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
/home/xxx/.local/lib/python3.6/site-packages/urllib3/connectionpool.py:1020: InsecureRequestWarning: Unverified HTTPS request is being made to host 'misp.thesoc.eu'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
[!] The command misp raised an exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/viper_framework-2.0rc11-py3.6.egg/viper/core/ui/console.py", line 322, in start
module.run()
File "/home/xxx/.viper/modules/misp.py", line 664, in run
self.tag()
File "/home/xxx/.viper/modules/misp_methods/tag.py", line 20, in tag
taxonomies = Taxonomies()
NameError: name 'Taxonomies' is not defined
viper attachments/813779903208095784/904085162621538304/spoofer.exe >

@Rafiot
Copy link
Contributor

Rafiot commented Nov 18, 2021

It is because pytaxonomies isn't installed. You can run pip install pytaxonomies in the virtualenvironment and that should solve it.

@icepaule
Copy link
Author

You are my hero....!!!
Thx a lot. - Works like a charm. ;-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants