Postexploitation
◾
257
So let’s first learn how to generate a rainbow table by using the
rtgen
tool in BackTrack;
for the sake of simplicity I would generate a rainbow table of four characters. The Rainbow crack
program is located in the /pentest/passwords/rainbowcrack directory inside of BackTrack; type
./rtgen to view its options.
From the usage we can see the arguments it requires to generate a rainbow table; we will gener-
ate a rainbow table of lm hashes with numeric charset and the length would be from one to four
numbers. To generate it we would use the following command:
./rtgen lm numeric 1 4 0 100 10000 file
This command tells rtgen to generate the rainbow table for lm hashes with a length of four
characters (numeric), with 0 as the index, as this is our first rainbow table, followed by the chain
length and chain count. You can research about them if interested as it’s a whole new topic.
Dostları ilə paylaş: