Merge pull request #663 from sethsec/master

Invoke-Kerberoast: Print hashes only. Formatting with a text editor is no longer required.
websockets-multiuser
Steve Borosh 2017-08-30 20:58:52 -04:00 committed by GitHub
commit 85bafb8dc8
1 changed files with 6 additions and 2 deletions

View File

@ -588,7 +588,11 @@ Outputs a custom object containing the SamAccountName, ServicePrincipalName, and
} }
$Out | Add-Member Noteproperty 'Hash' $HashFormat $Out | Add-Member Noteproperty 'Hash' $HashFormat
$Out.PSObject.TypeNames.Insert(0, 'PowerView.SPNTicket') $Out.PSObject.TypeNames.Insert(0, 'PowerView.SPNTicket')
Write-Output $Out #Prints the PS Object
#Write-Output $Out
#Prints just the hashes
Write-Output $HashFormat
} }
} }
} }
@ -1077,4 +1081,4 @@ Outputs a custom object containing the SamAccountName, ServicePrincipalName, and
Invoke-RevertToSelf -TokenHandle $LogonToken Invoke-RevertToSelf -TokenHandle $LogonToken
} }
} }
} }