Commit c91ae65
cmd/root.go
@@ -8,16 +8,16 @@ import (
)
var (
- mythicURL string
- token string
- insecure bool
- socksProxy string
+ mythicURL string
+ token string
+ insecure bool
+ socksProxy string
)
var rootCmd = &cobra.Command{
Use: "mysh",
Short: "A CLI tool for interacting with Mythic C2 framework",
- Long: `mysh (pronounced mɪʃ) is a command-line interface for interacting with the Mythic C2 framework.
+ Long: `mysh (pronounced mɪʃh) is a command-line interface for interacting with the Mythic C2 framework.
It provides programmatic access to Mythic operations, replacing the need for UI interactions.`,
}
@@ -33,7 +33,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&token, "token", "", "JWT authentication token")
rootCmd.PersistentFlags().BoolVar(&insecure, "insecure", true, "Skip TLS certificate verification")
rootCmd.PersistentFlags().StringVar(&socksProxy, "socks", "", "SOCKS5 proxy address (e.g., 127.0.0.1:9050)")
-
+
// Set default URL from environment if available
if urlEnv := os.Getenv("MYTHIC_API_URL"); urlEnv != "" {
mythicURL = urlEnv
@@ -58,4 +58,5 @@ func validateConfig() error {
return fmt.Errorf("authentication token is required. Use --token flag or set MYTHIC_API_TOKEN environment variable")
}
return nil
-}
\ No newline at end of file
+}
+
README.md
@@ -1,9 +1,11 @@
-# `mysh` (pronounced mɪʃ)
+# `mysh`
+
+`mysh` (pronounced mɪʃh) is a cli interface to mythic c2 server
## project goals
For each lab we're going to be instructed to click on the mythic user interface - yuck.
-This project is focused on creating a golang CLI application called `mysh` (pronounced mɪʃ) to accomplish the same tasks.
+This project is focused on creating a golang CLI application called `mysh` to accomplish the same tasks.
## resources
TODO.md
@@ -1,5 +1,5 @@
- ✅ grep should also look at the command execution strings too, not just output
-- ✅ Renamed project from go-mythic to mysh (pronounced mɪʃ)
+- ✅ Renamed project from go-mythic to mysh (pronounced mɪʃh)
- forge equivalency with execute_assembly and inline_assembly
- task-list --all (same as --limit 0)
USAGE.md
@@ -1,4 +1,4 @@
-# mysh (pronounced mɪʃ) Usage Examples
+# `mysh` Usage Examples
## Building