mirror of https://github.com/MISP/misp-modules
Merge branch 'main' of github.com:MISP/misp-modules into main
commit
9efed339a7
|
@ -142,6 +142,7 @@ sudo -u www-data /var/www/MISP/venv/bin/pip install .
|
|||
sudo cp etc/systemd/system/misp-modules.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now misp-modules
|
||||
sudo service misp-modules start #or
|
||||
/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 & #to start the modules
|
||||
~~~~
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ User=www-data
|
|||
Group=www-data
|
||||
WorkingDirectory=/usr/local/src/misp-modules
|
||||
Environment="PATH=/var/www/MISP/venv/bin"
|
||||
ExecStart=/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1 -s
|
||||
ExecStart=/var/www/MISP/venv/bin/misp-modules -l 127.0.0.1
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -73,7 +73,6 @@ class ShodanParser():
|
|||
ip_address_object = MISPObject('ip-api-address')
|
||||
for attribute in ip_address_attributes:
|
||||
ip_address_object.add_attribute(**attribute)
|
||||
ip_address_object.add_attribute(**self._get_source_attribute())
|
||||
ip_address_object.add_reference(self.attribute.uuid, 'describes')
|
||||
self.misp_event.add_object(ip_address_object)
|
||||
|
||||
|
|
Loading…
Reference in New Issue