Author SHA1 Message Date
Stone_Red 3263d1bdae Remove unnecessary plug from snapcraft.yaml 2024-01-03 00:41:43 +01:00
Stone_Red ab327d9312 Merge pull request #3 from Stone-Red-Code/develop
Fix linux active detection issue
2024-01-03 00:06:48 +01:00
Stone_Red 9da39c3731 Update package version 2024-01-03 00:06:15 +01:00
Stone_Red a8eaa849f2 Fix active detection on linux 2024-01-03 00:00:24 +01:00
Stone_Red 8e1f610928 Add "Follow the development" section to readme 2024-01-02 16:41:20 +01:00
Stone_Red a1f5e7fe05 Use new GitHub markdown to highlight note 2024-01-02 16:05:01 +01:00
4 changed files with 8 additions and 5 deletions
+5 -1
View File
@@ -11,7 +11,11 @@
- GitHub (Windows/Linux): https://github.com/Stone-Red-Code/ARP-Scanner/releases - GitHub (Windows/Linux): https://github.com/Stone-Red-Code/ARP-Scanner/releases
1. Start `arp-scanner` with the IP range it should scan as parameter (e.g. `192.168.1.0 - 192.168.1.255`) 1. Start `arp-scanner` with the IP range it should scan as parameter (e.g. `192.168.1.0 - 192.168.1.255`)
> Note: This programm may not work on all linux distributions because the [ArpLookup](https://github.com/georg-jung/ArpLookup) library has some [limitations](https://github.com/georg-jung/ArpLookup#supported-platforms) > [!Note]
> This programm may not work on all linux distributions because the [ArpLookup](https://github.com/georg-jung/ArpLookup) library has some [limitations](https://github.com/georg-jung/ArpLookup#supported-platforms)
## Follow the development
[![Twitter(X)](http://img.shields.io/badge/Twitter-black.svg?&logo=x&style=for-the-badge&logoColor=white)](https://twitter.com/search?q=%23ArpScanner%20%40StoneRedCode)
## Example ## Example
![ARP-Scanner-Example](https://user-images.githubusercontent.com/56473591/236293969-4e8a65d2-86a3-4f10-8837-2b1aa0490252.png) ![ARP-Scanner-Example](https://user-images.githubusercontent.com/56473591/236293969-4e8a65d2-86a3-4f10-8837-2b1aa0490252.png)
+1 -1
View File
@@ -40,7 +40,7 @@ enclosed in quotation marks, you should use an editor that supports UTF-8, not t
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's <!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's
possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version
number is final, that is considered a released version and not a prerelease. --> number is final, that is considered a released version and not a prerelease. -->
<version>0.2.0.0</version> <version>0.2.0.20240103</version>
<!-- <packageSourceUrl>Where is this Chocolatey package located (think GitHub)? packageSourceUrl <!-- <packageSourceUrl>Where is this Chocolatey package located (think GitHub)? packageSourceUrl
is highly recommended for the community feed</packageSourceUrl>--> is highly recommended for the community feed</packageSourceUrl>-->
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for <!-- owners is a poor name for maintainers of the package. It sticks around by this name for
+1 -2
View File
@@ -1,5 +1,5 @@
name: arp-scanner # you probably want to 'snapcraft register <name>' name: arp-scanner # you probably want to 'snapcraft register <name>'
version: "0.2.0.0" # just for humans, typically '1.2+git' or '1.3.2' version: "0.2.0.20240103" # just for humans, typically '1.2+git' or '1.3.2'
grade: stable # must be 'stable' to release into candidate/stable channels grade: stable # must be 'stable' to release into candidate/stable channels
summary: A lightweight cross-platform IP scanner # 79 char long summary summary: A lightweight cross-platform IP scanner # 79 char long summary
description: | description: |
@@ -42,5 +42,4 @@ apps:
arp-scanner: arp-scanner:
command: ARP-Scanner command: ARP-Scanner
plugs: plugs:
- network
- network-control - network-control
+1 -1
View File
@@ -55,7 +55,7 @@ internal static class Program
} }
long localProcessedIpAddressesCount = Interlocked.Increment(ref processedIpAddressesCount); long localProcessedIpAddressesCount = Interlocked.Increment(ref processedIpAddressesCount);
if (mac is not null) if (mac is not null && Array.Exists(mac.GetAddressBytes(), b => b != 0))
{ {
string formattedMac = BitConverter.ToString(mac.GetAddressBytes()); string formattedMac = BitConverter.ToString(mac.GetAddressBytes());