forked from p15670423/monkey
Build: Include install-infection-monkey-service.sh in the AppImage
This commit is contained in:
parent
6dfaf5ec74
commit
1c702b28ba
|
@ -38,6 +38,7 @@ setup_build_dir() {
|
|||
|
||||
copy_monkey_island_to_build_dir "$monkey_repo/monkey" "$BUILD_DIR"
|
||||
copy_server_config_to_build_dir
|
||||
copy_infection_monkey_service_to_build_dir
|
||||
modify_deployment "$deployment_type" "$BUILD_DIR"
|
||||
add_agent_binaries_to_build_dir "$agent_binary_dir" "$BUILD_DIR"
|
||||
|
||||
|
@ -64,6 +65,10 @@ setup_python_37_appdir() {
|
|||
rm "$PYTHON_APPIMAGE"
|
||||
}
|
||||
|
||||
copy_infection_monkey_service_to_build_dir() {
|
||||
cp "$APPIMAGE_DIR"/install-infection-monkey-service.sh "$APPDIR"
|
||||
}
|
||||
|
||||
copy_server_config_to_build_dir() {
|
||||
cp "$APPIMAGE_DIR"/server_config.json.standard "$BUILD_DIR"/monkey_island/cc/server_config.json
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue