diff --git a/PowerHuntShares.psm1 b/PowerHuntShares.psm1 index c5ec91c..8ba5a85 100644 --- a/PowerHuntShares.psm1 +++ b/PowerHuntShares.psm1 @@ -4,7 +4,7 @@ #-------------------------------------- # Author: Scott Sutherland, 2024 NetSPI # License: 3-clause BSD -# Version: v1.144 +# Version: v1.145 # 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 { @@ -26292,6 +26292,11 @@ function Get-PwCiscoConfig { 0x78, 0x76, 0x39, 0x38, 0x37, 0x33, 0x32, 0x35, 0x34, 0x6b, 0x3b, 0x66, 0x67, 0x38, 0x37 ) + # Helper function to convert hex string to int + function HexToInt($hexStr) { + return [convert]::ToInt32($hexStr, 16) + } + # Cisco Type 7 Password Decoder function Decode-Type7 { param (