Skip to content
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

freetext import error #996

Open
CheKecha19 opened this issue May 17, 2023 · 3 comments
Open

freetext import error #996

CheKecha19 opened this issue May 17, 2023 · 3 comments

Comments

@CheKecha19
Copy link

CheKecha19 commented May 17, 2023

when i try to load IoC to MISP using freetext import in CLI i have this error:
sudo python3 freetext.py --event 1131150 --input /var/www/MISP/PyMISP/examples/freetext.txt
image

text from .txt file
image

Can u say whats wrong with my command?
should i use files only or i can add needed IoCs with simple text in command like freetext.py --event 1131150 --input 123.123.123.123, kek.com, [email protected]

Also, team, can u add to https://[MISP]/events/automation page with examples of using CLI commands?
Bcause thats really hard sometimes trying to use it without docs

@adulau
Copy link
Member

adulau commented May 17, 2023

The explanation is in your screenshot... "PyMISP is not defined" ;-)

@CheKecha19
Copy link
Author

The explanation is in your screenshot... "PyMISP is not defined" ;-)

but pymisp already installed...
without pymisp misp doesnt work

image

other modules, like "enrich" and "create event" is working...
why misp can "not define" PyMISP?

@elvidence
Copy link

Depending on how you installed your MISP try
pip list
then try to activate venv
(If on Ubuntu) sudo -u www-data source /var/www/MISP/venv/bin/activate
pip list
you should see pymisp now.

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

No branches or pull requests

3 participants