Hello everybody and welcome to this tutorial.
Today I will show you how you can install aircrack and reaver.
So aircrack is pretty simple.
Just type in "yum install aircrack-ng"
and its gonna pick up the right version by default, so just go ahead and press ENTER
In Fedora, it runs through checks every time you call yum.
You can pass -c argument and order that to do that it.
It says package aircrack-ng is already installed and latest version.
You might be prompted for a question along the way.
If you want to skip that, just go ahead and type in " -y"
That's it
With this command that I am selecting at the moment, installation will fly through.
You won't be prompted for any questions
and you will have aircrack-ng installed on your system without any problems.
However, Reaver is quite a different story.
Reaver cannot be found in Fedora's repositories and therefore, it has to be downloaded from the net.
Now the there are lots of places to do this.
I have chosen to download it from Google Code.
That's basically the safest place from where you can download it
and let's just go ahead open up my favorite browser, which is Firefox.
You can open whatever you wish.
Type in "reaver google code"
It should pop up
Yep, this is it
There we go
Now we are on Google Code website, where we have Reaver VPS
You have a description here, and you have a pro version here.
Basically the difference between the pro version and the one that we're getting for free
is this graphical user interface
which, I mean, let's face it
if you're pen tester or a white hat hacker, you're not going to be using that much of guis
I mean, pretty much not at all.
This just means that it's gonna try pins in a certain order
which is more likely to succeed than the default one, according to someone
but not necessarily true
and integrated WEP cracking
and as I said, you don't really need WEP
You're not gonna be able to find these days, pretty much anywhere.
If you do, as I said before, those people don't deserve to have wifi.
It's basically open wifi
regardless of what sort of a password you put in.
Make sure you're not one of those people.
I mean, fine, okay
somebody's going to be able to connect your network and all that
but it opens up a route for a lot worse activity, something more malicious.
Let's put it so they'll be able to reroute your traffic and do stuff of a kind
and sniff it.
Not a good idea.
Just switch to WPA or WPA2
Anyway, I'm gonna go ahead and click on Downloads, in the upper left corner
and there are different versions here that can be downloaded.
I mean, there are no fundamental differences in the way the reaver works in between these versions
but there are bugs fixes definitely in that, and that is very nice.
It is maintained
There is support for it, and so on.
So just go ahead and click on reaver 1.4.tar.gz
and it says reaver 1.4.tar.gz here, file description, etc.
This is the check sum
You can use this in order to verify is your file intact, but I'm not gonna do that now.
I'm just go ahead and download it.
Once it is downloaded, you can go ahead and open up the folder in which it actually exists
and I have a lot of things here.
So it says I have different versions that I have downloaded from different sites
but if you find this package that I am selecting for you at the moment
it says reaver 1.4 fc20
The letters are pretty small.
This is maximum that I can zoom it in.
Don't download it
It doesn't work that well at all
It tends to break and the .rpm extension doesn't work quite as you would expect it to work.
Just download it from Google Code and compile it from source.
There's no reason why not do it, especially when you have me showing you in detail how to do it.
So just go ahead and double click on this file.
You can extract it through a GUI method.
It's far simpler.
You can also extract it through the terminal
but I'm just gonna go ahead and use GUI for this occasion.
This is one of the advantages of Linux over Windows.
By default, it will be able to unpack pretty much anything.
Zip, tar, WinRar, whatever it's going to be able to unpack it, no problem
which is fantastic.
No extra insulation needed; this is all installed by default.
So let's just go ahead and click on extract.
Now where do I want to extract?
Let's say to desktop because I'm gonna delete it anyway
as I already do have it installed.
So just go ahead and press Okay
and yeah, I've just told it to do it twice. Oh well.
Apply to all, override
We're not going to lose a lot of time there, as the extraction process is relatively fast.
Okay, so let's just go ahead and go back to our terminal
navigate over to desktop
"cd /home/Chronic/Desktop/
and do I have it here?
Yep, there we go.
"clear"
Let me just show you that I do in fact have it.
It's much neater if I do it like this
and there we go.
reaver-1.4/
Let's navigate over to that folder.
reaver-1.4/
Clear the screen, list the contents of the directory, go to docs
Let's just go ahead and see what is there
and you might think that I'm some sort of an expert or something of a kind
that I just do these things out of my head.
No. People create readme files for a reason.
They are there to be read, because the developer has left specific instructions on how to do something.
So let's just go ahead and cat it.
Excellent
So the following are Reaver source files.
So it has the description of what is located in each one of these files
So you have 80211.c
Functions for reading, sending, and parsing 802.11 management frames
802.11 is a standard, as I said before
but look at this --
The developer has actually left the entire installation process here.
You have every single command that you need to run explained in detail
what it does, and how you can open and execute it.
This is wonderful
and that is why I say when you download something, when you unzip it
just go ahead and find the readme file.
It's there for a reason.
People do tend to leave instructions there on how to do something
and they most likely encounter the same problems that you might have encountered.
So you can even see possible solutions.
Anyway, you can check this inscription out.
Uh...Not inscription, but the text.
Reaver is only supported on the Linux platform, requires the libpcap and libsqlite librarie
and can be built and installed by running the following commands
and so execute the configuration script, make, make install
That's it
It even tells you how to actually install it.
So they're there for a reason.
Anyway, of course you cannot run the configuration file from here.
You need to reverse course and go to source
Let's see what's in there...
There we go
We have configure
and you can see by default here, it's executable.
If I just give you a longer listing
It has an x permission here, here, and here.
So the user has it, and the group has it as well.
Anyway, type in "./configure"
So now it's checking for stuff.
It has it's dependencies, without which it cannot function.
Type in "make"
There we go
It's running through
So I didn't do anything out of my head here.
I just went on the web, I found the safest place I can find to download the code from
and I'm compiling it here, as the developer of the code instructed me to do it
and the instructions aren't that complicated.
It's just three commands
and the final command is "make install"
Now it's gonna give me a lot of errors here...
Well, not errors, but warnings
primarily because I already have it installed.
I need to clear this out and then be able to install this
but that's not gonna happen, primarily because I do have reaver installed.
So let's just go ahead and check one more time if there is anything else that we've left out.
If I can reach it
Yep, there we go.
So no, I haven't left anything out.
Basically, the last command for you will run.
For me, it won't
primarily because I already have reaver installed on my system.
If there are any problems, feel free to post it in the question section.
I will be more than happy to help you out.
Let's go ahead and clear this out.
So type in "reaver --help"
Excellent
It is installed, it is functional, it is responsive to our commands
and here's the syntax for reaver.
This is the basic syntax.
Of course you can pass all of these arguments through it
and there are quite a lot of them.
Basically what you say is "-i" for network interfaceand "-b" for BSSID
Over the MAC address, put quite simply.
For the MAC address here, you have it.
This is just a sample MAC address that has been generically placed here
and of course, we have even for reaver
-vv for double verbose output, which is fantastic.
Let's just go ahead and clear the screen.
That was a way in which you could have installed aircrack and reaver in Linux
but just in case you are a Windows user, I'll show you how to do it in Windows.
Until then, I bid you farewell.