-
Notifications
You must be signed in to change notification settings - Fork 807
Configuration UI improvements #707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ed it in a way that allows to define all advanced selector properties on config_schema.py
…iption (because advanced multi select has title and description built in)
… title from description
…ation_improvements # Conflicts: # monkey/monkey_island/cc/ui/package-lock.json
…chieved by removing all exploiters.
…ation_improvements # Conflicts: # monkey/monkey_island/cc/ui/package-lock.json
…ation_improvements
…s->General to Exploits->Exploiters
… "Behaviour" renamed to "Post breach" in config
…reased "victims_max_exploit" default to 100
Now can use whitespace
…m/guardicore/monkey into feature/configuration_improvement
…m/guardicore/monkey into feature/configuration_improvements
…ation_improvements
…ation_improvements
Codecov Report
@@ Coverage Diff @@
## develop #707 +/- ##
===========================================
+ Coverage 59.85% 60.04% +0.19%
===========================================
Files 147 157 +10
Lines 4795 4818 +23
===========================================
+ Hits 2870 2893 +23
Misses 1925 1925
Continue to review full report at Codecov.
|
"Password1!", | ||
"1234", | ||
"password", | ||
"12345678" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Password1!", | |
"1234", | |
"password", | |
"12345678" | |
"Password1!", | |
"password", | |
"root", | |
"12345678", | |
"qwerty", | |
"iloveyou" |
Probably time to update the default passwords list? Just an idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, updated a bit. Shame that we have limited brute forcing capabilities due to performance and noise generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small comments, and some more that that came up while testing:
Unsubmitted changes
When clicking on the tabs after unchanged changes I don't get a warning for unsubmitted changes UNTIL I click on the ATT&CK tab.
Validation in the network tab
Warning format
We should make the warning grammatically correct (start with a capital letter, end with .
).
Validation misses
123.123.123
/1.123.1
match for ip-range
validation.
'^'+ipRegex+'$|', // Single IP | ||
'^'+ipRegex+'-'+ipRegex+'$|', // IP range IP-IP | ||
'^'+ipRegex+'/'+cidrNotationRegex+'$|', // IP range with cidr notation: IP/cidr | ||
hostnameRegex, // IP range with cidr notation: IP/cidr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy-pasta documentation
return (<div className='alert alert-info'> | ||
<FontAwesomeIcon icon={faInfoCircle} style={{'marginRight': '5px'}}/> | ||
The Monkey scans its subnet if 'Local network scan' is ticked. Additionally the monkey scans machines | ||
according to its range class. | ||
The Monkey scans its subnet if "Local network scan" is ticked. Additionally the monkey scans machines | ||
according to "Scan target list". | ||
</div>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move this warning into the "scope" section of the configuration page. It's out of place at the top of the page.
@@ -0,0 +1,21 @@ | |||
const ipRegex = '((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
monkey\monkey\monkey_island\cc\ui\src\components\configuration-components\ValidationFormats.js
1:57 warning Unnecessary escape character: \. no-useless-escape
…/sections. Moved network warning under "Scope"
…ent' into feature/configuration_improvements # Conflicts: # monkey/monkey_island/cc/ui/src/components/configuration-components/ValidationFormats.js
What is this?
Fixes #637
Checklist
Ask Shreya to add descriptions to PBA's she added.
Synch links with new documentation framework.
Instead of "Basic - ..." we should highlight essential tabs with green colour (DONE)
Create an advanced selector, that allows to select/deselect on click. On click
information about clicked property is shown in selectors info pane. Advanced selector
also has space for custom buttons. (DONE)
Basic - Exploits
General
Basic - Network
General
Monkey
Behaviour
General
what each post breach action does. (DONE)
Lifecycle
System info
Monkey Island
Servers
which is a reasonable default. "Current server" is also chosen automatically/doesn't matter. (DONE)
Internet services
Network
Exploits
General
Exploits
that de-selects all exploiters. (DONE)
Internal
Proof that it works