C4l4M1TY / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 1 forks source link

fails to run -aes #360

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
with build Pyrit 0.4.1-dev (svn r308) im getting the following error with -aes 
option, it runs fine without it.

./crunch 11 11 -f charset.lst numeric | pyrit -r /root/tiny1528.cap -i - -aes 
attack_passthrough

Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 62, in initFromArgv
    ('all-handshakes', 'aes'))
  File "/usr/lib/python2.6/getopt.py", line 91, in getopt
    opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
  File "/usr/lib/python2.6/getopt.py", line 191, in do_shorts
    if short_has_arg(opt, shortopts):
  File "/usr/lib/python2.6/getopt.py", line 207, in short_has_arg
    raise GetoptError('option -%s not recognized' % opt, opt)
getopt.GetoptError: option -a not recognized

Here is the analyzed cap results

Parsing file 'tiny1528.cap' (1/1)...
Parsed 4 packets (4 802.11-packets), got 1 AP(s)

#1: AccessPoint 00000000000 ('mywifi'):
  #1: Station 00000000000, 1 handshake(s):
    #1: HMAC_SHA1_AES, good, spread 1

Original issue reported on code.google.com by can.ci...@std.ieu.edu.tr on 23 Oct 2011 at 7:23

GoogleCodeExporter commented 8 years ago
It should read "--aes", not "-aes"

Original comment by lukas.l...@gmail.com on 25 Oct 2011 at 8:07