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

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

6 days ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

6 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

6 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

6 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

6 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

6 days ago