mirror of
https://github.com/EmpireProject/Empire
synced 2026-06-08 10:58:16 +00:00
Prints hashes only. No formatting without text editor required.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user