This commit is contained in:
Matt Burchett 2018-12-04 14:32:02 -06:00
parent 1f0b9f013c
commit d6b5d7c2ed

View File

@ -45,6 +45,8 @@ func CreateShellAliases(data []string, username string, config config.Config) {
if osFamily[1] == "ESXi" { if osFamily[1] == "ESXi" {
sudo = "" sudo = ""
remoteUser = "root" remoteUser = "root"
} else if osFamily[1] == "Ubiquiti" {
sudo = ""
} else if osFamily[1] == "Windows" { } else if osFamily[1] == "Windows" {
prerac = fmt.Sprintf("%vecho \"Password: \"; %v", redtext, resettext) prerac = fmt.Sprintf("%vecho \"Password: \"; %v", redtext, resettext)
hop = "ssh -XCAT" hop = "ssh -XCAT"