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

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 day ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

1 day ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

2 days ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

2 days ago