From 39047a3a90c9cdc0cae16e2b0f90667e9dc80586 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 20 Oct 2021 14:21:10 +0300 Subject: [PATCH] Island: Remove the browser popup on the island launch in production These changes alter the run_server.bat to not throw a browser pop-up. These changes are needed to focus users attention to the command prompt. We plan to add interactivity to the prompt Fixes #1432 --- CHANGELOG.md | 3 ++- docs/content/setup/windows.md | 3 +++ monkey/monkey_island/windows/run_server.bat | 4 ++-- monkey/monkey_island/windows/run_server_py.bat | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf579837..13de7b8f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/). - Insecure access feature in the Monkey Island. #1418 - The "deployment" field from the server_config.json #1205 - The "Execution through module load" ATT&CK technique, - since it can no longer be exercise with current code #1416 + since it can no longer be exercise with current code. #1416 +- Browser window popup when Monkey Island starts on Windows. #1432 ### Fixed - Misaligned buttons and input fields on exploiter and network configuration diff --git a/docs/content/setup/windows.md b/docs/content/setup/windows.md index f629886fb..2a055de88 100644 --- a/docs/content/setup/windows.md +++ b/docs/content/setup/windows.md @@ -53,6 +53,9 @@ private certificate authority. ``` 1. Run the Monkey Island by clicking on the desktop shortcut. +1. Access the Monkey Island web UI by pointing your browser at + `https://localhost:5000`. + ## Troubleshooting ### Support diff --git a/monkey/monkey_island/windows/run_server.bat b/monkey/monkey_island/windows/run_server.bat index 5e5331a2e..9fb4291d9 100644 --- a/monkey/monkey_island/windows/run_server.bat +++ b/monkey/monkey_island/windows/run_server.bat @@ -1,3 +1,3 @@ -REM - Runs MongoDB Server & Monkey Island Server using built pyinstaller EXE - +REM - Runs Island server when user clicks on desktop shortcut or MonkeyIsland.exe in Windows - +REM - This file is called in \labs\InfectionMonkey\IslandStarter\MonkeyIsland\MonkeyIsland\MonkeyIsland.cpp - start windows\run_cc_exe.bat -start https://localhost:5000 diff --git a/monkey/monkey_island/windows/run_server_py.bat b/monkey/monkey_island/windows/run_server_py.bat index a727211ea..29e32aa75 100644 --- a/monkey/monkey_island/windows/run_server_py.bat +++ b/monkey/monkey_island/windows/run_server_py.bat @@ -1,3 +1,3 @@ -REM - Runs MongoDB Server & Monkey Island Server using python - +REM - Runs Monkey Island Server using python, only used in develop - pipenv run windows\run_cc.bat start https://localhost:5000