Created
September 13, 2015 23:29
-
-
Save x56/24d5d1b033867eb32592 to your computer and use it in GitHub Desktop.
Python argparse crash PoC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# usage: ./argparse_empty_mutually_exclusive_group_crash.py blah | |
import argparse | |
parser = argparse.ArgumentParser() | |
mut_ex_group = parser.add_mutually_exclusive_group() | |
parser.parse_args() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment