In this lecture, we are going to see how we can crack office passwords on Windows.
We will be able to take our word Excel and PowerPoint password.
This method.
We've already seen the editorial on Lennox.
But running John on Windows is somewhat tricky as different modules of John are written in different
languages.
That's why we have installed Python along with John as most of the module written in Python.
Though the concept of tracking is same.
First, get the hash from the file and then crack the hash with John.
For this tutorial we are going to prepare a password protected PowerPoint file.
Save the word file in windows.
We can give it a password by going to the general option and selecting a password.
No.
Copy the file to the zone folder in Windows.
No.
We need to open command prompt in the same folder.
And get the hash of the document.
You can use the command as shown on the screen here.
We need to provide the full link of Python executable, which is C python 27 in our case.
And then we are going to write office to PI as the module is written in Python and then the file name
and then the file where we want to store our hash, which is hash dot text in our case.
Once we have hash or hashed or text file, we can use the command as shown on the screen to get the
password.
For this tutorial we are going to use the tag conditionally.
Then once the password is correct, it will be shown on the screen.
Who see the crack passwords we can run on again with the flag.
And our passwords will be shown on the screen.
So let's actually crack some passwords.
First of all, create a PowerPoint file in Windows.
Right.
Some content in it.
And save it for while saving it.
Go to the general options and give it a password to open.
Re-enter the password and click okay and then save the file.
To check whether a password has been applied.
Double click the file to open it and you can see that it is password protected.
Close it.
Copy the file to the zone folder in windows.
Open the command, prompt the same directory.
You can open the command com in the same directory by simply typing cmd in the address bar and press
enter.
And you can see that command prompt has been opened while in the same directory.
No.
We need to know the exact part of Python executable.
Let's see where we every dollar python.
You can go to computer, see, and here you can see that our python is installed in Python 27 directory.
Come back to command prompt and write complete path of python executable.
Followed by offers to join the utility, the target file name and the text file name that will store
our hash.
It was done.
You can go back to the old directory, open the text file, and you can see the hash of our document.
No.
Crack the password.
Traditionally just use the command, John, with the word list parameter.
This press enter and loan will start clicking the password.
Once the password is crack, it will be shown on screen.
If you want to see all your passwords, you can run the John Command again, which hopefully.
So in this lecture we saw how we can run down on windows and crack some office passwords.
I hope you like this lecture and see you in the next lecture.