O'Reilly logo

Penetration Testing with Perl by Swizec Teller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Password Cracking

Perl isn't the normal go-to language for password cracking since it is slower than C or other lower-level compiled languages when using complex password hashing algorithms. However, password cracking can be done and we will explore methods of how to do so, and even a few methods of optimization. In this chapter, we will look at ways in which we can use Perl to crack password hashes obtained from penetration testing, including SHA1, salted SHA1, MD5, salted MD5, and a few others. After this, we will analyze how we can crack our WPA2 CCMP handshake that we obtained in Chapter 5, IEEE 802.11 Wireless Protocol and Perl. Both types of password cracking will use a simple brute force offline dictionary attack method, so we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required