private static string DigLikeThereIsNoTomorrow() { bool isHighIntegrity = Utils.IsHighIntegrity(); string findings = ""; findings += McAfee.Dig(isHighIntegrity); findings += GPP.Dig(); findings += Unattended.Dig(); findings += PSReadLine.Dig(isHighIntegrity); findings += AWS.Dig(isHighIntegrity); findings += Azure.Dig(isHighIntegrity); findings += GCP.Dig(isHighIntegrity); findings += RDP.Dig(isHighIntegrity); findings += PuTTY.Dig(isHighIntegrity); findings += SuperPuTTY.Dig(isHighIntegrity); findings += WinSCP.Dig(isHighIntegrity); findings += FileZilla.Dig(isHighIntegrity); findings += VNC.Dig(isHighIntegrity); findings += TeamViewer.Dig(); findings += PulseSecure.Dig(); if (string.IsNullOrEmpty(findings)) { return("\nDid not find anything :(\n"); } else { return(findings); } }
void PrintUnattendFiles() { try { Beaprint.MainPrint("Unattend Files"); //Beaprint.LinkPrint(""); List <string> unattended_files = Unattended.GetUnattendedInstallFiles(); foreach (string path in unattended_files) { List <string> pwds = Unattended.ExtractUnattendedPwd(path); Beaprint.BadPrint(" " + path); System.Console.WriteLine(string.Join("\n", pwds)); } } catch (Exception ex) { Beaprint.PrintException(ex.Message); } }