Last active
January 14, 2020 20:46
-
-
Save 2xyo/c99fc410f3d88b87b76c36c431d640ee to your computer and use it in GitHub Desktop.
OpenCTI - kali
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt autoremove -y | |
| apt purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") ) | |
| apt update && apt upgrade -y | |
| apt remove docker docker-engine docker.io containerd runc | |
| apt install \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg2 \ | |
| software-properties-common | |
| curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
| apt-key fingerprint 0EBFCD88 | |
| echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list | |
| add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/debian \ | |
| buster \ | |
| stable" | |
| apt update | |
| apt install docker-ce docker-ce-cli | |
| curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose | |
| sysctl -w vm.max_map_count=262144 | |
| cd /opt | |
| git clone https://github.com/OpenCTI-Platform/docker.git OpenCTI-Platform-docker | |
| cd OpenCTI-Platform-docker | |
| cat /proc/sys/kernel/random/uuid | |
| vi docker-compose.yml | |
| docker-compose --compatibility up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #apt install python3-virtualenv | |
| cd /opt | |
| python3 -m venv /opt/OpenCTI-venv | |
| git clone https://github.com/OpenCTI-Platform/client-python.git OpenCTI-client-python | |
| cd OpenCTI-client-python | |
| source /opt/OpenCTI-venv/bin/activate | |
| pip install . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment