1
00:00:00,360 --> 00:00:01,220
Welcome back.

2
00:00:01,230 --> 00:00:04,590
Let's perform a recap on number one the bailout scandal.

3
00:00:04,620 --> 00:00:06,180
All right so let's go step by step.

4
00:00:06,210 --> 00:00:13,040
So the first thing that we did is we important our ports camera that recorded in the previous project.

5
00:00:13,080 --> 00:00:18,720
Now in order for this port scandal to work we perform some of the modifications to the code itself by

6
00:00:18,750 --> 00:00:22,820
adding the actual ports can class which will have these multiple methods.

7
00:00:22,860 --> 00:00:26,790
And each one of them will perform a separate task.

8
00:00:26,910 --> 00:00:32,670
We also performed some little modifications to the actual parameters themselves and also deleted to

9
00:00:32,670 --> 00:00:37,120
get better function and we put it inside of the scan port function.

10
00:00:37,140 --> 00:00:40,020
We also removed all of the print statements as we did not need them.

11
00:00:40,170 --> 00:00:45,840
And we added two different lists which is the banners list and the open ports list in order to be able

12
00:00:45,840 --> 00:00:51,290
to print the banners and open ports inside of our vulnerabilities Canada.

13
00:00:51,390 --> 00:00:55,800
After that we then created these three variables which will store all of the needed information for

14
00:00:55,800 --> 00:00:57,070
our ports cannot run.

15
00:00:57,390 --> 00:01:01,930
We initiated an object right after it which will belong to the class port scan.

16
00:01:02,070 --> 00:01:08,130
We then initiated the scan itself by calling the scan method from the port scan class after the scan

17
00:01:08,130 --> 00:01:08,940
has finished.

18
00:01:08,940 --> 00:01:15,780
We now know that after this line in our open ports list right here and in our banners listed here we

19
00:01:15,780 --> 00:01:17,640
have all of the results ready.

20
00:01:18,300 --> 00:01:25,830
So then after the scan we open the file which contains the portable softwares on open port as soon as

21
00:01:25,830 --> 00:01:26,640
we open the file.

22
00:01:26,640 --> 00:01:32,400
We created the count variable which is really important in order to keep track of elements in the banners

23
00:01:32,430 --> 00:01:34,560
and open ports as well.

24
00:01:34,560 --> 00:01:40,310
After every banner that we scan we increase the count variable by 1 and proceed to the next banner.

25
00:01:40,500 --> 00:01:47,010
And then we compare the line with the defender itself and if there is any part matches with the banner

26
00:01:47,310 --> 00:01:54,360
we will print it as a vulnerable banner as well as specify which port the software is running on.

27
00:01:54,370 --> 00:01:54,850
All right.

28
00:01:55,300 --> 00:02:00,970
So now that we recapped all of the things that we did let's perform one final test to see whether it

29
00:02:00,970 --> 00:02:01,840
works.

30
00:02:02,010 --> 00:02:10,480
If I clear this python 3 and then both scandal y let's perform the same test once again.

31
00:02:10,630 --> 00:02:18,670
Well web dot com first 100 ports and world banners dot the extreme.

32
00:02:19,190 --> 00:02:23,640
Now you might be asking the reason why we are performing these recaps after every project.

33
00:02:23,840 --> 00:02:28,130
While it is in case you missed something or didn't understand something so we just go over the code

34
00:02:28,160 --> 00:02:29,360
one more time.

35
00:02:29,360 --> 00:02:36,590
In short term and it will also help you to remember everything better and to fully understand the program

36
00:02:36,620 --> 00:02:42,560
once it is fully coded and once it is working as well as we can see we've got the exact same result

37
00:02:42,590 --> 00:02:48,500
as in the previous video and we managed to find both of the vulnerable banners which is good.

38
00:02:48,500 --> 00:02:59,990
Now if I tried to for example scan my routers IP address 100 world banners talking Steve it will scan

39
00:02:59,990 --> 00:03:05,690
my router and you will see it will not find any vulnerable softwares as there is not any open port on

40
00:03:05,690 --> 00:03:09,500
my router which is running one of these two softwares.

41
00:03:09,500 --> 00:03:10,020
All right.

42
00:03:10,100 --> 00:03:13,410
So that would be about it for this project I hope you enjoyed it.

43
00:03:13,490 --> 00:03:19,160
And in the next video we're going to see how we can still gain access to the target machine even if

44
00:03:19,160 --> 00:03:23,840
we don't find a vulnerable software running on an open fourth and we don't know how to exploit it.

45
00:03:24,140 --> 00:03:29,210
We're going to take a look at some of the different things that we can do in order to enter the target's

46
00:03:29,210 --> 00:03:36,470
machine such as for example performing the SSA brute force and gaining the SSA access to the target.

47
00:03:36,470 --> 00:03:41,230
So we're going to see how we can do that in our next project and after that many more projects to go.

48
00:03:41,280 --> 00:03:45,740
So thank you for watching this tutorial and I will see you in the next lecture by.
