a simple project which performs the vehicle data logging for digital forensics usage as PoC
tags: Raspberry Pi
, Vehicle
, CAN Bus
, OBD-II
, Bluetooth
, Message Queue
, RabbitMQ
-
NTRU Implementation(Deprecated, due to unselected from NIST PQC in Round 4) - Falcon Implementation
- Kyber Implementation
- RabbitMQ Implementation
-
NTRU Implementation(Deprecated, due to unselected from NIST PQC in Round 4) - Falcon Implementation
- Kyber Implementation
- RabbitMQ Implementation
- MongoDB Implementation
$ git clone [email protected]:jason19970210/vehicleforensics.git
for both server-side
& client-side
$ python3 --version
$ python3 -m venv .venv
$ cd .venv
$ sudo chmod +x ./bin/activate
$ source ./bin/activate
(.venv) $
## for main service
(.venv) $ pip3 install -r requirements.txt
## for kyber
(.venv) $ pip3 install -r ./utils/kyber_utils/requirements.txt
(.venv) $ deactivate
$
$ sudo apt update
$ sudo apt install -y python3-pip
- https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
- https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04
$ docker-compose up -d
$ docker-compose down
$ docker-compose ps
(.venv) $ python3 server_main.py
$ sudo apt update
$ sudo apt install -y bluetooth libbluetooth-dev libatlas-base-dev
(.venv)$ python3 client_main.py
2024/04/25 Added
$ node -v
v20.12.2
$ npm -v
10.5.0
$ npm install
$ npm run dev
env: Windows 10
> pip install pybluez
Collecting pybluez>=0.23
Using cached PyBluez-0.23.tar.gz (97 kB)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
hint: See above for details.
Solution:
with
Microsoft Visual C++ 14.0 or greater is required
, link: https://my.visualstudio.com/Downloads?q=Visual%20C++%20Build%20Tools, download withDVD (ISO)
format as offline installation
ref: https://benjenq.pixnet.net/blog/post/47913350-%E3%80%90%E7%A2%BC%E8%BE%B2%E3%80%91%E5%9C%A8-windows-%E5%B9%B3%E5%8F%B0%E4%B8%8A%E8%A7%A3%E6%B1%BA-pip-%E5%AE%89%E8%A3%9D%E5%A5%97%E4%BB%B6%E5%87%BA
ref: pybluez/pybluez#431 (comment)
> pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez