-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
[UX Feedback] Keyboard Control Behavior and More #324
Comments
Mythic used to have this actually, but it very quickly became a headache to maintain as the potential scenarios became unmanageable. For example, people would start typing, have that popup appear with possible commands, but your cursor would also happen to be in that area. You now hit enter to select an option, but do you select the top most one or what the user has hovered (intentionally or not). Scenarios like that (which actually happen) made it too annoying to be worth the effort. The new version works similarly to a CLI where you start typing, hit tab, and you can see matching options that you cycle through. In the next release I will add in the shift+tab and keeping the cursor at the end.
So this one kind of depends. If your
I'm not quite sure I'm following what you mean here. Can you attach screenshots so I can see what you mean?
Right now the CLI's auto-complete feature doesn't allow you to auto-complete parameter values, only parameter names. Those "assemblies" that you're seeing in the modal window are dynamically generated by calling a function that the agent author provides. It's not something Mythic knows ahead of time.
to arbitrary host a file in Mythic, click the paperclip files icon at the top. That'll take you to the page for all file-based management (uploads, downloads, screenshots, filebrowser, etc). There's a button there to host a file. That being said, if you want to upload a file there and have it be available in something like that |
That's true, when you do not validate if the mouse has been moved after the last keystroke. As a solution that fits both needs the following would be possible:
The current autocompletion that you mention does work like Powershell. That might be a matter of taste, as I prefer to see all matching options the the letters I already typed (like bash and zsh do it). Depends on your team of course. :)
Makes sense. I think I would have to find some edge cases in order to provide more feedback on this one. Maybe on my next engagement!
I will do, as soon as I'm back from vacation 👍 Essentially there are two top bars at the moment, depending which part of the webinterface you browse.
I'm sure it knows this information ahead of time as the dotnet assemblies show up, when I press shift+enter (the binaries are listed there). If this is parsed ad-hoc it could also be loaded e.g. on page load, right? When I upload dotnet assemblies via the paperclip, they will not be registered for the auto completion in the "shft+enter"-menu. However, this will work, when I register a binary via ˋregister_assemblyˋ. |
@its-a-feature Regarding the screenshots: Also on several parts the second menu is just not available and lastly the currently active pane is only highlighted in the second bar, but not in your icon list (the top bar). I find the bottom bar more intuitive as the names are always visible and the currently active view is also highlighted: If you like we can also talk any time. |
Hey there!
Just tried the C2 UI out and I found some stuff that can be improved, if you like to 😊
tabs
but notshift-tabs
. This would allow to go back in the flags, if one skipped over the desired itemexecute-assembly -Assembly seatbelt.exe -arguments -this -looks -confusing -to -me 5
I can imagine this is hell for the parser. Ideas for this would be -- separation or quotes like
execute-assembly seatbelt.exe -- -this -looks -confusing -to -me 5
orexecute-assembly -Assembly seatbelt.exe -arguments "-this -looks -confusing -to -me 5"
I like the first option more, as it feels more cli like. However, user must be made aware of this usage 😅
-assembly
with tab, then press space and presstab
again to see the available payloads. What happens though?-assembly
😀 As the payloads are available to theshift-enter
menu it makes sense to have the assemblies available to the cli auto completion as well. :)sekurlsa::logonpasswords
for mimikatz. Just thinking of nice additions to the UI here.I hope my feedback makes sense to you 😄
Thanks again for the excellent presentation at your booth at Black Hat.
The text was updated successfully, but these errors were encountered: