Explore Courses
course iconCertificationPost Graduate Certification Program in Data Analytics and Applied AI
  • 100+ Hours
Trending
course iconCertificationExecutive Post Graduate Certificate in Data Science and Applied AI
  • 140+ Hours
Trending
course iconCertificationPG Certificate in Applied Generative Engineering & LLM Applications
  • 140+ Hours
Trending
course iconCertificationPG Certificate in AI Powered Product and Design Thinking
  • 150+ Hours
Trending
course iconCertificationAI Masters Program
  • 15 Weeks
Trending
course iconCertificationVibe Coding 101: No-code AI Programming
  • 4 Weeks
Trending
course iconCertificationApplied Agentic AI - No Code
  • 48 Hours
Trending
course iconCertificationGenerative AI and Prompt Engineering
  • 16 Hours
Trending
course iconCertificationAI-Powered Product Management
  • 8 Weeks
Trending
course iconCertificationApplied Agentic AI Certification
  • 8 Weeks
Trending
course iconCertificationGenerative AI Course for Scrum Masters
  • 16 Hours
course iconCertificationGenerative AI Course for Project Managers
  • 16 Hours
course iconCertificationGenerative AI Course for POPM
  • 16 Hours
course iconCertificationGen AI Course for Business Analysts
  • 16 Hours
course iconCertificationAI Powered Software Development
  • 16 Hours
course iconCertificationAI-Data Analytics with Power BI
  • 16 Hours
course iconCertificationAI-Driven Digital Marketing Training
  • 16 Hours
course iconCertificationGen AI for Enterprise Agilist
  • 16 Hours
course iconExecutive DiplomaExecutive Diploma in Machine Learning and AI
course iconExecutive DiplomaExecutive Diploma in Data Science & Artificial Intelligence from IIITB
course iconCertificationChief Technology Officer & AI Leadership Programme
course iconMaster's DegreeMaster of Science in Machine Learning & AI
course iconDual CertificationExecutive Programme in Generative AI for Leaders
course iconCertificationExecutive Post Graduate Programme in Applied AI and Agentic AI
course iconExecutive PG ProgramIIT KGP-Executive PG Certificate in Gen AI and Agentic
Universal AI by MIT Open Learningcourse iconScrum AllianceCertified ScrumMaster (CSM) Certification
  • 16 Hours
Best seller
course iconScrum AllianceCertified Scrum Product Owner (CSPO) Certification
  • 16 Hours
Best seller
course iconScaled AgileLeading SAFe 6.0 Certification
  • 16 Hours
Trending
course iconScrum.orgProfessional Scrum Master (PSM) Certification
  • 16 Hours
course iconScaled AgileAI-Empowered SAFe® 6.0 Scrum Master
  • 16 Hours
course iconPMIPMI Agile Certified Practitioner (PMI-ACP) Certification
  • 21 Hours
Best seller
course iconScaled Agile, Inc.Implementing SAFe 6.0 (SPC) Certification
  • 32 Hours
Recommended
course iconScaled Agile, Inc.AI-Empowered SAFe® 6 Release Train Engineer (RTE) Course
  • 24 Hours
course iconScaled Agile, Inc.SAFe® AI-Empowered Product Owner/Product Manager (6.0)
  • 16 Hours
Trending
course iconIC AgileICP Agile Certified Coaching (ICP-ACC)
  • 24 Hours
course iconScrum.orgProfessional Scrum Product Owner I (PSPO I) Training
  • 16 Hours
course iconAgile Management Master's Program
  • 32 Hours
Trending
course iconAgile Excellence Master's Program
  • 32 Hours
Agile and ScrumScrum MasterProduct OwnerSAFe AgilistAgile Coachcourse iconPMIProject Management Professional (PMP) Certification
  • 36 Hours
Best seller
course iconAxelosPRINCE2 Foundation & Practitioner Certification
  • 32 Hours
course iconAxelosPRINCE2 Foundation Certification
  • 16 Hours
