From 2656d021ae4be167bdd4e53e8d6db6c3117c9674 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 19 Nov 2019 12:46:46 +0200 Subject: [PATCH] CR improvement --- monkey/monkey_island/readme.md | 8 +++----- monkey/monkey_island/windows/create_certificate.bat | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/monkey/monkey_island/readme.md b/monkey/monkey_island/readme.md index b333dab94..5c15fc9a6 100644 --- a/monkey/monkey_island/readme.md +++ b/monkey/monkey_island/readme.md @@ -15,7 +15,7 @@ - `python -m pip install -r monkey_island\requirements.txt` 4. Setup mongodb (Use one of the following two options): - Place portable version of mongodb - 1. Download from: + 1. Download from: 2. Extract contents of bin folder to monkey_island\bin\mongodb. 3. Create monkey_island\db folder. @@ -24,7 +24,7 @@ 1. Run 'set MONKEY_MONGO_URL="mongodb://:27017/monkeyisland"'. Replace '' with address of mongo server 5. Place portable version of OpenSSL - - Download from: + - Download from: - Extract contents to monkey_island\bin\openssl 6. Download and install Microsoft Visual C++ redistributable for Visual Studio 2017 - Download and install from: @@ -51,10 +51,8 @@ 1. Get python 3.7 and pip if your linux distribution doesn't have it built in (following steps are for Ubuntu 16): - `sudo add-apt-repository ppa:deadsnakes/ppa` - `sudo apt-get update` - - `sudo apt install python3.7` - - `sudo apt install python3-pip` + - `sudo apt install python3.7 python3-pip python3.7-dev` - `python3.7 -m pip install pip` - - `sudo apt-get install python3.7-dev` 2. Install required packages: - `sudo apt-get install libffi-dev upx libssl-dev libc++1 openssl` 3. Create the following directories in monkey island folder (execute from ./monkey): diff --git a/monkey/monkey_island/windows/create_certificate.bat b/monkey/monkey_island/windows/create_certificate.bat index 0af3e9960..645c6fa25 100644 --- a/monkey/monkey_island/windows/create_certificate.bat +++ b/monkey/monkey_island/windows/create_certificate.bat @@ -14,5 +14,5 @@ copy "%mydir%windows\openssl.cfg" "%mydir%bin\openssl\openssl.cfg" @echo on "%mydir%bin\openssl\openssl.exe" genrsa -out "%mydir%cc\server.key" 1024 -"%mydir%bin\openssl\openssl.exe" req -new -config "%mydir%bin\openssl\openssl.cfg" -key "%mydir%cc\server.key" -out "%mydir%cc\server.csr" -subj "/C=GB/ST=London/L=London/O=Global Security/OU=Monkey Department/CN=monkey.com" -"%mydir%bin\openssl\openssl.exe" x509 -req -days 366 -in "%mydir%cc\server.csr" -signkey "%mydir%cc\server.key" -out "%mydir%cc\server.crt" \ No newline at end of file +"%mydir%bin\openssl\openssl.exe" req -new -config "%mydir%bin\openssl\openssl.cfg" -key "%mydir%cc\server.key" -out "%mydir%cc\server.csr" -subj "/OU=Monkey Department/CN=monkey.com" +"%mydir%bin\openssl\openssl.exe" x509 -req -days 366 -in "%mydir%cc\server.csr" -signkey "%mydir%cc\server.key" -out "%mydir%cc\server.crt"