Hello, everyone.
so in this video we are going to see OS detection
based on SMB OS
Discovery script
So this script gives us
more reliable results when
we perform a OS detection on
our Target.
So the syntax of doing this particular scan is
and map the target IP address followed by
hyphen hyphen script hyphen hyphen
SMB hyphen OS -
discovery
so
you can always add a hyphen V flag to see
the output in verbose mode.
As you can see the example is given over here, which says
nmap the IP address and smbos
discovery.
So, let's see the practical.
Just you can see on my terminal I
have written nmap.
the target IP address hyphen script and the
script name
Added with hyphen VV to
see the output in verbose mode.
As you can see the scan has successfully started and map
has already discovered that there are
three open ports.
Perfect. The scan has been completed successfully and
you can observe over
here the service info gives
the result of the OS scan
because of the script.
as you can see
the script is able to identify that the
underlying operating system of the target is
Windows as you can see over here.
It says Microsoft Windows.
so
I hope you guys understood how we performed the SMB
OS Discovery scan with the
help of nmap to identify the exact version
of
The operating system which is running on our Target.
Thank you.