From bc059c8316243a0644be4056772cc6723147dbe0 Mon Sep 17 00:00:00 2001 From: Scott Sutherland Date: Wed, 9 Oct 2024 07:27:58 -0500 Subject: [PATCH] Update PowerHuntShares.psm1 Small menu & color updates. --- PowerHuntShares.psm1 | 333 ++++++++++++++++++++++--------------------- 1 file changed, 171 insertions(+), 162 deletions(-) diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index 5cb0c29..0c23395 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2024 NetSPI # License: 3-clause BSD -# Version: v1.152 +# Version: v1.153 # 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 { @@ -4613,7 +4613,7 @@ $NewHtmlReport = @" -webkit-appearance: none; width: 16px; height: 16px; - background: #07142A; + background: #345367; border-radius: 50%; cursor: pointer; transition: background 0.3s ease; @@ -4725,7 +4725,7 @@ $NewHtmlReport = @" box-shadow: 0 2px 4px 0; width: 180px; height: 100%; - background-color:#07142A; + background-color:#345367; position: fixed; /* Stay in place */ top: 0; left: 0; @@ -4827,15 +4827,15 @@ $NewHtmlReport = @" padding: 5px 10px; margin: 2px; border-radius:0.20rem 0.20rem 0.20rem 0.20rem; - color: #07142A; + color: #345367; } button.pagination-button:hover{ background-color: #F56A00 ; - color: #07142A; + color: #345367; } button.pagination-button.active { - background-color: #07142A; + background-color: #345367; color: white; } @@ -4935,38 +4935,36 @@ $NewHtmlReport = @" text-decoration: none; padding-top:5px; padding-bottom:5px; - padding-left:15px; + padding-left:10px; order:1; border-radius: 0px; - margin-left:5px; + margin-right:14px; + margin-left:14px; } - .stuff:hover{ + .stuff:hover{ font-weight: normal; background-color:#17405A; text-decoration: none; padding-top:5px; padding-bottom:5px; - margin-right:5px; - margin-left:5px; + margin-right:14px; + margin-left:14px; color: white; border-radius: 5px; - --box-shadow: inset 0 0 0 0.25px white; - --outline: 1px solid #F56A00; /* Adjust thickness and color */ - outline: 1px ridge #cfcfd4; /* Adjust thickness and color */ + outline: .5px solid white; transition: color 0.3s ease; transition: background-color 0.3s ease; - --background: linear-gradient(to bottom, #17405A, #FFFFFF); - } + } - .stuff:active { + .stuff:active { font-weight: normal; - background-color:#25648C; + background-color:#71808D; width:auto; - padding-left: 15px; + --padding-left: 15px; color: white; transition: background-color 0.2s ease; - } + } .tabLabel:hover{ background-color:#555555; @@ -5239,14 +5237,14 @@ $NewHtmlReport = @" font-weight:bold; --color:#9B3722; --color:#CE112D; - color:#07142A; + color:#345367; } .pagetitlesub { font-size: 20; font-weight:bold; --color:#9B3722; - color:#07142A; + color:#345367; --color:#222222; } @@ -5388,14 +5386,14 @@ $NewHtmlReport = @" } .landingheader2a { - background-color: #07142A; + background-color: #345367; --background-color: #999; padding-left:120px;; padding-right: 5px; } .landingheader2b { - background-color: #07142A; + background-color: #345367; --background-color: #999; padding-left: 5px; padding-right: 5px; @@ -5543,7 +5541,7 @@ $NewHtmlReport = @" font-family:"Open Sans", sans-serif; --border-bottom:1.5px solid transparent; --border-bottom-color:#222222; - background-color: #07142A; + background-color: #345367; } .cardtitlescansub { @@ -5617,7 +5615,7 @@ $NewHtmlReport = @" box-shadow: 0 2px 4px 0; width: 180px; height: 100%; - background-color:#07142A; + background-color:#345367; position: fixed; /* Stay in place */ top: 0; left: 0; @@ -5638,7 +5636,7 @@ $NewHtmlReport = @" } #main { - margin-left: 190px; + margin-left: 200px; margin-right: 10px; --padding-left: 20px; } @@ -5669,11 +5667,11 @@ $NewHtmlReport = @" padding:5px; --padding-left: 20px; font-size: 13; - color: #07142A; + color: #345367; font-weight:bold; font-family:"Open Sans", sans-serif; border-bottom:1.5px solid transparent; - border-bottom-color:#07142A; + border-bottom-color:#345367; } .Minicardcontainer { @@ -5761,7 +5759,7 @@ $NewHtmlReport = @" .TimelineBarInside { width: 100%; display: block; - background-color: #07142A; + background-color: #345367; opacity: .5; margin-left:1px; position: absolute; @@ -5812,7 +5810,7 @@ $NewHtmlReport = @" .TimelineMinicardtitle{ padding:5px; font-size: 10; - color: #07142A; + color: #345367; font-weight:bold; font-family:"Open Sans", sans-serif; border-bottom:1.5px solid transparent; @@ -5923,13 +5921,13 @@ input[type="checkbox"] { input[type="checkbox"]:checked { background-color: #17405A; /* Change this to your desired color */ - --border-color: #07142A; + --border-color: #345367; border: 1px solid #17405A; } input[type="checkbox"]:checked::before { content: '\2714'; /* Unicode for the checkmark */ - color: #f08c41; + color: #c2994a; display: block; text-align: center; line-height: 20px; @@ -5950,8 +5948,8 @@ input[type="checkbox"]:checked::before { width: 14px; height: 14px; background-color: #f2f4f7; - color: #07142A; - border: 1.5px solid #07142A; /* 1px border */ + color: #345367; + border: 1.5px solid #345367; /* 1px border */ border-radius: 60%; /* Makes the div a circle */ --display: flex; display: inline-block; @@ -5985,26 +5983,26 @@ input[type="checkbox"]:checked::before {
POWERHUNTSHARES

-
$TargetDomain
+
DomainController1.demo.local
+
-
- - - +
+ + - + - - - - + + + + @@ -6032,11 +6030,11 @@ input[type="checkbox"]:checked::before {
-
+
Interesting Files Found
- + $InterestingFilesAllFilesCount 
@@ -6060,7 +6058,7 @@ input[type="checkbox"]:checked::before {
@@ -6244,11 +6242,11 @@ $ComputerCount computers were found in the $TargetDomain Active Directory domain
-
+
Affected Computers
- + $ComputerWithExcessive 
@@ -6290,7 +6288,7 @@ $ComputerCount computers were found in the $TargetDomain Active Directory domain