When trying to import a password list into pyrit it seems to have trouble the error message is shown below the command i typed.

I have tried looking at pyrit, and searching forums but could not find anything. Any help would be appriciated on how to fix my problem.

root@user-desktop:~# pyrit -f wpalist.txt import_passwords

Traceback (most recent call last):
File "/usr/bin/pyrit", line 6, in <module>
pyrit_cli.Pyrit_CLI().initFromArgv()
File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 62, in initFromArgv
args, commands = getopt.getopt(sys.argv[1:], 'u:v:c:e:i:r:b:')
File "/usr/lib/python2.5/getopt.py", line 91, in getopt
opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
File "/usr/lib/python2.5/getopt.py", line 191, in do_shorts
if short_has_arg(opt, shortopts):
File "/usr/lib/python2.5/getopt.py", line 207, in short_has_arg
raise GetoptError('option -%s not recognized' % opt, opt)
getopt.GetoptError: option -f not recognized

Ended up finding out how to fix my problem. Found this comment

Comment by lukas.lueg, Oct 19, 2009
The option '-f' has been split into '-i' for input- and '-o' for output-files.

By replacing -f to -i its importing passwords now.

Notlist3d