Features:

- Support for bot development in intelmq 2.3.1 version
 - Add mail handler
 - Add start botnet at boot option
This commit is contained in:
Jeremias Pretto
2021-03-23 11:57:27 -03:00
parent 171a89a1a3
commit 77d05fbc1f
9 changed files with 165 additions and 62 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
echo "Installing requirements for bots in dev repository"
for file in $(find /opt/dev/mybots -name "*REQUIREMENTS.txt"); do pip3 install -r $file; done
echo "Merge your BOTS file with BOTS"
python3 /opt/dev/merge_BOTS.py
echo "Copying BOTS"
cp -a /opt/dev/mybots/bots/* /opt/intelmq/intelmq/bots/
cp /opt/intelmq/intelmq/bots/BOTS /opt/intelmq/etc/BOTS
echo "Installing new BOTS"
cd /opt/intelmq && pip3 install -e . --user && python3 setup.py install --user