So the next step is to see you.
Right and since we are working with host Hugh White host dot and then Boortz you can see that it returns
a list of words so we can loop over these list of ports and print and print out each force individually
for each host.
So I'm just going to write here.
So let's start with the creating the for loop for Ford and then looping by a range and then the looping
over whole storyboards.
So now you know we can use this list of ports to see which ports are opened up or not.
So I'm just going to write a print statement
for I'm going to write a backslash tab here just to make it more readable.
And then we can we have to see which ports are you working with.
So first sentence and then they can go for that right.
So this tells us which board member it is.
We can also see each protocol it's working on.
So if you want to check out the protocol you can write to us send us here and then we can write or dot
protocol.
Similarly you can find out the state of the port for example if the port is opened up or not.
So I'm going to a percent s in here or dot state.
The next step is to find out what's the service name.
The port is running.
So I'm going to vote person.
And then here for dawn service helps service that name.
So now you can see read or service it is running on for example SMP FFP whatever it is.
So that's clear.
And run it again.
No it's searching from the devices.
Once it has identified to us is OK.
Let's take care person.
I'm going to meet again OK now you can see we have a counter which is 1 9 2 1 6 8 0 1.
It has an associated MAC address which is this one and then it has forced on the key.
Okay.
So it's for that I.D. as integer so I'm going to take this personally.
Uh
okay.
Now you can see that we have a port number 18 and the portable its funding on this DCP the port is opened
and then defense service funding is as it used to be since we are only scanning two ports which is given
here
here.
So just these two port side Sean if we have multiple ports for example if we scan another board let's
say in my name you can only take in and you can see you know it will give information about the port
so it's port nine nine DCP closed and then the service name.
So this is how you can search for Port sides as well.
So that's it for this lecture.
See you next from.