This commit is contained in:
Matt Burchett 2018-11-30 14:21:31 -06:00
parent 0b5df4f058
commit 0418dcefc0
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ func PerformZoneTransfer(config config.Config) []string {
} }
} }
} }
fmt.Println(data) // fmt.Println(data)
// resultsToJSON(data) // resultsToJSON(data)
return data return data

View File

@ -32,9 +32,9 @@ func CreateShellAliases(data []string, username string, config config.Config) {
message := fmt.Sprintf("%vecho \"Authenticating as: %v\";%v", greentext, remoteUser, resettext) message := fmt.Sprintf("%vecho \"Authenticating as: %v\";%v", greentext, remoteUser, resettext)
if txt == "" { if txt == "" {
fmt.Printf("alias %v=\\'%v%v%v %v@%v \"%v %v %v %v %v\"'", host, message, prerac, hop, username, jump, rac, racOpts, remoteUser, fqdn, sudo) fmt.Printf("alias %v=\\'%v%v%v %v@%v \"%v %v %v %v %v\"'\n", host, message, prerac, hop, username, jump, rac, racOpts, remoteUser, fqdn, sudo)
} else { } else {
fmt.Printf("alias %v=\\'%v%v%v %v@%v \"%v %v %v %v %v\"'", host, message, prerac, hop, username, jump, rac, racOpts, remoteUser, fqdn, sudo) fmt.Printf("alias %v=\\'%v%v%v %v@%v \"%v %v %v %v %v\"'\n", host, message, prerac, hop, username, jump, rac, racOpts, remoteUser, fqdn, sudo)
} }
} }
} }