From f3520f94397b2cd9693e45074cee9509ca51fea6 Mon Sep 17 00:00:00 2001 From: Scott Sutherland Date: Thu, 18 Jul 2024 09:17:00 -0500 Subject: [PATCH] Update PowerHuntShares.psm1 Added sorting on folder group table. --- PowerHuntShares.psm1 | 151 ++++++++++++++++++++++++++----------------- 1 file changed, 92 insertions(+), 59 deletions(-) diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index 51746e4..480790a 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2024 NetSPI # License: 3-clause BSD -# Version: v1.72 +# Version: v1.73 # 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 { @@ -5146,7 +5146,7 @@ This section lists the most common share owners. @@ -5159,16 +5159,16 @@ Folder groups are SMB shares that contain the exact same file listing. Each file
- +
- - - - - - - + + + + + + + @@ -5629,63 +5629,96 @@ Invoke-HuntSMBShares -Threads 20 -RunSpaceTimeOut 10 -OutputDirectory c:\folder\
Unique Share Name CountAffected Share CountFile GroupFile CountAffected ComputersAffected SharesAffected ACLsUnique Share Name CountAffected Share CountFile GroupFile CountAffected ComputersAffected SharesAffected ACLs