Filtering crunch generated wordlist before saving it
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a small wordlist of 100 words (unwanted strings) saved in a file called file01
.
I would like to use crunch
to generate wordlist of 10 characters, but I want to delete all the lines in file01
from the new crunch's generated wordlist before saving it, to reduce the size of the newly generated file.
What would syntax for that crunch command be?
command-line
add a comment |Â
up vote
1
down vote
favorite
I have a small wordlist of 100 words (unwanted strings) saved in a file called file01
.
I would like to use crunch
to generate wordlist of 10 characters, but I want to delete all the lines in file01
from the new crunch's generated wordlist before saving it, to reduce the size of the newly generated file.
What would syntax for that crunch command be?
command-line
1
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a small wordlist of 100 words (unwanted strings) saved in a file called file01
.
I would like to use crunch
to generate wordlist of 10 characters, but I want to delete all the lines in file01
from the new crunch's generated wordlist before saving it, to reduce the size of the newly generated file.
What would syntax for that crunch command be?
command-line
I have a small wordlist of 100 words (unwanted strings) saved in a file called file01
.
I would like to use crunch
to generate wordlist of 10 characters, but I want to delete all the lines in file01
from the new crunch's generated wordlist before saving it, to reduce the size of the newly generated file.
What would syntax for that crunch command be?
command-line
command-line
edited Sep 25 at 17:52
Goro
6,42552863
6,42552863
asked Sep 25 at 12:34
Ahmed
474
474
1
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22
add a comment |Â
1
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22
1
1
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
The syntax for Crunch is:
crunch min max charset options
The min and max are the minimum and maximum lengths (respectively) for your desired wordlist. By default charset is not required, but you can use it to limit the characters of your wordlist to the ones you specify. If you choose to use charset then you must maintain the correct order, which is lowUP123@%# (lowercase letters, then uppercase letters, then numbers and finally symbols). You can skip any of them, but the order must always remain the same.
For example:
crunch 2 6 qrs347 | grep -vFf file01
The command above will produce a wordlist for every possible combination of the characters qrs347 from 2 to 6 characters in length.
You can modify the command depending on your needs
1
if I'm interpreting the OP correctly, I think the solution they're looking for would becrunch ... | grep -vFf file01
, assumingcrunch
outputs to stdout vs writing a file.
â Jeff Schaller
Sep 25 at 18:16
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
The syntax for Crunch is:
crunch min max charset options
The min and max are the minimum and maximum lengths (respectively) for your desired wordlist. By default charset is not required, but you can use it to limit the characters of your wordlist to the ones you specify. If you choose to use charset then you must maintain the correct order, which is lowUP123@%# (lowercase letters, then uppercase letters, then numbers and finally symbols). You can skip any of them, but the order must always remain the same.
For example:
crunch 2 6 qrs347 | grep -vFf file01
The command above will produce a wordlist for every possible combination of the characters qrs347 from 2 to 6 characters in length.
You can modify the command depending on your needs
1
if I'm interpreting the OP correctly, I think the solution they're looking for would becrunch ... | grep -vFf file01
, assumingcrunch
outputs to stdout vs writing a file.
â Jeff Schaller
Sep 25 at 18:16
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
add a comment |Â
up vote
4
down vote
The syntax for Crunch is:
crunch min max charset options
The min and max are the minimum and maximum lengths (respectively) for your desired wordlist. By default charset is not required, but you can use it to limit the characters of your wordlist to the ones you specify. If you choose to use charset then you must maintain the correct order, which is lowUP123@%# (lowercase letters, then uppercase letters, then numbers and finally symbols). You can skip any of them, but the order must always remain the same.
For example:
crunch 2 6 qrs347 | grep -vFf file01
The command above will produce a wordlist for every possible combination of the characters qrs347 from 2 to 6 characters in length.
You can modify the command depending on your needs
1
if I'm interpreting the OP correctly, I think the solution they're looking for would becrunch ... | grep -vFf file01
, assumingcrunch
outputs to stdout vs writing a file.
â Jeff Schaller
Sep 25 at 18:16
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
add a comment |Â
up vote
4
down vote
up vote
4
down vote
The syntax for Crunch is:
crunch min max charset options
The min and max are the minimum and maximum lengths (respectively) for your desired wordlist. By default charset is not required, but you can use it to limit the characters of your wordlist to the ones you specify. If you choose to use charset then you must maintain the correct order, which is lowUP123@%# (lowercase letters, then uppercase letters, then numbers and finally symbols). You can skip any of them, but the order must always remain the same.
For example:
crunch 2 6 qrs347 | grep -vFf file01
The command above will produce a wordlist for every possible combination of the characters qrs347 from 2 to 6 characters in length.
You can modify the command depending on your needs
The syntax for Crunch is:
crunch min max charset options
The min and max are the minimum and maximum lengths (respectively) for your desired wordlist. By default charset is not required, but you can use it to limit the characters of your wordlist to the ones you specify. If you choose to use charset then you must maintain the correct order, which is lowUP123@%# (lowercase letters, then uppercase letters, then numbers and finally symbols). You can skip any of them, but the order must always remain the same.
For example:
crunch 2 6 qrs347 | grep -vFf file01
The command above will produce a wordlist for every possible combination of the characters qrs347 from 2 to 6 characters in length.
You can modify the command depending on your needs
edited Sep 25 at 18:19
answered Sep 25 at 17:51
Goro
6,42552863
6,42552863
1
if I'm interpreting the OP correctly, I think the solution they're looking for would becrunch ... | grep -vFf file01
, assumingcrunch
outputs to stdout vs writing a file.
â Jeff Schaller
Sep 25 at 18:16
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
add a comment |Â
1
if I'm interpreting the OP correctly, I think the solution they're looking for would becrunch ... | grep -vFf file01
, assumingcrunch
outputs to stdout vs writing a file.
â Jeff Schaller
Sep 25 at 18:16
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
1
1
if I'm interpreting the OP correctly, I think the solution they're looking for would be
crunch ... | grep -vFf file01
, assuming crunch
outputs to stdout vs writing a file.â Jeff Schaller
Sep 25 at 18:16
if I'm interpreting the OP correctly, I think the solution they're looking for would be
crunch ... | grep -vFf file01
, assuming crunch
outputs to stdout vs writing a file.â Jeff Schaller
Sep 25 at 18:16
2
2
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
You are almost always correct @JeffSchaller ;-)
â Goro
Sep 25 at 18:19
1
1
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
Thank you very much your command is going good with me i already found a command that to pipe crunch output to sed as: crunch 10 10 abcde123456 | sed '/string1/d ; /string2/d ......' > Fileout
â Ahmed
Sep 25 at 19:31
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471310%2ffiltering-crunch-generated-wordlist-before-saving-it%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Hi @Ahmed, kindly would you please add more clarifications to the question. Please see the answer below and we can modify depending on your needs
â Goro
Sep 25 at 18:22