1 hour 12 minutes
Hello and welcome to this ethical hacking tools with by phone video
In today's quick lesson, we're going to test the zip password. Brute force. Sir, we've coded over the course of the previous two lessons. So if you don't know what this is all about, please go on, watch those two videos to get you back on track.
Okay, so our little program has been written with the purpose of trying to break into a password protected zip archive.
For that, you obviously need a password protected zip archive. And you also need a file containing the passwords You want to try against this archive,
and I have these Resource is ready for you Now accompany this video. There will be an archive dot zip On. Also a past list are t X T file that will allow you to successfully test the program. I then provided the final version of the zip, password, brute force or bite on file in there.
Please also make sure to look into the guy than resource is document that comes along with the this video for further instructions.
Now, let me open up a command prompt. If you are in windows, do the same. But if you're in linen is open up a terminal window and I'm going to navigate to the folder word. The archive, the text file with passwords and the Python script are so CD into desktop CD into scripts
and CD into zip route,
and I'm going to type dirt to see these files.
Okay, so the archive the list with the passwords, and we can just do a more past list that t x t to actually read the file in the terminal
and we can see that there are a bunch of bass words there.
and let's actually see this folder. So I'm gonna type the Explorer
followed by a dot to actually open a Windows Explorer window in the current directory. And if I open the zip archive to extract the fall, that's inside.
If I try to extract it over here, I'm prompted for a password. So providing the wrong password and hitting enter
um, leads to an error and no file being extracted. Now let's go back to the terminal and run our zip of password brute force of python script. So we'll say fine, fine
zip brew that B Y minus Z the archive
and minus B the password list. And then we're hitting Enter
quickly enough. We get a message with the correct password.
And if we look into the contents of the folder again with the ther command,
we have the important dot d x d fall extracted
in windows. Like I said, we can read it in the command prompt with the more command so more important dot t x t
um, so good job. You have successfully completed this module, and if your linens you'd be using cat the can't command important dot t X t, and that's it. That's how you write and test a simple zip password. Brute force, sir, in python.
Now you could further develop the stool toe, extend its brute forcing capabilities to other types of archives like dot Brar
seven zip BZ two and so on. Think about it.
All right, Before we finish off, let's do a quick knowledge check.
So, what command prompt command Did we used to opening Windows Explorer window in the current folder
was it explorer dot
or execute? Dodd.
So this is very simple. If you type open or execute in a command prompt.
You'll get a, um if we type open,
we execute here, we get a command not recognized.
So it's not B or C. And as I've shown you just a few moments ago, the correct answer in this case is a
so explorer, followed by a dot.
So what did we do in today's this lesson? Well, I gave you the falls necessary for successfully testing our little program. And then I give you a demonstration of how this is the *** brute force. It works.
And the next lesson we're going to conclude this course and I am going to provide some additional resource is for you to check out.
My name is Christian, and I'm looking forward to seeing you in the next video.
Offensive Penetration Testing
As a pentester, you need to understand the methods of real-life attackers and use the ...
22 CEU/CPE Hours Available
Certificate of Completion Offered
Advanced Penetration Testing
The Advanced Penetration Testing course teaches the cyber attack lifecycle from the perspective of an ...
15 CEU/CPE Hours Available
Certificate of Completion Offered