Skip to content

Commit dc35dba

Browse files
authored
Merge pull request #34 from ShutdownRepo/ShutdownRepo-patch-1
Fix for #32 ?
2 parents d1704f6 + 723b7a7 commit dc35dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywhisker/pywhisker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def ldap3_kerberos_login(connection, target, user, password, logger, domain='',
257257
# Kerberos
258258
blob['MechTypes'] = [TypesMech['MS KRB5 - Microsoft Kerberos 5']]
259259
# Let's extract the ticket from the TGS
260-
from impacket.krb5.asn1 import Ticket as Tickety
260+
from impacket.krb5.types import Ticket as Tickety
261261
from pyasn1.codec.der import decoder as der_decoder
262262
tgs = der_decoder.decode(tgs, asn1Spec=TGS_REP())[0]
263263
ticket = Tickety()

0 commit comments

Comments
 (0)