diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index bc76aa6..0b4d39a 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2024 NetSPI # License: 3-clause BSD -# Version: v1.41 +# Version: v1.42 # 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 { @@ -1628,8 +1628,8 @@ function Invoke-HuntSMBShares $MyFdListBr = $MyFdList -replace "`n", "
" $ThisFileDirList = @" - ($fdcount) $fdname - + $fdcount $fdname +
$MyFdListBr @@ -1649,11 +1649,14 @@ function Invoke-HuntSMBShares $ShareName - $ShareFolderGroupCount + + +
+
+ $ShareFolderGroupList +
+
- - $ShareFolderGroupList - $ComputerBar @@ -2264,6 +2267,19 @@ $NewHtmlReport = @" width: 90% } + .filelistparent { + font-size: 14; + font-family:"Open Sans", sans-serif; + color:#666; + --background-color:white; + border-radius: 0px; + padding: 5px; + margin-top: 5px; + margin-right: 5px; + margin-bottom: 5px; + width: 90% + } + .tablecolinfo { font-size: 14; font-family:"Open Sans", sans-serif; @@ -3609,7 +3625,6 @@ This section contains a list of the most common SMB share names. In some cases, Share Count Share Name Unique Folder Group Count - Unique Folder Groups Affected Computers Affected Shares Affected ACLs @@ -4159,7 +4174,8 @@ for (i = 0; i < coll.length; i++) { if (content.style.maxHeight){ content.style.maxHeight = null; } else { - content.style.maxHeight = content.scrollHeight + "px"; + content.style.Height = content.scrollHeight + "px"; + content.style.maxHeight = "100%"; } }); }