diff --git a/peirates.go b/peirates.go index cffd966..5dfac6f 100644 --- a/peirates.go +++ b/peirates.go @@ -274,7 +274,8 @@ func banner(connectionString ServerInfo, detectCloud string, eth0IP string, awsC panic(err) } - printBanner(interactive) + // Experiment with removing the banner except when program first started. + // printBanner(interactive) if connectionString.Token != "" { @@ -283,14 +284,17 @@ func banner(connectionString ServerInfo, detectCloud string, eth0IP string, awsC if connectionString.ClientCertData != "" { fmt.Println("[+] Client Certificate/Key Pair Loaded:", connectionString.ClientCertName) } - var haveCa bool = false - if connectionString.CAPath != "" { - haveCa = true - } - fmt.Printf("[+] Certificate Authority Certificate : %t\n", haveCa) - if len(connectionString.APIServer) > 0 { - fmt.Println("[+] Kubernetes API Server :", connectionString.APIServer) - } + // Experiment with removing some status lines... + + // var haveCa bool = false + // if connectionString.CAPath != "" { + // haveCa = true + // } + // fmt.Printf("[+] Certificate Authority Certificate : %t\n", haveCa) + + // if len(connectionString.APIServer) > 0 { + // fmt.Println("[+] Kubernetes API Server :", connectionString.APIServer) + // } if len(connectionString.Namespace) > 0 { fmt.Println("[+] Current hostname/pod name :", name) fmt.Println("[+] Current namespace :", connectionString.Namespace)