Skip to content

Commit

Permalink
Merge pull request #38 from sbrun/main
Browse files Browse the repository at this point in the history
Fix SyntaxWarning in Python 3.12
  • Loading branch information
skelsec authored Nov 29, 2024
2 parents d2cd8ea + 85d3d8a commit 916d9da
Showing 1 changed file with 2 additions and 2 deletions.
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 916d9da

Please sign in to comment.