From 7403bf14faba7e8ffb851232c2187656b0684ac3 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 4 Aug 2020 15:03:03 +0300 Subject: [PATCH 1/5] Update homepage look and feel --- .../ui/src/components/pages/RunServerPage.js | 67 ++++++++++++++----- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RunServerPage.js b/monkey/monkey_island/cc/ui/src/components/pages/RunServerPage.js index 005441df7..bb713c5bc 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RunServerPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RunServerPage.js @@ -1,6 +1,9 @@ import React from 'react'; -import {Col} from 'react-bootstrap'; +import {Col, Row} from 'react-bootstrap'; import {Link} from 'react-router-dom'; +import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; +import {faPlayCircle} from '@fortawesome/free-regular-svg-icons'; +import {faBookOpen, faCogs} from '@fortawesome/free-solid-svg-icons'; class RunServerPageComponent extends React.Component { constructor(props) { @@ -12,23 +15,15 @@ class RunServerPageComponent extends React.Component { -

1. Monkey Island Server

+

Welcome to the Monkey Island Server

-

Congrats! You have successfully set up the Monkey Island - server. 👏 👏

-

- The Infection Monkey is an open source security tool for testing a data center's resiliency to perimeter - breaches and internal server infections. - The Monkey uses various methods to propagate across a data - center and reports to this Monkey Island Command and Control server. -

-

- To read more about the Monkey, visit infectionmonkey.com -

-

- Go ahead and run the monkey. +

+ Congratulations! You have successfully set up the Monkey Island server. 👏 👏

+
+ +
+
); @@ -36,3 +31,43 @@ class RunServerPageComponent extends React.Component { } export default RunServerPageComponent; + +function HomepageCallToActions() { + return ( +
+
+ +
+ +

Run Monkey

+

Run the Monkey with the current configuration.

+ +
+
+ +

Configure Monkey

+

Edit targets, add credentials, choose exploits and more.

+ +
+
+ +

Read more

+

Visit our homepage for more information.

+
+
+
+
+
+ ); +} + +function MonkeyInfo() { + return ( + <> +

What is Infection Monkey?

+ Infection Monkey is an open-source security tool for testing a data center's resiliency to perimeter + breaches and internal server infections. The Monkey uses various methods to propagate across a data center + and reports to this Monkey Island Command and Control server. + + ); +} From 86364ddb8c89109a1a6ebb6d2b9176883f2dbcd4 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 4 Aug 2020 15:03:55 +0300 Subject: [PATCH 2/5] Update Side NavBar Removed a useless step from the process, added link to documentation --- .../cc/ui/src/components/SideNavComponent.js | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js index 52fb3fb4e..d0dae0ef9 100644 --- a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js +++ b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.js @@ -1,12 +1,13 @@ -import logoImage from '../images/monkey-icon.svg'; -import infectionMonkeyImage from '../images/infection-monkey.svg'; +import React from 'react'; import {NavLink} from 'react-router-dom'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck'; import {faUndo} from '@fortawesome/free-solid-svg-icons/faUndo'; +import {faExternalLinkAlt} from '@fortawesome/free-solid-svg-icons'; import guardicoreLogoImage from '../images/guardicore-logo.png'; +import logoImage from '../images/monkey-icon.svg'; +import infectionMonkeyImage from '../images/infection-monkey.svg'; import VersionComponent from './side-menu/VersionComponent'; -import React from 'react'; class SideNavComponent extends React.Component { @@ -14,24 +15,17 @@ class SideNavComponent extends React.Component { render() { return ( <> -
- logo - Infection Monkey -
+ +
+ logo + Infection Monkey +
+