mirror of
				https://github.com/NetSPI/PowerHuntShares.git
				synced 2025-11-04 05:24:51 +01:00 
			
		
		
		
	Update PowerHuntShares.psm1
Fixed small cisco type7 decoding bug.
This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
				
			|||||||
#--------------------------------------
 | 
					#--------------------------------------
 | 
				
			||||||
# Author: Scott Sutherland, 2024 NetSPI
 | 
					# Author: Scott Sutherland, 2024 NetSPI
 | 
				
			||||||
# License: 3-clause BSD
 | 
					# 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. 
 | 
					# 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
 | 
					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
 | 
					        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
 | 
					    # Cisco Type 7 Password Decoder
 | 
				
			||||||
    function Decode-Type7 {
 | 
					    function Decode-Type7 {
 | 
				
			||||||
        param (
 | 
					        param (
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user