def arg_parser():
parser = ArgumentParser(formatter_class=RawTextHelpFormatter)
parser.add_argument("-u", "--update", action="store_true", default=False, help="Update character set")
parser.add_argument("--debug", action="store_true", default=False, help="Enable debug logging")
parser.add_argument("-d", "--domain", default=None, help="Domain without prefix and suffix. (google)")
parser.add_argument("-s", "--suffix", default=None, help="Suffix to check alternative domain names. (.com, .net)")
parser.add_argument("-c", "--count", default=1, help="Character count to change with punycode alternative (Default: 1)")
parser.add_argument("-os", "--original_suffix", default=None,
help="Original domain to check for phisihing\n"
"Optional, use it with original port to run phishing test")
parser.add_argument("-op", "--original_port", default=None, help="Original port to check for phisihing\n"
"Optional, use it with original suffix to run phishing test")
parser.add_argument("-f", "--force", action="store_true", default=False,
help="Force to calculate alternative domain names")
parser.add_argument("-t", "--thread", default=15, help="Thread count")
return parser.parse_args()
评论列表
文章目录