mirror of
https://github.com/Stone-Red-Code/ARP-Scanner.git
synced 2026-09-04 00:46:04 +02:00
@@ -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>1.1.0.0</version>
|
<version>1.1.0.20250627</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
-1
@@ -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: "1.1.0.0" # just for humans, typically '1.2+git' or '1.3.2'
|
version: "1.1.0.20250627" # 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: |
|
||||||
|
|||||||
@@ -7,14 +7,15 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||||
|
<Version>1.1.0.20250627</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ArpLookup" Version="2.0.3" />
|
<PackageReference Include="ArpLookup" Version="2.0.3" />
|
||||||
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
||||||
<PackageReference Include="CuteUtils" Version="1.0.0" />
|
<PackageReference Include="CuteUtils" Version="1.1.1" />
|
||||||
<PackageReference Include="Humanizer" Version="2.14.1" />
|
<PackageReference Include="Humanizer" Version="2.14.1" />
|
||||||
<PackageReference Include="IPAddressRange" Version="6.0.0" />
|
<PackageReference Include="IPAddressRange" Version="6.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -187,7 +187,10 @@ internal static class Program
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_ = Directory.CreateDirectory(Path.GetDirectoryName(jsonPath) ?? string.Empty);
|
if (!string.IsNullOrWhiteSpace(Path.GetDirectoryName(jsonPath)))
|
||||||
|
{
|
||||||
|
_ = Directory.CreateDirectory(Path.GetDirectoryName(jsonPath)!);
|
||||||
|
}
|
||||||
|
|
||||||
string json = JsonSerializer.Serialize(JsonResult.Parse([.. activeHosts], previouslyActiveHosts), jsonSerializerOptions);
|
string json = JsonSerializer.Serialize(JsonResult.Parse([.. activeHosts], previouslyActiveHosts), jsonSerializerOptions);
|
||||||
File.WriteAllText(jsonPath, json);
|
File.WriteAllText(jsonPath, json);
|
||||||
@@ -216,7 +219,11 @@ internal static class Program
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_ = Directory.CreateDirectory(Path.GetDirectoryName(csvPath) ?? string.Empty);
|
if (!string.IsNullOrWhiteSpace(Path.GetDirectoryName(csvPath)))
|
||||||
|
{
|
||||||
|
_ = Directory.CreateDirectory(Path.GetDirectoryName(csvPath)!);
|
||||||
|
}
|
||||||
|
|
||||||
File.WriteAllLines(csvPath, activeHostsTable.Select(row => string.Join(",", row)));
|
File.WriteAllLines(csvPath, activeHostsTable.Select(row => string.Join(",", row)));
|
||||||
|
|
||||||
if (!options.Silent)
|
if (!options.Silent)
|
||||||
|
|||||||
Reference in New Issue
Block a user