mirror of
https://github.com/Stone-Red-Code/ARP-Scanner.git
synced 2026-09-04 00:46:04 +02:00
Debug build
This commit is contained in:
+1
-1
@@ -42,4 +42,4 @@ apps:
|
|||||||
arp-scanner:
|
arp-scanner:
|
||||||
command: ARP-Scanner
|
command: ARP-Scanner
|
||||||
plugs:
|
plugs:
|
||||||
- network-control
|
- network-observe
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ internal static class Program
|
|||||||
{
|
{
|
||||||
mac = await Arp.LookupAsync(ipAddress);
|
mac = await Arp.LookupAsync(ipAddress);
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
ConsoleExt.WriteLine($"Failed to lookup MAC address for {ipAddress}: {ex.Message}", ConsoleColor.Red);
|
||||||
fail = true;
|
fail = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user