2018-12-10 19:08:59 +08:00
|
|
|
# Absolute monkey's path
|
|
|
|
$MONKEY_FOLDER_NAME = "infection_monkey"
|
|
|
|
# Url of public git repository that contains monkey's source code
|
2020-04-17 06:04:40 +08:00
|
|
|
$MONKEY_REPO = "guardicore/monkey"
|
2018-12-10 19:08:59 +08:00
|
|
|
$MONKEY_GIT_URL = "https://github.com/guardicore/monkey"
|
2020-02-03 16:32:34 +08:00
|
|
|
$MONKEY_RELEASES_URL = $MONKEY_GIT_URL + "/releases"
|
2020-04-17 06:04:40 +08:00
|
|
|
$MONKEY_API_RELEASES_URL = "https://api.github.com/repos/$MONKEY_REPO/releases"
|
|
|
|
$MONKEY_LATEST_VERSION = (Invoke-WebRequest $MONKEY_API_RELEASES_URL | ConvertFrom-Json)[0].tag_name
|
2020-02-03 17:15:46 +08:00
|
|
|
$MONKEY_DOWNLOAD_URL = $MONKEY_RELEASES_URL + "/download/" + $MONKEY_LATEST_VERSION + "/"
|
2018-12-10 19:08:59 +08:00
|
|
|
# Link to the latest python download or install it manually
|
2020-07-14 16:15:43 +08:00
|
|
|
$PYTHON_URL = "https://www.python.org/ftp/python/3.7.7/python-3.7.7-amd64.exe"
|
2020-02-03 16:32:34 +08:00
|
|
|
|
2018-12-10 19:08:59 +08:00
|
|
|
|
|
|
|
# Monkey binaries
|
2020-02-03 16:32:34 +08:00
|
|
|
$LINUX_32_BINARY_URL = $MONKEY_DOWNLOAD_URL + "monkey-linux-32"
|
2018-12-10 19:08:59 +08:00
|
|
|
$LINUX_32_BINARY_PATH = "monkey-linux-32"
|
2020-02-03 16:32:34 +08:00
|
|
|
$LINUX_64_BINARY_URL = $MONKEY_DOWNLOAD_URL + "monkey-linux-64"
|
2018-12-10 19:08:59 +08:00
|
|
|
$LINUX_64_BINARY_PATH = "monkey-linux-64"
|
2020-02-03 16:32:34 +08:00
|
|
|
$WINDOWS_32_BINARY_URL = $MONKEY_DOWNLOAD_URL + "monkey-windows-32.exe"
|
2018-12-10 19:08:59 +08:00
|
|
|
$WINDOWS_32_BINARY_PATH = "monkey-windows-32.exe"
|
2020-02-03 16:32:34 +08:00
|
|
|
$WINDOWS_64_BINARY_URL = $MONKEY_DOWNLOAD_URL + "monkey-windows-64.exe"
|
2018-12-10 19:08:59 +08:00
|
|
|
$WINDOWS_64_BINARY_PATH = "monkey-windows-64.exe"
|
2020-02-03 16:32:34 +08:00
|
|
|
$SAMBA_32_BINARY_URL = $MONKEY_DOWNLOAD_URL + "sc_monkey_runner32.so"
|
|
|
|
$SAMBA_32_BINARY_NAME = "sc_monkey_runner32.so"
|
|
|
|
$SAMBA_64_BINARY_URL = $MONKEY_DOWNLOAD_URL + "sc_monkey_runner64.so"
|
2018-12-10 19:08:59 +08:00
|
|
|
$SAMBA_64_BINARY_NAME = "sc_monkey_runner64.so"
|
2020-02-03 16:32:34 +08:00
|
|
|
$TRACEROUTE_64_BINARY_URL = $MONKEY_DOWNLOAD_URL + "traceroute64"
|
|
|
|
$TRACEROUTE_32_BINARY_URL = $MONKEY_DOWNLOAD_URL + "traceroute32"
|
2018-12-10 19:08:59 +08:00
|
|
|
|
|
|
|
# Other directories and paths ( most likely you dont need to configure)
|
2020-02-03 16:32:34 +08:00
|
|
|
$MONKEY_ISLAND_DIR = Join-Path "\monkey" -ChildPath "monkey_island"
|
|
|
|
$MONKEY_DIR = Join-Path "\monkey" -ChildPath "infection_monkey"
|
2020-10-02 22:40:50 +08:00
|
|
|
$SCOUTSUITE_DIR = Join-Path "\monkey" "common" "cloud" "scoutsuite"
|
2019-10-02 15:15:53 +08:00
|
|
|
$SAMBA_BINARIES_DIR = Join-Path -Path $MONKEY_DIR -ChildPath "\bin"
|
|
|
|
$TEMP_PYTHON_INSTALLER = ".\python.exe"
|
2018-12-10 19:08:59 +08:00
|
|
|
$TEMP_MONGODB_ZIP = ".\mongodb.zip"
|
|
|
|
$TEMP_OPEN_SSL_ZIP = ".\openssl.zip"
|
2019-10-07 14:53:18 +08:00
|
|
|
$TEMP_CPP_INSTALLER = "cpp.exe"
|
2018-12-10 19:08:59 +08:00
|
|
|
$TEMP_NPM_INSTALLER = "node.msi"
|
2019-10-07 14:53:18 +08:00
|
|
|
$TEMP_UPX_ZIP = "upx.zip"
|
2020-02-03 16:32:34 +08:00
|
|
|
$UPX_FOLDER = "upx-3.96-win64"
|
2018-12-10 19:08:59 +08:00
|
|
|
|
|
|
|
# Other url's
|
2020-02-03 16:32:34 +08:00
|
|
|
$MONGODB_URL = "https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-v4.2-latest.zip"
|
|
|
|
$OPEN_SSL_URL = "https://indy.fulgan.com/SSL/openssl-1.0.2u-x64_86-win64.zip"
|
2019-10-07 14:53:18 +08:00
|
|
|
$CPP_URL = "https://go.microsoft.com/fwlink/?LinkId=746572"
|
2020-02-03 16:32:34 +08:00
|
|
|
$NPM_URL = "https://nodejs.org/dist/v12.14.1/node-v12.14.1-x64.msi"
|
|
|
|
$UPX_URL = "https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip"
|