Skip to content

Commit

Permalink
Prints hashes only. No formatting without text editor required.
Browse files Browse the repository at this point in the history
  • Loading branch information
sethsec committed Aug 29, 2017
1 parent 1196562 commit 0ffca14
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions data/module_source/credentials/Invoke-Kerberoast.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down Expand Up @@ -1077,4 +1081,4 @@ Outputs a custom object containing the SamAccountName, ServicePrincipalName, and
Invoke-RevertToSelf -TokenHandle $LogonToken
}
}
}
}

0 comments on commit 0ffca14

Please sign in to comment.