warnning disclaimer
this post does not promote or encourage any illegal activities all contents provided by the post is meant for educational purpose
Nmap tutorial for beginners
I've got, there'sa lot of things that run on it and some things that I just setup that I'venever really used and haven't bothered to shut them down, and so what we get here is myhost and we can see that I've got FTP, SSH, SMTP, we've got the standard domain in HTTP, pop3, there's a bunch of stuff here and I'mnot going to go into what all those are but we can see that these are everythingthat the server has. You can also set a file, so let me clear this. Let'sopen up gedit.
So, we're going to create a file of ofhosts that we want to regularly scan and this can save time when we scan them ifyou've got like you know a few hosts that you regularly check on. So, I'm goingto put "pointybracket.net" "192.168.0.1" and "192.168.0.100" and I'm gonna save this as "networks.txt" So, what we can do there is we can type"nmap -iL -/networks.txt." so it's a lowercase "i" and a capital "L" and then the location of that file, so itwas "networks.txt" in my home directory. This is going to scan each of the hosts that isin that networks file. It returns in the order that they werescanned in, so that's pretty neat.
I want to go over a few more things with youguys regarding this command it does get pretty big there's so much so that youcan do with this, and so I really urge you guys to go and explore this ifnetworking is one of your interests, if you want to really you know follow that.One of the things I want to show you guys is how we can turn on OS inversiondetection during the scan, and so what we're going to do is type "nmap -A 192.168.0-100" and this is going to scan, oh I had a little typo in theIP address there so I had just fix that, so this should tell me the operatingsystem versions that are running on the devices on my network, and you can alsofind this information about other hosts. Aside from this, just while this isrunning you can scan aa network and find out which servers and devices areup and running by using the flag "-sP" You can displaythe reason that a port is in a particular state by having theflag "--reason" You can choose to only show opened ports which appears tobe the default functionality here, it doesn't show the closed ports. Youcan actually also show all of the host interfaces for a machine by typing "--iflist" in the list of arguments for this command, and
I mean again it's really bigso go ahead and look this up. If you wanna type in google.com"nmap commands" there's a bunch of different ones that you guys should playaround with, this was more of an introduction onto themost common or basic functionalities of this program. I'm going to cancel this here and I'm just going to restart. This will go a bit faster, I'm just going to target my own IPaddress here so we can get this done and you guys can see the example output thatthis is gonna do when adding the "-A" slag in here. So, here you can see a lotof information about this machine. Let's go to the top here.
We've got the port, the state,and the service, as well as the version of the service. So, I have Apache 2.4.12 installed and that's also the same one here. If we go down we get more information about thehost cell, so we have OS UNIX, we've got the computer name, the domain name ifanything is configured, the fully qualified domain name, and just a lotmore information. So, that is the nmap command and it would be useful if you'retrying to just scan your network, and one of the examples that comes off the topof my head that would be you know when
I would use command is ifI noticed that the internets you know running a bit slow. Let's say I've got 10 peoplein my house and half of them may or may not be using the internet and I wannasee how many people are online, this is what I would do in that instanceor if you you know if you want to check how many machines offer a certainservice, or what the IP address is that you need to use to access a certainservice on another machine, this would help you figure that out. So, thank you guys for watching thisvideo, I will see you guys again soon.


