Skip to content

Commit

Permalink
Update kerberosv5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo committed Sep 21, 2023
1 parent de118e2 commit 2a3bb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impacket/krb5/kerberosv5.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def getKerberosTGT(clientName, password, domain, lmhash, nthash, aesKey='', kdcH
if serverName is None:
serverName = Principal('krbtgt/%s'%domain, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
else:
serverName = Principal(service, type=constants.PrincipalNameType.NT_PRINCIPAL.value)
serverName = Principal(serverName, type=constants.PrincipalNameType.NT_PRINCIPAL.value)

pacRequest = KERB_PA_PAC_REQUEST()
pacRequest['include-pac'] = requestPAC
Expand Down

0 comments on commit 2a3bb78

Please sign in to comment.