Cyber security

Ethical Hacking Using John The Ripper : A Step-by-Step Guide To Password Cracking

This repository contains a set of shell scripts designed to facilitate the ethical hacking process using John the Ripper, a powerful password cracking tool.

The project is divided into two main scripts: prerequisites.sh and pass_crack.sh, each serving a distinct purpose in the password cracking workflow.

Files:

prerequisites.sh: This script automates the setup process by updating system repositories, installing necessary dependencies, downloading and compiling John the Ripper from source code, and verifying the installation.

It encompasses steps 1 to 5 of the password cracking workflow. pass_crack.sh: This script focuses on the password cracking process, including downloading the rockyou.txt wordlist, extracting the hash from a target RAR file, cracking the password hash using the wordlist, and analyzing the results.

It encompasses steps 6 to 9 of the password cracking workflow. Usage:

1:Clone the repository to your local machine using the command:

2:Navigate to the repository directory:

cd ethical-hacking-john-the-ripper

3:Make the shell scripts executable:

chmod +x prerequisites.sh pass_crack.sh

4:Execute the Prerequisites.sh script to set up the environment:

./Prerequisites.sh

5:Execute the pass_crack.sh script to perform the password cracking process:

./pass_crack.sh

Note:

Ensure that you have appropriate permissions to execute the scripts. Modify the target_file.rar variable in pass_crack.sh to specify the path to your target RAR file.

These scripts are intended for educational and ethical hacking purposes only. Usage for malicious activities is strictly prohibited.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

How to Install Java on Ubuntu 24.04 Easily in 2026

Java remains one of the most widely used programming platforms for servers, enterprise applications, Android…

2 days ago

How to Install DEB Files on Ubuntu in 2026 (Step-by-Step Beginner Guide)

Ubuntu users often download software directly from developer websites instead of using the default app…

2 days ago

Things to Do After Installing Ubuntu 26.04 LTS for a Fast, Secure Setup

Installing Ubuntu 26.04 LTS is only the first step toward building a smooth, secure, and…

4 days ago

How to Prevent Software Supply Chain Attacks

What is a Software Supply Chain Attack? A software supply chain attack occurs when a…

1 month ago

How UDP Works and Why It Is So Fast

When people ask how UDP works, the simplest answer is this: UDP sends data quickly…

2 months ago

How EDR Killers Bypass Security Tools

Endpoint Detection and Response (EDR) solutions have become a cornerstone of modern cybersecurity, designed to…

2 months ago