From b91334e5b3665676c0e1aa901e6599eb4ee59428 Mon Sep 17 00:00:00 2001 From: carlospolop Date: Sat, 24 May 2025 23:37:00 +0200 Subject: [PATCH] fix --- .../Info/NetworkInfo/InternetConnectivity.cs | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/winPEAS/winPEASexe/winPEAS/Info/NetworkInfo/InternetConnectivity.cs b/winPEAS/winPEASexe/winPEAS/Info/NetworkInfo/InternetConnectivity.cs index 3e07231..87bdfa1 100644 --- a/winPEAS/winPEASexe/winPEAS/Info/NetworkInfo/InternetConnectivity.cs +++ b/winPEAS/winPEASexe/winPEAS/Info/NetworkInfo/InternetConnectivity.cs @@ -12,6 +12,26 @@ using System.Threading; // ------------------------------------------------------------------ namespace winPEAS.Info.NetworkInfo { + public class InternetConnectivityInfo + { + public bool HttpAccess { get; set; } + public bool HttpsAccess { get; set; } + public bool LambdaAccess { get; set; } + public bool DnsAccess { get; set; } + public bool IcmpAccess { get; set; } + + public string HttpError { get; set; } + public string HttpsError { get; set; } + public string LambdaError { get; set; } + public string DnsError { get; set; } + public string IcmpError { get; set; } + + public string SuccessfulHttpIp { get; set; } + public string SuccessfulHttpsIp { get; set; } + public string SuccessfulDnsIp { get; set; } + public string SuccessfulIcmpIp { get; set; } + } + public static class InternetConnectivity { // 5 seconds expressed in *milliseconds* to avoid unit mistakes