Prints hashes only. No formatting without text editor required.

This commit is contained in:
SethSec
2017-08-29 09:17:58 -04:00
parent 119656213a
commit 0ffca14ae8
@@ -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
}
}
}
}