Rapid7 Vulnerability & Exploit Database

Password Cracker: Linux

Back to Search

Password Cracker: Linux



This module uses John the Ripper or Hashcat to identify weak passwords that have been acquired from unshadowed passwd files from Unix/Linux systems. The module will only crack MD5, BSDi and DES implementations by default. However, it can also crack Blowfish and SHA(256/512), but it is much slower.


  • theLightCosine <theLightCosine@metasploit.com>
  • hdm <x@hdm.io>
  • h00die


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/analyze/crack_linux
msf auxiliary(crack_linux) > show actions
msf auxiliary(crack_linux) > set ACTION < action-name >
msf auxiliary(crack_linux) > show options
    ...show and set options...
msf auxiliary(crack_linux) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security