mirror of
https://github.com/its-a-feature/Mythic
synced 2026-06-08 14:55:38 +00:00
fix when installLocation is an ssh link
This commit is contained in:
@@ -305,7 +305,7 @@ func checkAgentVersions(agents []string, allAgents bool) error {
|
||||
agentUpdateMessages += fmt.Sprintf("[-] No tracked install location for %s, install again to start tracking location\n", agent)
|
||||
continue
|
||||
}
|
||||
if strings.HasPrefix(installLocation, "http") {
|
||||
if strings.HasPrefix(installLocation, "http") || strings.HasPrefix(installLocation, "git@") {
|
||||
// check a remote location
|
||||
targetInfoPieces := strings.Split(installLocation, ";")
|
||||
if len(targetInfoPieces) != 2 {
|
||||
|
||||
Reference in New Issue
Block a user