Hello, everyone.
So in this video we are going to see how you
can scan using a set of scripts with
the help of a wildcard character.
So in this video, you will learn if you
want to learn multiple scripts onto a Target.
You can also do that.
The syntax of doing this is nmap the target IP address
followed by -script equals to
http - star.
This means all the scripts that
contains the name starts with
http.
Will automatically be run towards
the target.
So you can scan a Target by simply giving an
IP address and specify The Hyphen hyphen script equals
to http -star flag, which
is used for scanning services with the name starting with
this particular HTTP. You can always
add a hyphen V to see the output in verbose mode and
this is the example that how to do this. So, let's
see this in practical
By terminal I have given the command which is nmap -script
and then I have given SSH -
star which means I want to run all the
scripts of SSH on this particular Target.
I also given a range of ports.
As soon as I hit enter as you can see on my screen.
All the SSH scripts are default loaded as you
can see this brute forcing has also started.
This is the script which is SSH hyphen. Brute as
you can see over here.
I'm going to stop this because I do not want to Brute Force
the SSH.
Let's try to use another script.
Of let's say http.
So I'm going to change this SSH to http and
I'm going to hit enter.
As you can see the scan has been started successfully.
And all the HTTP scripts that are
into the NSE which is the end map scripting engine will
automatically be loaded and start.
This can is going to take a long time
because there are a lot of scripts that are
going to run so I'm not going to cover the
whole particular HTTP all the
scripts. This is which you can try yourself with
your targets as you
can see here is showing me around one hour 25
minutes remaining so I'm going to stop this scan.
remember
when you perform this type of scan which loads
all the HTTP scripts like
this using the wildcard character it is going to take
enough amount of time to complete your scan
Thank you.