course iconAxelosPRINCE2 Practitioner Certification
  • 16 Hours
course iconPMICertified Associate in Project Management (CAPM)®
  • 23 Hours
Best seller
course iconPMIProgram Management Professional (PgMP®)
  • 24 Hours
Best seller
course iconPMIPortfolio Management Professional (PfMP)®
  • 24 Hours
Best seller
course iconPMIProject Management Institute-Risk Management Professional (PMI-RMP)®
  • 30 Hours
Best seller
Change ManagementProject Management TechniquesCertified Associate in Project Management (CAPM) CertificationOracle Primavera P6 CertificationMicrosoft Projectcourse iconJob OrientedProject Management Master's Program
  • 45 Hours
Trending
PRINCE2 Practitioner CoursePRINCE2 Foundation CourseProject ManagerProgram Management ProfessionalPortfolio Management Professionalcourse iconCompTIACompTIA Security+
  • 40 Hours
Best seller
course iconEC-CouncilCertified Ethical Hacker (CEH v13) Certification
  • 40 Hours
course iconISACACertified Information Systems Auditor (CISA) Certification
  • 40 Hours
course iconISACACertified Information Security Manager (CISM) Certification
  • 40 Hours
course icon(ISC)²Certified Information Systems Security Professional (CISSP)
  • 40 Hours
course icon(ISC)²Certified Cloud Security Professional (CCSP) Certification
  • 40 Hours
course iconCertified Information Privacy Professional - Europe (CIPP-E) Certification
  • 16 Hours
course iconISACACOBIT5 Foundation
  • 16 Hours
course iconPayment Card Industry Security Standards (PCI-DSS) Certification
  • 16 Hours
CISSPcourse iconAWSAWS Certified Solutions Architect - Associate
  • 32 Hours
Best seller
course iconAWSAWS Cloud Practitioner Certification
  • 32 Hours
course iconAWSAWS DevOps Certification
  • 24 Hours
course iconMicrosoftAzure Fundamentals Certification
  • 16 Hours
course iconMicrosoftAzure Administrator Certification
  • 24 Hours
Best seller
course iconMicrosoftAzure Data Engineer Certification
  • 45 Hours
Recommended
course iconMicrosoftAzure Solution Architect Certification
  • 32 Hours
course iconMicrosoftAzure DevOps Certification
  • 40 Hours
course iconAWSSystems Operations on AWS Certification Training
  • 24 Hours
course iconAWSDeveloping on AWS
  • 24 Hours
course iconJob OrientedAWS Cloud Architect Masters Program
  • 48 Hours
New
Cloud EngineerCloud ArchitectAWS Certified Developer Associate - Complete GuideAWS Certified DevOps EngineerAWS Certified Solutions Architect AssociateMicrosoft Certified Azure Data Engineer AssociateMicrosoft Azure Administrator (AZ-104) CourseAWS Certified SysOps Administrator AssociateMicrosoft Certified Azure Developer AssociateAWS Certified Cloud Practitionercourse iconAxelosITIL Foundation (Version 5) Certification
  • 16 Hours
New
course iconAxelosITIL 4 Foundation Certification
  • 16 Hours
Best seller
course iconAxelosITIL Foundation Bridge Course (Version 5)
  • 8 Hours
New
course iconAxelosITIL Practitioner Certification
  • 16 Hours
course iconPeopleCertISO 14001 Foundation Certification
  • 16 Hours
course iconPeopleCertISO 20000 Certification
  • 16 Hours
course iconPeopleCertISO 27000 Foundation Certification
  • 24 Hours
course iconAxelosITIL 4 Specialist: Create, Deliver and Support Training
  • 24 Hours
course iconAxelosITIL 4 Specialist: Drive Stakeholder Value Training
  • 24 Hours
course iconAxelosITIL 4 Strategist Direct, Plan and Improve Training
  • 16 Hours
