-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add: [core] Installation instruction verified (Ubuntu 18.xx Server LTS)
- Loading branch information
1 parent
18a482f
commit e6ee03b
Showing
4 changed files
with
123 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ flask = "*" | |
pyopenssl = "*" | ||
redis = "*" | ||
objsize = "*" | ||
requests = "*" | ||
|
||
[requires] | ||
python_version = "3.7" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,53 @@ | ||
## Installation | ||
|
||
Just follow instruction, top to bottom | ||
|
||
### Core product | ||
|
||
< To be detailed > | ||
> \# Install system dependency | ||
> sudo apt-get install python3.7 python3.7-dev libsm6 libxrender1 cmake | ||
> | ||
> \# Prepare pipenv | ||
> sudo apt install python3-pip | ||
> sudo pip3 install pipenv | ||
> | ||
> \# Get repository | ||
> git clone https://github.com/CIRCL/douglas-quaid.git | ||
> | ||
> \# Pipenv setup | ||
> cd ./douglas-quaid/ | ||
> pipenv install --ignore-pipfile | ||
> | ||
> \# Setup your carlhauser path | ||
> export CARLHAUSER_HOME='/home/user/douglas-quaid' | ||
> PLEASE BE AWARE TO CHANGE THE PATH TO THE CURRENT INSTALLATION PATH. | ||
> THIS IS ABSOLUTELY REQUIRED FOR THE LIBRARY TO WORK ! | ||
### Dependencies | ||
|
||
#### TLSH | ||
> \# TLSH instructions | ||
> \# Go in the pipenv shell | ||
> pipenv shell | ||
> chmod +x ./tlsh_install.sh | ||
> sudo ./tlsh_install.sh | ||
#### Launch instruction | ||
#### Redis | ||
> \# Install system dependency | ||
> sudo apt-get install redis | ||
|
||
### Launch instruction | ||
From root folder : | ||
|
||
> cd ./lib_testing_area/ | ||
> python3 ./launcher.py | ||
#### Server side API | ||
> cd ./carlhauser_server | ||
> pipenv run python3 ./core.py | ||
OR | ||
> screen -S server-api pipenv run python3 ./core.py | ||
#### Client side API | ||
> cd ./carlhauser_client | ||
> pipenv run python3 ./core.py | ||
OR | ||
> screen -S client-api pipenv run python3 ./core.py |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
git clone https://github.com/trendmicro/tlsh | ||
cd ./tlsh | ||
./make.sh | ||
cd py_ext/ | ||
python3 ./setup.py build | ||
python3 ./setup.py install | ||
cd ../Testing | ||
./python_test.sh |