knavesec / CredMaster

Refactored & improved CredKing password spraying tool, uses FireProx APIs to rotate IP addresses, stay anonymous, and beat throttling
926 stars 120 forks source link

Okta module won't run with more than one thread, won't run with zero threads #39

Closed TheToddLuci0 closed 1 year ago

TheToddLuci0 commented 1 year ago
└─$ python3 credmaster.py --plugin okta  -f $FILE 
[2023-02-10 19:47:28.436] Execution started at: 2023-02-10 19:47:28.436535
Traceback (most recent call last):
  File "/home/notroot/git/CredMaster/credmaster.py", line 711, in <module>
    CredMaster(args, pluginargs)
  File "/home/notroot/git/CredMaster/credmaster.py", line 54, in __init__
    self.Execute(args)
  File "/home/notroot/git/CredMaster/credmaster.py", line 211, in Execute
    valid, errormsg, pluginargs = validator.validate(pluginargs, args)
  File "/home/notroot/git/CredMaster/plugins/okta/__init__.py", line 14, in validate
    if args.threads == 1 or (args.threads > 1 and 'force' in pluginargs.keys()):
TypeError: '>' not supported between instances of 'NoneType' and 'int'