|
Message-ID: <CANnLRdgDWBDVRfjfB6LRJGDdU-w5-OU3kMEqQsDkJoJvKWLZQA@mail.gmail.com> Date: Sun, 6 May 2012 14:52:47 -0600 From: Stephen John Smoogen <smooge@...il.com> To: john-users@...ts.openwall.com Subject: Re: file name expansion for --wordlist= and file name starting with ~ On 6 May 2012 13:59, Frank Dittrich <frank_dittrich@...mail.com> wrote: > Hi all, > > did anybody else of you notice that for --wordlist=filename, even bash > auto-completion for file names starting with ~/ or ~user works, but john > fails to recognize e.g. --wordlist=~/test.txt? Works for me, which says that the problem is either with your shell or depends on the version of john you have. Neither of which you say. $ john --session=DD --wordlist=~/x --pot=xyz.pot --format=raw-md5 y000 Loaded 10 password hashes with no different salts (Raw MD5 [SSE2i 10x4x3]) guesses: 0/80 time: 0:00:00:00 DONE (2012-05-06 14:51) c/s: 285 trying: redhat - rhel $ rpm -q bash john bash-4.1.2-8.el6.x86_64 john-1.7.9-1jumbo5.el6.x86_64 So something in your shell is not expanding the items when it hands it off to the program. > With this command line > $ ./john --wordlist=~/test > afer pressing [tab], bash completes the command line to > $ ./john --wordlist=~/test.txt > > But when I try to execute > $ ./john --wordlist=test.txt passwd > I get > fopen: ~fd/test.txt: No such file or directory > > The above applies to all --opt=filename options, but I doubt I'll ever > use ~/ for any option except --wordlist. > > > Frank -- Stephen J Smoogen. "The core skill of innovators is error recovery, not failure avoidance." Randy Nelson, President of Pixar University. "Years ago my mother used to say to me,... Elwood, you must be oh so smart or oh so pleasant. Well, for years I was smart. I recommend pleasant. You may quote me." —James Stewart as Elwood P. Dowd
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.