mirror of
https://github.com/NetSPI/PowerHuntShares.git
synced 2025-05-04 19:28:42 +02:00
Update PowerHuntShares.psm1
Fixed small cisco type7 decoding bug.
This commit is contained in:
parent
3e7217c280
commit
03153f1c2a
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user