So in the previous lecture what we just did was we just made this our request we made this broadcast
a map just to get this from this ether framework that is just so denoting This is a virtual MAC address
that we just get every packet to lines or basically to deliver every packet to the clients on that network
and we just combine those broadcast and request a packet with this escapee one funds on which is this
forward SLAs which is going to this combine this packet and we exist so going to soar.
But here that is this layer.
So if I just run this many will see each of these layer printed out here.
So let me just wait at the moment and it is going to give us this internet everything about him.
So it DRP and it is combination of eternity and entropy which is this broadcast which is combination
of these set broadcasts and the requisite packet.
So next thing if you were to say remember what I have told you before was in this demo if I just make
a quick revision that we just made use of this harping to see that MAC address and the IP of the clients
that is connected to the network.
So let me just run this one more time that is this demo and you'll see now that you do this.
Get every of these sick lines that is connected to this network quite easily which is basically using
this RPI method so you can see here it has received the three packet got three answer.
That means we have this insert back is an unanswered backwards.
So these are the two responses that we get while using this escape module.
So that means you can also see here we have to now send this packet.
So basically we have already created now the packet.
Now we have to send this packet to the broadcast to MAC address so that it will just get every Arab
response from the client so as to do that we have to first use some method of the escapees.
So that means we'll just say response one.
So I'll say this once one in response to so this response one is the answer and the response to is on
insert part.
So we have this method important method of this escape module that is yes IP module are this to be metal.
So this the SRP method is a class that is going to this get every information transporter packet that
is transport to the client.
So this important matter.
So I have to now pass here this request broadcast which is our packet that need to be sent.
And next thing what we can do over here is the time out so we can just add this time I would attribute
over here to this indicate that there should be a out maybe after maybe once again or maybe after two
seconds so it can be about once again.
So for now I'll just put here one second.
So what we just did over here was we just made use of this SRP method to send our request broadcast
that we just made over here at the time out of 1.
So now let me just close this down.
So we just get now and sort an on insert.
So this first one is insert packet and second response is on insert packet.
So let's see now what we can do with this.
And start it.
So before that you can see this was our ATP protocol so let me just give the masses right over here.
So let me say this is our request which is our request.
And now if I use this say something like somebody if I wonder somebody to be printed.
So let me just print this first and let me show you what this summary looks like.
So if I just run this and it is mine.
So if I just run this then you'll see that it will just take more time now and now it would say that
ERP who has none says that this is your source.
So this is your source IP which is going to send that IRP request to the destination MAC or basically
to the broadcast MAC address which is your this MAC address which is a virtual MAC address.
And if I have to take this Muhsin that is the IP address then you could see this is our source and use
MAC addresses.
Right.
Printed over here.
So next thing is who has none.
So this Nonie is basically your these IP addresses that you this past year.
We haven't destroyed anything to here.
So if you just remember from the previous couple of Lexis before this DST was the destination MAC address.
So we just saw how we can just get this references so that was the process to list every argument that
was with this CLSA method.
And now we have to make use of these E R B class to this list all of this argument that we have here.
So let me just the comment this out because we don't want this somebody we want this escapee ERP here.
Let me run this mean you'll see the list of an argument that is by Level Four they ought to be known.
So you could see these are the list that is available.
So if you see here if you this.
Get the printed this summary to let me just run this one more time you'll see somebody will be all over
here that is saying ERP that is obviously this ERP request who has none.
So if you see here this fail is none which is BDO Stifel.
So this it is none.
And this is W I yes I really feel is for the MAC address PSR C is for this IP address of the client.
So for now we have to make use of this PDT because this is a non that means we can now include as an
IP to this field.
So same is we have done in the case the broadcast we just saw how this was the feel for the destination
MAC address and we just assigned this virtual MAC address to this destination MAC address.
Now it's time to do that for this air request.
So to do that we have the request is obviously this request and if you see hear that argument or that
field was a DPD is defeated.
So this was the field which had this none.
So I have to now include that this is PTSD.
And that should be IP so you can do it this way or there is also another way to do this.
And let me show you.
So then another way to do is inside this pattern this is so simply type to PTSD which is the field and
now despise the IP that you despised over here while calling this is kind of amateur.
So we have now completed this Adobe request.
Let me just comment this out which is to bring to somebody and let me just remove this or basically
let me also comment this out.
So now we have created our own escapee request that is I had a request over here.
We have now created this broadcast magnet.
This was just for this virtual MAC address next was we just combined those packets we send that back
to this SRP funds and with the time out is signed is 1 1 seconds and we get this response.
So this first one responses and third response.
And the next one is on insert this once.
So now let's see how we can just navigate to this answered an unanswered request.
So first of all before doing that let me tell you this response which is answered and on and so that
we saw in the case of the demo if I saw you the output when you just sat on this demo.
OK.
We haven't done this.
So let me just run this real quick and this was the demo and this was going to give us that is the answer.
Beggars and unanswered.
So this remaining 253 backers with unanswered.
That means we have to now see what this response are.
So basically these responses are restored in the form of list so we can take the documentation of escapee
to see that in the documentation it has written that this response is that that is answered and unanswered
are in the form of a list.
So it was just remember what we learned in the last six in that list are terrible.
That means we can loop over the list.
So let me loop now.
So for element in this response one.
So we are going for the response one which is for the insert.
So for every insert baggage.
Let me just bring this first which is this element and the let's see how this works.
So first of all.
So the thing we want to run is main obviously let's see if this works or not.
So OK.
The next time we talk.
So there was no any problem.
Got three answers.
It is saying that three is connected.
So there is three machines or claimed that is connected to this network.
So you could see the clear cord cord over here.
That is we are getting the response from this SRP.
And that is on the time out one we are just sending this packet of request workers.
And just remember that PTSD was to so the IP address.
This is important.
And basically we made this air request back with this broadcast map.
And that is sent or by the client which is in fact in the form of the responses.
So this is the response one.
This is a response to and based on that response we just salute because these responses are inserted
in on.
So if you just go in the demo you could clearly see it has sworn that with the air being there is the
two packets that is answered and unanswered.
So first one is answered so we just loop on this answer we just print this one and we get the results
so we could see results right over here.
It is giving us the result in the form of this list containing two part.
So let me show you here this contains two parts.
So this is one part and the next part here is this part so you can clearly see the next part is this
long bar.
So if you check the documentation of escapee they have written that the first part which we have seen
right here so you can see there is a two part that is containing one part over here so you can just
distinguish this with a comma.
So there is comma in between them.
So first part here is the input part or basically this the request part and the next part over here
is the response part.
So this has the trick lines that is connected to the network.
So first one is obviously the gateway.
Second one is this client in the third one having this IP address and you can go here to see the MAC
address so you can see this is the source that is having the MAC address.
You can get this MAC address with these yet w DSD that is for the maggots we have already seen this
while we just make use of these escaping so let me show you right over here when you see this ERP.
So let me this list out again.
So with the escapee and it would be Ellis
and Lis go for this LP.
Let me just list out the things that is going to source the argument that is denoting us about the MAC
address and the IP address.
So you could clearly see over here this is w DSD was OK.
This is WSOC.
What's for the Makris and P.C. as RC was for this IP address which can be also seen right here.
So this is your MAC address.
We have another.
This is the IP address.
So we just get some of these client that has thus connected to us or basically they have sent us a packet
in the form of our response.
We just get this response so you can also see the unanswered part with this response too if we see this
is the response to which is on insert.
So let me just run on this on insert part over here into this.
Take some time because it is so much more than that of and so one.
So there was a small answer one.
There were quite three but this.
You can clearly see there is two hundred fifty three package that is on insert.
Only three were inside.
That means three clients were connected to a 53 backers was dismissed.
Basically this was not doing anything.
This means that this packet was not giving any ADP response but these three lines gave me ADP response.
That means there are three clients.
We got their MAC addresses.
We got the IP addresses.
So now let's see only the IP addresses and the MAC addresses from this response one because this is
all the unnecessary information that we get from here.
So let me just comment is our first.
And if I just sit on this man again you will see we have these responses in the form of this list least
you can see this is the list and this are basically you can also see the tuple.
So this is a tuple and this tuple Contains the request part and the response part.
So we don't need this request part because this is unnecessary information.
We just want this to response part because this has the critical information about the MAC addresses
and IP addresses.
So let's get this part of the list a tuple so you know the list on a tuple index this is start from
zero to index.
So here in let me this.
OK.
Wait is this run.
So this part or basically before comma is a direct index.
And after comma easier to one X our first index that means we can now get the first part of this element.
So let's do that first.
So we can do something like Okay here I'll just say that in the element I want only the first part must
not the zero part with a zero to what the request.
We don't want the request and we have now only the response part.
You can also do something like here because this responsibility told you these responses are also in
the form of the tuple.
That means we can also get only the request part from these direct because the data is the insert part
if you want to on insert part that will be at 1.
But we want to insert part that will be a zero and we get the response which is the end service once
we just loop on that and we get the insert that is inserted responses.
If I just run this now we'll just get the information that is much more available or basically much
more valuable than before.
So you can see we have no information that is in the form of juries.
So we have to now filter these.
So in order to filter what you can do is use the arguments we have learned how to take the user B that
is yes our C and the next one would be to print the MAC address.
So it will be element one which is showing us that this is the response.
And yes w yes our C is for the MAC address so this B.S. R C is for the IP address and this is for MAC
address.
We'll just get this information.
Let me just print this one more time.
You'll see now it will this underscore and it will get us the IP address it will get us the MAC addresses
IP address macro.
So let me formatted here.
After every print to RBC Capital every client I want to print some spaces.
So this much auspices will be enough.
Let me just run this again.
You'll see now it will format.
It'll just give us the information that is much more present so let us go over here.
You can see there is three lines.
This is the gateway.
This is the MAC address.
This is the gateway.
This is the macro race.
This is the gateway and this is the MAC address that this gets from these responses.
So in this lecture we just made a complete scan of using this escapee.
So first of all we just made the LDP request we bind it with the broadcaster we're here by using the
Skippy for less.
We just send that to the broadcast MAC address which is done by this SRP which will send this packet
to all of the client.
We just get the response from the client which is insert part if you want to sit on insert part.
It will be it first index.
And now we just loop around it.
Martin this case the information that is invaluable.
We'll be at the deal because we want to insert part because the insert part will be connected clients.
So we'll just get the insert part response.
We'll just loop on that.
We just get this IP addresses and MAC addresses with this formatted and we'll just print this in the
way that normally scanner will do.
So this is the same scanner that will be something like we do in the case of genetic discover which
is the clearly next tools.
We can also do the onion maybe scanner which is the case which we just get the MAC addresses and IP
addresses of the clans that is connected in the network using this program.
So we just made a complete program which can work at the scanner.
So this will be left for this selector.
See you in the next one.