Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: "Sebastian G." <seppi@xxxxxxxxx>
- Date: Thu, 10 May 2007 22:30:32 +0200
poster3814 wrote:
Sebastian G. wrote:Walter Roberson wrote:
May I presume Windows cmd Shell?As you've already been told: Such a program doesn't exist, because it's absolutely trivial. You can even implement it with a one-line shell script on almost any platform.Then you won't mind sharing your one-line shell script with poster3814.
(for /f "delims=" %i in (dictionary.txt) do \
for /f "delims=" %j in (dictionary.txt) do \
for /f "delims=" %k in (dictionary.txt) do echo %i%j%k) >output.txt
Or Bash?
(for $i in [dictionary.txt]; do; \
for $j in [dictionary.txt]; do; \
for $k in [dictionary.txt]; do; echo -n $i$j$k; end; end; end;) >output.txt
Now, need even more evidence that this is totally trivial?
For what it's worth, this didn't work for me, at least not yet; I'm not very familiar with programming with the Windows cmd shell,
Doesn't matter much, since the "help" command exists.
Anyway, any programming language does the job. Even non-Turing-complete ones like "LOOP".
Anyway, again for what it's worth, when I first ran this, I was told:
"'\' is not recognized as an internal or external command, operable program or batch file"
so I removed the two backslashes and tried again. The output file only contained one result: a concatenation of "%i," "%j," the last word in dictionary.txt, and a right parenthesis. For example:
%i%j[lastword])
Maybe you should turn off your computer and switch over to a Gameboy[tm] if you don't even know that '\' is a common annotation for "I had to insert a line break here to not mess up the formatting. You should remove it."
You would you please all the three loops into one line that they're enclosed and not compounded?
.
- Follow-Ups:
- References:
- Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: poster3814
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: Ertugrul Soeylemez
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: poster3814
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: Sebastian G.
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: Walter Roberson
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: Sebastian G.
- Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- From: poster3814
- Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- Prev by Date: Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- Next by Date: Organizations lose Confidential&Intellectual property through unauthorized data transfer
- Previous by thread: Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- Next by thread: Re: Password Dictionary File/ Each Entry is 2 or 3 Words Concatenated?
- Index(es):
Relevant Pages
|
|