[Tutorial] Wordlists manipulation with Backtrack 5R2 Crunch

Prince

[ Verified Seller ]
Staff member
Trusted Seller
Joined
11 yrs. 6 mth. 27 days
Messages
5,381
Reaction score
18,380
Age
45
Wallet
11,590$
Brief Introduction:

Ok. This tutorial is going to introduce you with a Backtrack application called Crunch.
Most plainly said Crunch itself is a tool for wordlists generation. In this tutorial I’m going to explain some of its main options (not all), the way to use it, charsets, M33 and cons and of course how it might come in handy.

I. How to install

First you’ll need Backtrack, of course. You can either run it in virtualization on a virtual machine like VMware or Virtualbox. I will not cover how to boot Backtrack, there have already been lots of tutorials.

Now I assume most of the people around here know how to run applications in Ubuntu but nevertheless, I’ve made a part for the installation for those who aren’t familiar with unix-based OS and live CD distributions.

Open up a terminal and type:

Code:
Please, Log in or Register to view codes content!



Once downloaded, going to extract it.



Code:
Please, Log in or Register to view codes content!

Accessing directory:

Code:
Please, Log in or Register to view codes content!

Compiling and installing:

Code:
Please, Log in or Register to view codes content!




II. How to use

Once installed we can start generating our wordlists.

Basic usage:

Code:
Please, Log in or Register to view codes content!

For example:

Code:
Please, Log in or Register to view codes content!

This will generate all possible combinations between the characters “a, b, c, d, 1, 2, 3” with a min length of 1 and maximum of 5. Now the –o [file] option enables us to save all generated combinations to a file.

As well as that, when working out the charset, symbols are to be divided by a backslash "\".

For example:

Code:
Please, Log in or Register to view codes content!



Permutations:

Permutations can be created by using the –p switch between words, letters, numbers, symbols.

For example:

Code:
Please, Log in or Register to view codes content!



One thing you might’ve noticed is that we set min/max length again, no matter that we have a permutation, we still need to include them else rather it won’t do.

In that example we used 3 words, which will be a permutation of three. In other words P3 = 3*2*1 = 6 possible combinations (without any repeating).

Splitting generated combinations into separate lists with predefined size:

For this purpose we’ll have to use the –b switch which is designed to set the size of each file. So whenever crunch generates combinations that exceed let’s say 10mb, for example, it will locate the next generations into a separate file.

For example:

Code:
Please, Log in or Register to view codes content!



This will split all generations of combinations between “a, b, c, d, A, B, C, D” in separate files, none exceeding the size of 30mb.

For all options and full usage of crunch visit its man page.

Hope this tutorial would come in handy for members!

- - - - - -

I decided this thread would be suitable for me to include a small project of mine written in PHP. It's again for wordlists generation, although not the best language for such.


Anyone experiencing problems with the code or wants me to explain something may feel free to post here or PM me.

Thanks for reading!
 
Paid adv. expire in 2 months
CLICK to buy Advertisement !
westernunion carding Verified & Trusted WesternUnion | MoneyGram | Bank - Transferring [299$ BTC for 2000$ WU]
electronics carding Verified & Trusted Electronics Carding, Carding iPhone, Samsung Carding, MacBook Carding, Laptops Carding
Top Bottom