trustedsec / hate_crack

A tool for automating cracking methodologies through Hashcat from the TrustedSec team.
https://www.trustedsec.com
1.64k stars 259 forks source link

Swapped reference equality checks and value equality checks #44

Open rybaz opened 2 years ago

rybaz commented 2 years ago

Ran into an issue with the most recent branch where Python 3.8.10 was erroring out because of "is" and "is not" instead of "==" and "!=" on a couple lines. It wasn't keeping me from running the script, but changed it anyway.

Error I ran into:

hate_crack.py:883: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if raw_choice is '':
hate_crack.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if raw_choice is not '':