ITIL 4 Specialist: Create, Deliver and Support ExamITIL 4 Specialist: Drive Stakeholder Value (DSV) CourseITIL 4 Strategist: Direct, Plan, and ImproveITIL 4 FoundationData Science with PythonMachine Learning with PythonData Science with RMachine Learning with RPython for Data ScienceDeep Learning Certification TrainingNatural Language Processing (NLP)TensorFlowSQL For Data AnalyticsData ScientistData AnalystData EngineerAI EngineerData Analysis Using ExcelDeep Learning with Keras and TensorFlowDeployment of Machine Learning ModelsFundamentals of Reinforcement LearningIntroduction to Cutting-Edge AI with TransformersMachine Learning with PythonMaster Python: Advance Data Analysis with PythonMaths and Stats FoundationNatural Language Processing (NLP) with PythonPython for Data ScienceSQL for Data Analytics CoursesAI Advanced: Computer Vision for AI ProfessionalsMaster Applied Machine LearningMaster Time Series Forecasting Using Pythoncourse iconDevOps InstituteDevOps Foundation Certification
  • 16 Hours
Best seller
course iconCNCFCertified Kubernetes Administrator
  • 32 Hours
New
course iconDevops InstituteDevops Leader
  • 16 Hours
KubernetesDocker with KubernetesDockerJenkinsOpenstackAnsibleChefPuppetDevOps EngineerDevOps ExpertCI/CD with Jenkins XDevOps Using JenkinsCI-CD and DevOpsDocker & KubernetesDevOps Fundamentals Crash CourseMicrosoft Certified DevOps Engineer ExpertAnsible for Beginners: The Complete Crash CourseContainer Orchestration Using KubernetesContainerization Using DockerMaster Infrastructure Provisioning with Terraformcourse iconCertificationTableau Certification
  • 24 Hours
Recommended
course iconCertificationData Visualization with Tableau Certification
  • 24 Hours
course iconMicrosoftMicrosoft Power BI Certification
  • 24 Hours
Best seller
course iconTIBCOTIBCO Spotfire Training
  • 36 Hours
course iconCertificationData Visualization with QlikView Certification
  • 30 Hours
course iconCertificationSisense BI Certification
  • 16 Hours
Data Visualization Using Tableau TrainingData Analysis Using ExcelReactNode JSAngularJavascriptPHP and MySQLAngular TrainingBasics of Spring Core and MVCFront-End Development BootcampReact JS TrainingSpring Boot and Spring CloudMongoDB Developer Coursecourse iconBlockchain Professional Certification
  • 40 Hours
course iconBlockchain Solutions Architect Certification
  • 32 Hours
course iconBlockchain Security Engineer Certification
  • 32 Hours
course iconBlockchain Quality Engineer Certification
  • 24 Hours
course iconBlockchain 101 Certification
  • 5+ Hours
NFT Essentials 101: A Beginner's GuideIntroduction to DeFiPython CertificationAdvanced Python CourseR Programming LanguageAdvanced R CourseJavaJava Deep DiveScalaAdvanced ScalaC# TrainingMicrosoft .Net Frameworkcourse iconCareer AcceleratorSoftware Engineer Interview Prep
  • 3 Months
Data Structures and Algorithms with JavaScriptData Structures and Algorithms with Java: The Practical GuideLinux Essentials for Developers: The Complete MasterclassMaster Git and GitHubMaster Java Programming LanguageProgramming Essentials for BeginnersSoftware Engineering Fundamentals and Lifecycle (SEFLC) CourseTest-Driven Development for Java ProgrammersTypeScript: Beginner to Advanced
  • Home
  • Blog
  • Security
  • John the Ripper: Can It Crack Any Password? Features, Modes, and Limits

John the Ripper: Can It Crack Any Password? Features, Modes, and Limits

By KnowledgeHut .

Updated on Nov 05, 2026 | 17 min read | 13.79K+ views

Share:

