You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having two steps, one where you select the option and the second one where you select the step we could have the following behaviour:
No options list and we just list the attack horizon/surface, as we do right now after an attack step is compromised. If the user inputs one of the valid numbers it compromises that step, as when you select (2).
If the input is just empty(the user pressed enter) print the attack horizon again, same as (1) right now.
We don't need to really worry about an exit function, but if we want to you can add it as a numbered option after all of the attack steps or maybe a -1.
When selecting a value that isn't one of the potential attack steps(for example selecting 13 when the available list is 1-8, or exit in case we implement the previous point) there should be a printed warning message that an invalid option was picked and then it should revert back to the user input. Right now it just crashes with an out of bounds error, which isn't great because that stops the entire traversal.
The text was updated successfully, but these errors were encountered:
Instead of having two steps, one where you select the option and the second one where you select the step we could have the following behaviour:
The text was updated successfully, but these errors were encountered: