icelon / pyrit

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

pyrit error #312

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 sudo pyrit -e "fastnet" -f db_air.out export_hashdb
Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.7/dist-packages/pyrit_cli.py", line 62, in initFromArgv
    ('all-handshakes', 'aes'))
  File "/usr/lib/python2.7/getopt.py", line 90, in getopt
    opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
  File "/usr/lib/python2.7/getopt.py", line 190, in do_shorts
    if short_has_arg(opt, shortopts):
  File "/usr/lib/python2.7/getopt.py", line 206, in short_has_arg
    raise GetoptError('option -%s not recognized' % opt, opt)
getopt.GetoptError: option -f not recognized

What version of the product are you using? On what operating system?
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty

Pyrit 0.4.1-dev (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Please provide any additional information below.

Original issue reported on code.google.com by bum...@googlemail.com on 20 May 2011 at 8:07

GoogleCodeExporter commented 8 years ago
Look at the output.

getopt.GetoptError: option -f not recognized

-i or -o (in or out) I think that is what your looking for.

What did you think -f was going to do? type "pyrit" and hit enter at command 
line to get a list of all possible options, or read through some documentation. 
I don't mean that in a rude way, perhaps -f is a new feature that I was unaware 
of.

Original comment by GrantWSa...@gmail.com on 20 May 2011 at 9:39

GoogleCodeExporter commented 8 years ago
The option '-f' was removed quite some time ago and replaced with '-i' and 
'-o'. Please see '--help' for additional information.

Original comment by lukas.l...@gmail.com on 23 May 2011 at 8:50