Hello everyone. So in this video we are
going to see how we can use nmap for
Recon.
So
in this video we are going to see how you can perform trace
route scan using and map
which is very useful to identify the
trace.
Of the root to your target server.
and to identify the Hops that you
are taking between
Your network to the Target server?
So the syntax of doing this scan is nmap the target
IP followed by hyphen hyphen trace route.
So you can scan a Target by simply giving an
IP address and specifying the trace route flag. You can
always add hyphen V to see the
output in verbose mode and also you can
see a example is given over here.
So it is the Practical time and let's see, how can
you perform the trace routes can
as you can see on the terminal I have typed the
command which is nmap hyphen hyphen traced out -
p
Port 80 which means I'm going to scan for Port 80
and my target which is scan me Dot nmap.org.
As you can see this particular scan requires
root privileges.
so
you can run this can by typing the pseudo command
or you can become the root user.
So I will switch quickly to the root user.
And now I'm going to run the same command.
Once I run this command you can see the nmap has
started. We are not able to see the output onto the
screen.
Because we did not add hyphen V but you
can see the scan has completed and the output is
visible to us on the screen.
Alright, let's see the output.
In the output you can see the trace route which
has happened and you can identify from my
computer the first request that went was
from my router.
That is the first IP address as you can see over here.
Then the request went to this particular IP address.
The next was this the next one was
this before reaching my target, which
was can be Dot nmap.org.
finally to this IP address
so we have identified this way that
the trace route output gives us the
Hops that our request takes between
different different servers.
in between
alright, so let's try to scan another
server this time. So let's say
I will scan hectify this time. So let
me just type actify dot in my website.
And you can see the scan has started again.
This time, let's see. What is the trace
route output?
As you can see the servers has changed this time
and the final request is been
going to the web hosting server, which I have purchased
which is server 2 Double 3
- 2 dot web hosting.com and this
is the IP address of my server.
This way you can identify where the server
has hosted which is the hosting service and how
are the Hops taking place in between?
So I hope you guys understood how you can perform
a trace route scan and identify the
Hops in between as well as
there is the target server located on.
Thank you.