55 lines
898 B
Markdown
55 lines
898 B
Markdown
# OpenCanary
|
|
|
|
## Device preparation
|
|
|
|
1. Install OS [Armbian 11 Bullseye](https://download.csec.ba/tinkerboard/Armbian_11.img.xz)
|
|
|
|
2. Update and upgrade
|
|
```bash
|
|
sudo apt update && sudo apt upgrade -y
|
|
```
|
|
|
|
3. Download OpenCanary config file
|
|
```bash
|
|
wget https://download.csec.ba/tinkerboard/opencanary.conf
|
|
```
|
|
|
|
4. Install Python3
|
|
```bash
|
|
sudo apt install -y python3-dev python3-pip python3-venv
|
|
```
|
|
|
|
5. Install prerequisites
|
|
```bash
|
|
sudo apt install -y build-essential libssl-dev libffi-dev libpcap-dev net-tools
|
|
```
|
|
|
|
6. Install Rust
|
|
```bash
|
|
sudo apt install rustc -y
|
|
```
|
|
|
|
7. Instal Cargo
|
|
```bash
|
|
sudo apt install cargo -y
|
|
```
|
|
|
|
8. Disable build Rust
|
|
```bash
|
|
export CRYPTOGRAPHY_DONT_BUILD_RUST=
|
|
```
|
|
|
|
9. Install dependencies
|
|
```bash
|
|
mkdir ~/opencanary
|
|
cd ~/opencanary
|
|
python3 -m venv env
|
|
source env/bin/activate
|
|
pip install wheel
|
|
pip install rdpy
|
|
pip install opencanary
|
|
pip install scapy pcapy
|
|
|
|
```
|
|
|