Installing the Cisco password cracker in kali Linux

For the second example, we will use a simple program called cisco_crack ( ). This tool is used to crack the Cisco type 7 password.

After downloading the source code, the next step is to compile it. Before you can compile the source code cleanly, you need to add the following include statements:

#include <string.h>
#include <stdlib.h>

Now, you have four include statements in the source code.

To compile the code, you can just give the following command:

gcc cisco_crack.c –o cisco_crack

If there is no error, an executable file with the name of cisco_crack will be created. The following is the help screen of cisco_crack :

# ./cisco_crack
Usage: ./cisco_crack -p <encrypted password>
./cisco_crack <router config file> <output file>