--crack option provides commands to crack a handshake

Requested in #15
This commit is contained in:
derv82
2017-05-14 23:07:34 -04:00
parent 0a6e0d8ee7
commit a08dbf99c5
5 changed files with 107 additions and 3 deletions

View File

@@ -276,7 +276,10 @@ class Arguments(object):
dest='check_handshake',
help=Color.s('Check a .cap file (or all hs/*.cap files) for WPA handshakes'))
commands.add_argument('-check', help=argparse.SUPPRESS, action='store', nargs='?', const='<all>', dest='check_handshake')
commands.add_argument('--crack',
action='store_true',
dest='crack_handshake',
help=Color.s('Show commands to crack a captured handshake'))
return parser.parse_args()
if __name__ == '__main__':