February 2018
Beginner to intermediate
426 pages
10h 25m
English
If you are able to retrieve encrypted information from the application, you may want to test the strength of the encryption and how effective the key is, which is protecting the information. To do this, Kali Linux includes two of the most popular and effective offline cracking tools: John the Ripper and Hashcat.
In Chapter 5, Detecting and Exploiting Injection-Based Flaws, in the Extracting data with SQL Injection section, we extracted a list of usernames and hashes. Here, we will use John the Ripper (or simply John) and Hashcat to try and retrieve the passwords corresponding to those hashes.
First, retrieve the hashes and usernames in a file in a username:hash format, such as the following:
admin:5f4dcc3b5aa765d61d8327deb882cf99 ...
Read now
Unlock full access