Hack Forums
[Tutorial] Cracking Hashes with John the Ripper - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: [Tutorial] Cracking Hashes with John the Ripper (/showthread.php?tid=6242769)



[Tutorial] Cracking Hashes with John the Ripper - AB51NTH3 - May 28, 2023


[Image: JtR.png]
Cracking Hashes with JtR

What is John?
John the Ripper/John, is an open source cracking tool provided by Openwall.
It's a very popular tool that comes pre installed on the Kali distro. It's easy to use, powerful, and it's free.


Download John Jumbo
Official Site | Windows
*Installation on Linux varies depending on your package manager.


How Does it Work?
Hashes are strings of data generated from a hash function.
The hash function takes the key and creates a hash based off that key.
The same key will produce the same result each time it's run through the function.
It's meant to be irreversible, unlike encryption. However, by comparing known hash values to a hash, you can determine the key.


Cracking Hashes with Jtr
*From here on out terminal refers to command prompt as-well.

Launch your terminal. Navigate to the directory where you have John stored.
Enter the run folder. From here you can use John. Enter 'john' to confirm you're actually in the right folder.
Save your hash somewhere inside the run folder e.g. 'folder/_hashes/1.hash'.

Now that we're setup, let's begin cracking. Here are a couple options for execution:
In my example I'm cracking an md5 hash, determine what type of hash you're cracking and find the proper
format.

Wordlist

Code
john --wordlist=password.lst --format=raw-md5 _hashes/1.hash


Bruteforce

Code
john --incremental --format=raw-md5 _hashes/1.hash


[Image: sample.gif]

*While cracking you can press the space bar to see the last made attempt.

Keep in mind some hashes have a salt included. e.g. 'p455woRd + 5ALTEdH4sH';
The likeness of you cracking a password becomes less the more complex it is.


Resources
SecList Passwords (459 MB Uncompressed)



RE: [Tutorial] Cracking Hashes with John the Ripper - InspectorGadget - May 28, 2023

Nice thread OP :) Keep it up!


RE: [Tutorial] Cracking Hashes with John the Ripper - cptAxe - May 30, 2023

Thanks for sharing this.


RE: [Tutorial] Cracking Hashes with John the Ripper - carl johnson - Mar 5, 2024

sir/madam, im testing my password strength using brute force john --incremental.
but my password is just like this Example$123
so in my password has a special character $
WHAT IS THE SYNTAX TO USE BRUTE FORCE using john --incremental


RE: [Tutorial] Cracking Hashes with John the Ripper - Zurdox - Apr 8, 2024

great job. very usefull tool, thank you


RE: [Tutorial] Cracking Hashes with John the Ripper - DramaKing - Apr 9, 2024

(Mar 5, 2024 12:01 AM)carl johnson Wrote:  sir/madam, im testing my password strength using brute force john --incremental.
but my password is just like this Example$123
so in my password has a special character $
WHAT IS THE SYNTAX TO USE BRUTE FORCE using john --incremental

Your question makes no sense. --incremental is a brute force attack using the entire ASCII character set.


RE: [Tutorial] Cracking Hashes with John the Ripper - thatfunkymonkey - Apr 9, 2024

Thanks for the post.


RE: [Tutorial] Cracking Hashes with John the Ripper - gerirost - Apr 16, 2024

Thanks man appreciate it


RE: [Tutorial] Cracking Hashes with John the Ripper - HofmanoID11 - May 18, 2024

Thanks for the transparency, that's really refreshing!😎😎😎🤗