Merge pull request #663 from sethsec/master
Invoke-Kerberoast: Print hashes only. Formatting with a text editor is no longer required.websockets-multiuser
commit
85bafb8dc8
|
@ -588,7 +588,11 @@ Outputs a custom object containing the SamAccountName, ServicePrincipalName, and
|
|||
}
|
||||
$Out | Add-Member Noteproperty 'Hash' $HashFormat
|
||||
$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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue