This commit is contained in:
Carlos Polop
2026-03-07 18:51:19 +01:00
parent c799a239b7
commit 2f923de45a
3 changed files with 53 additions and 6 deletions
@@ -6,8 +6,8 @@ using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
using System.Threading.Tasks;
using winPEAS.Checks;
using winPEAS.Helpers;
using WinPEASChecks = winPEAS.Checks.Checks;
namespace winPEAS.Info.NetworkInfo.NetworkScanner
{
@@ -68,7 +68,7 @@ namespace winPEAS.Info.NetworkInfo.NetworkScanner
{
// ICMP blocked, invalid address, or host unreachable — treat as down.
}
catch (Exception ex) when (Checks.IsDebug)
catch (Exception ex) when (WinPEASChecks.IsDebug)
{
Beaprint.PrintException($" [!] Ping error for {ip}: {ex.Message}");
}
@@ -1195,6 +1195,7 @@
<Compile Include="Checks\ISystemCheck.cs" />
<Compile Include="Checks\EventsInfo.cs" />
<Compile Include="Checks\NetworkInfo.cs" />
<Compile Include="Checks\NetworkScanCheck.cs" />
<Compile Include="Checks\ProcessInfo.cs" />
<Compile Include="Checks\ServicesInfo.cs" />
<Compile Include="Checks\SoapClientInfo.cs" />