Quick Overview

  • John the Ripper is an open-source password-cracking tool used to identify weak passwords, audit password security, and recover passwords from supported hashes.
  • It works by generating password candidates, hashing them, and comparing the results with the supplied password hashes.
  • It offers four main cracking modes: Single crack, Wordlist, Incremental, and External, each suited to different password-testing requirements.
  • Its Jumbo version supports a wider range of hash formats and encrypted files, while Hashcat is another popular alternative with a strong focus on GPU-based cracking.
  • This guide covers how John the Ripper works, its key features, four cracking modes, differences from Hashcat, and limitations in password recovery.

Explore how AI is shaping modern cybersecurity and intelligent security solutions with upGrad KnowledgeHut's Applied Agentic AI Certification Course.

Master the Right Skills & Boost Your Career

Avail your free 1:1 mentorship session

What is John the Ripper?

John the Ripper is an open source password cracking tool which is used to find weak passwords and to recover forgotten passwords. It's a tool that's widely used by security professionals as part of password audits, penetration tests and security research. It compares possible password combinations with stored password hashes to find a match.

It was originally developed to detect weak Unix passwords. It now supports a number of operating systems and a variety of password hash types particularly via its extended Jumbo version. 

Some of its main characteristics include:

  • Open-source tool: It is freely available and can be customized for different password-auditing requirements.
  • Multiple cracking modes: It offers single crack, wordlist, incremental, and external modes.
  • Wide format support: It supports various password hashes and certain encrypted files.
  • Cross-platform compatibility: It is available for Linux, Windows, macOS, and other platforms.
  • Flexible configuration: Users can customize wordlists, rules, and password-generation methods.

Also Read: Top 12 Ethical Hacking Techniques in 2026

How does John the Ripper work?

John the Ripper works by testing password candidates against a supplied password hash or an extracted hash from a supported file. It does this via four main steps to find the matching password.

1. Prepare the password hash or file

Firstly the tool needs a password hash to test. A password hash is the fixed length output that results when a hashing algorithm is applied to a password.

For example when a user creates an account the system will normally store the password hash rather than the password itself.

The hash has to be in a format that the tool will accept. For some encrypted files like ZIP files and PDFs, you may need a separate extraction tool to extract the hash prior to testing it.

2. Generate password candidates

Next the tool generates a set of candidate passwords using different methods. These candidates may come from a pre-defined wordlist, account information, character combinations or custom rules.

For example, a wordlist might contain common passwords and words that people tend to use.  Rules can modify these words by changing letter cases, adding numbers, or applying other variations.

3. Compare candidates against the hash

The tool processes each candidate in turn and applies the relevant hashing algorithm to it, then compares the resulting hash to the supplied hash.

If the generated hash matches the target hash then that password candidate is found. If there's no match then it proceeds to test the next candidate in accordance with the cracking mode selected. 

4. Display and save the results

When a matching password is found the tool will output the recovered password to the terminal and save the result in its password database file commonly referred to as john.pot.

Users can also review previously recovered passwords and pick up where they left off if a session has been interrupted. This makes it easier to manage a lengthy password audit.

What are the key features of John the Ripper?

John the Ripper has a number of features which make it useful for password security testing. Following are its main capabilities.

Support for multiple hash and file formats

One of its major strengths is support for a wide variety of password hash formats. The standard version supports a number of the common Unix password hashes, the Jumbo version supports hundreds of additional hashes. For certain encrypted files additional tools such as zip2john and pdf2john are used to get the information required for the test.

Some examples include:

  • Unix password hashes
  • Windows LM and NTLM hashes
  • MD5 and SHA-based hashes
  • Kerberos and AFS-related hashes
  • Certain encrypted ZIP and RAR archives
  • Supported PDF and Microsoft Office files

Customizable wordlists and rules

The tool allows users to provide their own wordlists rather than just using the default password candidates. It also supports rules which can be applied to existing words to create further password variants.

For example, a rule could be to change the case of a letter i.e. upper to lower or lower to upper, or to add numbers and special characters to a word. This is all done to see if there are any predictable password patterns in use.

Session management and recovery

Password testing can take a long time, especially when dealing with complex hashes. The tool supports session management, allowing users to monitor progress and resume interrupted tasks.

