Fixing
This commit is contained in:
parent
0b5df4f058
commit
0418dcefc0
@ -72,7 +72,7 @@ func PerformZoneTransfer(config config.Config) []string {
|
||||
}
|
||||
}
|
||||
}
|
||||
fmt.Println(data)
|
||||
// fmt.Println(data)
|
||||
// resultsToJSON(data)
|
||||
|
||||
return data
|
||||
|
@ -32,9 +32,9 @@ func CreateShellAliases(data []string, username string, config config.Config) {
|
||||
message := fmt.Sprintf("%vecho \"Authenticating as: %v\";%v", greentext, remoteUser, resettext)
|
||||
|
||||
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 {
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user