diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1
index 5fa0171..51746e4 100644
--- a/PowerHuntShares.psm1
+++ b/PowerHuntShares.psm1
@@ -4,7 +4,7 @@
#--------------------------------------
# Author: Scott Sutherland, 2024 NetSPI
# License: 3-clause BSD
-# Version: v1.71
+# Version: v1.72
# References: This script includes custom code and code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell.
function Invoke-HuntSMBShares
{
@@ -1579,15 +1579,19 @@ function Invoke-HuntSMBShares
$ThisFileCount = $ThisFileBars.FileCount
$ThisFileShareCount = $ThisFileBars.Sharecount
$ThisFileShareNameList = $ExcessiveSharePrivs | where FileListGroup -eq $FileGroupName | select ShareName -unique -expandproperty sharename | foreach { "$_
"}
+ $ThisFileShareNameListUniqueCount = $ThisFileShareNameList | measure | select count -ExpandProperty count
$ThisRow = @"
Affected Shares | +Unique Share Name Count | +Affected Share Count | File Group | File Count | Affected Computers | -Affected Shares | -Affected ACLs | +Affected Shares | +Affected ACLs |
---|