In: Computer Science
I am doing this assignment using Kali Linux (COMPUTER SECURITY)
I need to use crunch to generate all words which start with a lowercase letter, and then "YOURNAME(uppercase letter)", and then end with 2 digits. (e.g., "aIMAN23")
I just need the screenshot of the crunch commands to follow.
Using John the Ripper (In Kali Linux)
I need the john command so I can use to Break test user's password:
test:$6$fFEVS9TQoNU/aQsm$hxv5R1cSxwENUcdjxlI9WwbF8F3uruxAlDUf0vXaOAJRZnWhxr7zzLlFNJPGvc1pTdVV.lsuQkQh3mSjpy6SG/:18535::::::
I just need the screenshot to follow.
Answer 1:
As you have not specified the maximum length for YOURNAME I am taking 4 characters as the max length of YOURNAME as given in the example.
If we are using -t flag then the minimum and maximum length will be the same as stated in -t flag.
command : crunch 7 7 -t @,,,,%% -o /root/password.txt
first 7 states min length and second 7 states max length, -t means the pattern for the password, -o is used to get the output in a file.
@ - means lowercase letter
, - means uppercase letter
% - means number
Screenshot:
Answer 2:
command: john hash.txt
hash.txt : file contains the given hash.
I have created the hash file which contains the hash given in the question, this file can contain only hash part also or the whole line as shown below.
the syntax for john command is : john <has-file>
there is one option that allows us to use a custom wordlist --wordlist=<wordlist>. If no wordlist is provided john wil use default word list to crack the hash.
With using the custom wordlist.
Command: john hash.txt --wordlist=/usr/share/wordlists/rockyou.txt
Note: PLease let me know if you have any doubt.