Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 6 Dec 2011 10:15:08 -0500
From: Matt Weir <cweir@...edu>
To: john-users@...ts.openwall.com
Subject: Re: Insert words between digits

One quick/dirty hack to do what you want would be to use John's -stdin
option along with another program. If you are on a Linux system the
following sed script would work:

sed 's/ /house/' dictionary.txt | sed 's/ /train/' | ./john -stdin
-format=blah hashes.lst

Of course, this quickly becomes very unwieldy if you have a list of
words you want to insert into your dictionary instead of only using
'house' and 'train'. As I said, this is just a quick solution, and not
a good solution ;)

Matt Weir

On Mon, Dec 5, 2011 at 6:15 PM, websiteaccess@...il.com
<websiteaccess@...il.com> wrote:
> Hi
>
>  I have a wordlist formatted as following :
>  1234 254872 1234
>
>  I woud like insert a word (house) between the first space and a second word (train) in the second space
>
>  for the first word and 1st space the syntax is
> /[ ] Dp Ap,house,
>
>  that become
>
> 1234house254872 1234
>
> but how to do for the second space ?
>
>  Any idea ?
>
>  thanks.
>
>
>  W.A.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.