Its main session-related options include:

  • john –status to check session status.
  • john –restore to resume an interrupted session.
  • john –show hashes.txt to display the recovered passwords for the supplied hash file. 

Performance and configuration options

Performance depends on the hash algorithm, system hardware, and software configuration. The tool can use supported CPU parallelization options, while certain builds also offer GPU acceleration.

Users can set different cracking modes, rules and processing options depending on their particular test requirements. Some of the precompiled versions also include alternative executables for use on multiple CPU cores.

Expand your AI knowledge and explore advanced applications of AI in security and automation with upGrad KnowledgeHut's AI Masters Program. 

What are the different password-cracking modes in John the Ripper?

The tool offers four primary password cracking modes. Each mode takes a different approach to generating and testing password candidates.

Four John the Ripper password-cracking modes: Single crack, Wordlist, Incremental, and External, with examples of how each generates password candidates.

Cracking mode

How it works

When it is useful

Single crack Uses account-related information to generate password guesses Testing passwords based on usernames or personal information
Wordlist Tests words from a predefined password list, optionally applying rules Checking common and predictable passwords
Incremental Generates combinations of characters to test possible passwords Testing a wider range of password combinations
External Uses custom candidate-generation logic Specialized password-auditing requirements

Let's understand each mode in more detail.

1. Single crack mode

Single crack mode uses the information associated with an account like username and any other account details that are available to generate possible passwords.

For example, if an account has a username 'alex' the tool might generate password candidates using related variations.

This mode is useful for checking that users haven't created passwords based on easily obtainable personal information. 

2. Wordlist mode

Wordlist mode tests password candidates from a predefined list. The list may contain common passwords, dictionary words, and other frequently used combinations.

Users can also apply rules to the words to modify them and generate additional variations. For example, a word can be modified by the addition of numbers or by altering the letter cases.

This mode is useful for identifying the common and predictable passwords. 

3. Incremental mode

Incremental mode generates passwords by using a defined character set. It will then test out various combinations of letters, numbers and special characters.

Unlike wordlist mode, it does not depend only on existing words. However, the number of possible combinations can grow quickly as password length and character variety increase.

This makes it useful for broader password testing, although it can require considerable computing time.

4. External mode

External mode allows the user to define their own password generation rules using John the Ripper's configuration options and its built-in programming facilities.

It's useful when the standard cracking modes don't meet a particular auditing requirement. Security professionals can create their own candidate generation logic for controlled testing. 

John the Ripper vs Hashcat: What is the difference?

John the Ripper and Hashcat are both well known open source password cracking and security auditing tools. They both work by taking a set of password candidates and testing them against a hash. The difference between the two is in their approaches, the range of configuration options available and the level of hardware support.

Here is a quick comparison:

Comparison factor

John the Ripper

Hashcat

Primary purpose Password auditing and recovery Password recovery and security auditing
Hash support Broad support, especially in the Jumbo version Extensive hash support through configurable hash modes
Cracking approaches Single, wordlist, incremental, and external modes Dictionary, brute-force, combinator, and other attack modes
Hardware support CPU and supported acceleration options, depending on the build GPU, CPU, and other supported computing backends
Customization Configurable rules and custom external modes Customizable rules, attack modes, and candidate-generation options
Best suited for Flexible workflows and supported hash or file formats Workloads that benefit from its hardware acceleration and optimized implementations

Also Read: What Does an Ethical Hacker Do in 2026?

What are the limitations of John the Ripper?

Although John the Ripper is a very useful tool for password security auditing and password recovery, its effectiveness is entirely dependent on the password hash, the amount of computing power available, the input format and the cracking strategy employed. Its main limitations are:

  • Time-consuming password recovery: complex passwords and large candidate spaces can take hours, days or longer to crack, particularly in incremental mode.
  • Limited format compatibility: Not every hash or encrypted file is supported by every version. Some formats will only work with the Jumbo version or will require a conversion utility.
  • Hardware and performance constraints: The rate at which you can crack will be determined by the hash algorithm, the hardware you're using, the software build and the available parallel processing support. 
  • Input preparation requirements: Badly formatted files or hash types that aren't recognised will prevent the tool from loading and processing the target properly. 
  • No guaranteed password recovery: The tool may fail to find the password if it's not amongst the candidates that are tested or if the available time and resources are insufficient.

