PyMISP icon indicating copy to clipboard operation
PyMISP copied to clipboard

freetext import error

Open CheKecha19 opened this issue 2 years ago • 3 comments

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

CheKecha19 avatar May 17 '23 08:05 CheKecha19

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

adulau avatar May 17 '23 09:05 adulau

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?

CheKecha19 avatar May 17 '23 10:05 CheKecha19

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.

elvidence avatar Jun 21 '24 10:06 elvidence