-1

I'm trying to generate a wordlist, but I need some help with it. Let's say I execute the command:

crunch 1 1 -p cat dog cow

Crunch will generate the following:

catcowdog
catdogcow
cowcatdog
cowdogcat
dogcatcow
dogcowcat

But I also need permutation with 1 and 2 words, so I also need these ones:

dog
cat
cow
dogcat
dogcow
catdog
catcow
cowdog
cowcat

Is there a way to do this?

Anders
  • 64,406
  • 24
  • 178
  • 215
s3voch7
  • 101
  • 1
    No idea what `crunch` is but itertools in python would make quick work of this https://docs.python.org/2/library/itertools.html#itertools.permutations – CaffeineAddiction Apr 12 '18 at 11:41
  • 1
    @Goose I don't think there is an explicit policy, but in general, the more specific to security the tool is, the more on topic it becomes. I^d say crunch questions are on topic, but that is just my two cents. – Anders Apr 29 '18 at 10:45

1 Answers1

0

The man page will tell you if it is possible and it states that it is not. It even shows you an example of what it outputs.

You will need to write a script to do what you want.

schroeder
  • 123,438
  • 55
  • 284
  • 319