Learn how generative AI can support modern cybersecurity practices and strengthen technical problem-solving skills with upGrad  KnowledgeHut Generative AI and Prompt Engineering Course. 

Conclusion

John the Ripper is a powerful tool for testing password strength, identifying weak credentials, and recovering passwords from supported hashes and files. Its multiple cracking modes, wide format support, and flexible configuration make it useful for security professionals and ethical hackers.

However, it cannot guarantee password recovery, especially when dealing with complex passwords and strong hashing algorithms. Understanding its features and limitations helps users make better decisions during password security audits.

Have A Query? Get in Touch With Our Customer Support | upGrad KnowledgeHut 

Frequently Asked Questions (FAQs)

1. What is the latest version of John the Ripper?

As of October 2026, the latest listed packaged release is John the Ripper v1.9.1-ce, available through the official GitHub releases page. The Openwall website also lists the 1.9.0 core and 1.9.0-jumbo-1 source releases. Users should check the official repository for the latest builds and updates.

2. How does John the Ripper crack passwords?

John the Ripper cracks passwords by testing possible password combinations against stored password hashes. It generates candidates using wordlists, account information, character combinations, and custom rules. When a candidate produces a matching hash, the tool identifies the corresponding password.

3. What is the most common hacked password?

123456 is one of the most commonly exposed passwords worldwide. According to NordPass's 2025 research, it ranked first in the global list of most common passwords. Other frequently exposed passwords include 123456789, 12345678, admin, and password.

4. What's the worst password of all time?

There is no official all-time ranking of the worst passwords, but 123456 is widely recognized as one of the weakest and most commonly exposed passwords. It is easy to guess because it follows a simple number sequence. Other poor choices include password, 12345, and admin.

5. What are the three things you should never do with your password?

Never reuse the same password across multiple accounts, as one data breach could put other accounts at risk. Avoid using easily guessed information such as your name, birthday, or simple number sequences. Also, never share your password with others or enter it on suspicious links and websites.

6. What is John the Ripper Jumbo?

John the Ripper Jumbo is an extended community version of the standard John the Ripper tool. It supports hundreds of additional hash and cipher formats, along with extra features and utilities. It is commonly used when users need broader file-format compatibility and more password-auditing options.

7. Can John the Ripper crack Windows passwords?

Yes, John the Ripper can test Windows password hashes, including LM and NTLM formats. Its Jumbo version provides broader support for Windows-related hash formats. However, successful password recovery depends on the hash type, password complexity, and available computing resources.

8. What is the difference between wordlist and brute-force attacks?

A wordlist attack tests passwords from a predefined list of common words and password combinations, often applying rules to create variations. A brute-force attack systematically generates and tests character combinations within a defined search space. Wordlists are useful for testing predictable passwords, while brute-force methods can explore a wider range of combinations.

9. Is John the Ripper useful for penetration testing?

Yes, John the Ripper is useful for penetration testing because it helps security professionals identify weak passwords and assess password security. It can test password hashes collected during authorized security assessments and reveal vulnerable credentials. This helps organizations improve password policies and strengthen account security.

10. Is John the Ripper legal?

Yes, John the Ripper is legal to use as a password security auditing and recovery tool. However, using it to crack passwords or access accounts without the owner's permission may violate applicable laws. It should only be used for personal password recovery, authorized penetration testing, and controlled security research.

KnowledgeHut .

1666 articles published

KnowledgeHut is an outcome-focused global ed-tech company. We help organizations and professionals unlock excellence through skills development. We offer training solutions under the people and proces...

Get Free Consultation

+91

By submitting, I accept the T&C and
Privacy Policy