Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
OK so now let's cover network commands.
So the first command I want to cover is i f config so you may be familiar with the Windows version of
this which is IP config and they pretty much do the same thing.
So it shows you hear your different interface types and the IP address associated with them.
So each zero here either net zero has an IP address of 1 9 2 1 6 8 1 3 2 1 6 4.
You can see the net mask the broadcast address and you can see the MAC address as well.
And we also have a loop back address here.
Now if your machine has a wireless adapter or at some point you want to do wireless penetration testing
you're going to need a W config and you should not expect to see anything on this at the moment unless
you're using a laptop then you actually might see a configuration down here for it if you would see
something underwriter you can flag.
You would see like a W lan one w land zero something along those lines.
OK.
And another common command that we're gonna see is gonna be the ping command so we can just type in
ping and the address that we're trying to talk to.
So for example I'm going to try to paying my home router and I get talking back.
So if I tried to ping something that wasn't in my network like a 16 down one you're going to see the
results change.
So with ping here ping is going to be endless until we hit something like control C to stop it.
It'll ping forever so I'm going to control C again and kind of show you the difference.
So you see that we attempted to ping here and we got replies We got information back.
Well that's good.
That means we're talking to the other machine and says Hey are you there.
It says Yeah I'm there and we try to ping this machine here but this machine's not talking back.
It could mean that the machine is on the network or that the machine is just blocking ICMP traffic.
Icmp is a another word for ping.
So moving on to the next command.
I want to show you ARP so the best way I like to type in is ARP with a switch of a
and ARP is just going to show you mac addresses that it talks to and the IP address.
Actually I said that backwards is going to show you the IP address it talks to and the MAC address associated
with it.
So if an IP address reaches out say 1 9 2 1 6 8 15 that one talked out to this machine it's going to
say OK hey Who are you.
It's to get a broadcast message out and say who has this IP address.
And then the IP address will respond and says Hey I do.
And this is my mac address.
So ARP is just a way of associating IP addresses with mac addresses and once you know that you can also
look at net stack.
So net stat dash AML is another one of my favorite commands and this shows you just the active connections
that are running on your machine.
So if you scroll way up
and you can just kind of see what's open and what's talking here where this really comes in handy on
a penetration test is to see if a machine is talking to somebody else.
Same thing with AAP.
You want to know what that machine is associated with.
And is it talking to something on a port.
So this is more just internal right now but it's still good to know.
So for example if I were to open up a Firefox page and connect out to the internet then I went and I
did a net debt again I would see information about that port being open and.
And that I am going out with it.
So just kind of keep that in mind.
These are not commands that you really need to know in depth right now.
Networking does come into play when you are doing penetration testing.
But we're going to cover these commands time and time and again.
I just wanted to give you a very brief introduction to them OK in the last command that I have for you
today is rude.
So if you type in a route that's going to print your routing table in the routing table is important
because it tells you where your traffic exits essentially.
So for this VM my traffic is exiting on 1 9 2 1 6 8 1 3 4 0.
So any traffic goes out of this 0 0 0 0 gateway in this range right.
So when it goes out this gateway it's doing not so network address translation and it's running off
my computer.
So the best examples aren't here but it's important to know route as well because there could be a machine
that you're attacking that has multiple rounds so you might see a 134 and a thirty five because it has
a dual home Nick the meaning it has to nicks inside of it.
So it's actually talking to a completely different network that you didn't know existed.
So you might have been attacking one network and the one thirty four range and then one thirty five
just out there and this computer can talk to both.
And until that point you had no idea.
And that's the idea of called pivoting when you switch a network from one to the other.
But you're using a machine.
So that's it for this lesson and the next lesson we're going to talk about viewing creating and editing
files.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.