private string GetWebServer(string Banner) { try { FingerPrinter fingerprint = new FingerPrinter(); fingerprint.ReadText(); return(fingerprint.GetWebServer(Banner)); } catch (Exception Ex) { Console.WriteLine("Fehler bei GeWebserverbanner" + Ex); return("unknown Web Server"); } }
private string GetWebServer(string Banner) { try { FingerPrinter fingerprint = new FingerPrinter(); fingerprint.ReadText(); return fingerprint.GetWebServer(Banner); } catch (Exception Ex) { Console.WriteLine("Fehler bei GeWebserverbanner" + Ex); return "unknown Web Server"; } }