Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SkelSec committed Nov 29, 2024
2 parents 040576a + 3d3d6db commit 45d701f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion minikerberos/aioclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ async def get_TGS(self, spn_user:KerberosSPN, override_etype = None, is_linux =
# but we can request etype 23 here for which all is implemented
kdc_req_body['etype'] = [23]
else:
kdc_req_body['etype'] = [self.kerberos_cipher_type]
kdc_req_body['etype'] = [self.kerberos_cipher_type, 23]

authenticator_data = {}
authenticator_data['authenticator-vno'] = krb5_pvno
Expand Down
4 changes: 2 additions & 2 deletions minikerberos/examples/getNT.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():
import argparse

parser = argparse.ArgumentParser(description='Fetches the NT hash for the user. PKI auth required.', formatter_class=argparse.RawDescriptionHelpFormatter, epilog = kerberos_url_help_epilog)
parser.add_argument('kerberos_url', help='The kerberos target URL. Example: "kerberos+pfx://TEST.corp\Administrator:admin@10.10.10.2/?certdata=test.pfx"')
parser.add_argument('kerberos_url', help=r'The kerberos target URL. Example: "kerberos+pfx://TEST.corp\Administrator:admin@10.10.10.2/?certdata=test.pfx"')
parser.add_argument('-v', '--verbose', action='count', default=0)

args = parser.parse_args()
Expand All @@ -32,4 +32,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit 45d701f

Please sign in to comment.