From e839a1917712e8ae1549a5e4af72d4e89c55f74c Mon Sep 17 00:00:00 2001 From: Scott Sutherland Date: Thu, 7 Apr 2022 15:33:58 -0500 Subject: [PATCH] Update PowerHuntShares.psm1 --- PowerHuntShares.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index 995a18c..64b52b4 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2022 NetSPI # License: 3-clause BSD -# Version: v1.21 +# Version: v1.22 # dont use ping filter for 445, add custom user group option, and potentially identify groups that have large 20% of domain user members (make this configrable) # References: This script includes code taken and modified from the open source projects PowerView, Invoke-Ping, and Invoke-Parrell. function Invoke-HuntSMBShares @@ -1083,7 +1083,7 @@ function Invoke-HuntSMBShares # Return object $Object - } | sort SubnetAclCount + } | sort AclCount -Descending # Status User $Time = Get-Date -UFormat "%m/%d/%Y %R"