1
00:00:00,630 --> 00:00:01,790
Welcome back.

2
00:00:01,800 --> 00:00:07,980
Now that we got our clinic set up and ready all we are left to do before we can start coding is install

3
00:00:08,090 --> 00:00:09,940
the PI term.

4
00:00:09,960 --> 00:00:14,790
Now what is by chance you might be asking well pi term is an integrated development environment used

5
00:00:14,790 --> 00:00:19,100
for computer programming especially aimed for Python programmers.

6
00:00:19,230 --> 00:00:25,280
It is also a cross platform so you can get it for Windows Mac OS and manic systems if you like.

7
00:00:25,290 --> 00:00:27,790
Now let's see how we can actually download it.

8
00:00:27,960 --> 00:00:33,180
First of all we need to open up our Firefox and depending on which version of clinics you are running

9
00:00:33,510 --> 00:00:36,840
it might be located on the left side of the screen right here.

10
00:00:36,840 --> 00:00:43,050
In case you're using the newest version and in case you're using the 2019 point for version like I am

11
00:00:43,290 --> 00:00:51,060
you simply just go to this icon right here type in Firefox and click enter it will open up the Firefox

12
00:00:51,060 --> 00:00:55,140
for you and then we can navigate to the Google search bar and type pie chart

13
00:00:58,530 --> 00:01:00,390
click on the first thing that pops up

14
00:01:03,440 --> 00:01:04,850
and then click on Download

15
00:01:08,010 --> 00:01:13,560
it will see that it will automatically realize that we are running Linux systems and will get two different

16
00:01:13,560 --> 00:01:15,810
versions available for download.

17
00:01:15,810 --> 00:01:18,960
We get the professional version and the community version.

18
00:01:18,960 --> 00:01:24,360
Now since the community version is free and open source we are going to download that one instead of

19
00:01:24,360 --> 00:01:27,680
the professional version in just a few seconds.

20
00:01:27,690 --> 00:01:33,480
This pop up windows should come up and it will ask us whether we want to open the file or save the file.

21
00:01:33,720 --> 00:01:37,200
In this case we want to save the file click here OK.

22
00:01:37,740 --> 00:01:39,200
And right here under the Cerro.

23
00:01:39,210 --> 00:01:44,430
If you click on it you will see that it has started downloading by charm on our calendar next machine

24
00:01:46,300 --> 00:01:47,570
now while this is downloading.

25
00:01:47,570 --> 00:01:49,100
I just want to mention one thing.

26
00:01:49,310 --> 00:01:56,920
So we'll just lower this and that will open up the terminal which is this icon right here.

27
00:01:57,440 --> 00:02:03,200
In case you are using the newest version you will not be a root account inside of the terminal.

28
00:02:03,260 --> 00:02:08,300
You will simply just be a user that you created during the installation which I showed in the previous

29
00:02:08,300 --> 00:02:09,760
few videos.

30
00:02:10,130 --> 00:02:14,870
If you're using the DB two thousand ninety point four virgin like I am you will not have a problem with

31
00:02:14,870 --> 00:02:19,970
fruit account as you will simply just be the root account every time you log in as we can see right

32
00:02:19,970 --> 00:02:21,300
here.

33
00:02:21,380 --> 00:02:27,700
Now let me just on this end so we can see everything a little bit better.

34
00:02:28,230 --> 00:02:28,610
OK.

35
00:02:28,730 --> 00:02:30,640
So it's good now.

36
00:02:31,070 --> 00:02:35,600
Therefore some of the commands that we run will require all route privileges.

37
00:02:35,600 --> 00:02:37,700
And I just want to show you how you can run them.

38
00:02:37,700 --> 00:02:43,240
For example let's say the command for my requires road privileges.

39
00:02:43,250 --> 00:02:44,150
Now it doesn't.

40
00:02:44,210 --> 00:02:46,310
But let's say it does.

41
00:02:46,340 --> 00:02:51,590
If you're using a simple user account and not a root account in order to run the code in my command

42
00:02:51,680 --> 00:02:57,010
and not get the x is the ninth error you can simply just type sudo to my

43
00:02:59,990 --> 00:03:02,180
now on the newest version of clinics.

44
00:03:02,180 --> 00:03:08,000
It will ask you for the password of your own account you simply just type it in and it will execute

45
00:03:08,060 --> 00:03:10,200
this command and give you the output.

46
00:03:10,220 --> 00:03:10,580
OK.

47
00:03:11,480 --> 00:03:16,400
So I just want to mention that in case you run into some errors where you require road privileges in

48
00:03:16,400 --> 00:03:21,770
order to run and now let's see if our download has finished.

49
00:03:21,770 --> 00:03:26,990
We have 73 more megabytes left so I'm just going to wait for this to finish and then we will proceed

50
00:03:27,050 --> 00:03:29,160
with the installation.

51
00:03:29,610 --> 00:03:29,890
OK.

52
00:03:29,900 --> 00:03:30,830
So it gets finished.

53
00:03:30,830 --> 00:03:36,480
We want to click on this icon right here which would open up the folder where our PI term is located.

54
00:03:36,590 --> 00:03:40,700
We can close the Firefox as we no longer need it.

55
00:03:40,820 --> 00:03:46,850
And right here we can see that the pie chart is located in the slash root slash downloads directory.

56
00:03:46,910 --> 00:03:52,920
Now on the new clinics it might be slash the name of your account and then slash downloads.

57
00:03:53,210 --> 00:04:01,940
So let's navigate inside of our terminal to that directory slash route slash downloads type less and

58
00:04:01,940 --> 00:04:04,880
we can see pie chart is right here.

59
00:04:04,970 --> 00:04:10,340
Now you might notice that it has the extension of dots part of the GC which simply just means that this

60
00:04:10,340 --> 00:04:17,000
is a packed file and we have to unpack it before we actually run anything from it in order to unpack

61
00:04:17,000 --> 00:04:17,380
this.

62
00:04:17,390 --> 00:04:25,070
You'd simply just type the comment TAA and then dash X the F and then the name of the file.

63
00:04:25,340 --> 00:04:29,560
You can simply just type P Y and then tab in order to autocomplete the names.

64
00:04:29,570 --> 00:04:33,070
You don't have to bother typing all of this by yourself.

65
00:04:33,070 --> 00:04:36,070
Press your enter and in just a few seconds.

66
00:04:36,110 --> 00:04:37,250
This should be in packed

67
00:04:39,950 --> 00:04:40,220
OK.

68
00:04:40,260 --> 00:04:41,250
So here it is.

69
00:04:41,250 --> 00:04:46,500
Once we typed Ellis once again now we will have another directive which will be the unpacked by Tron

70
00:04:46,500 --> 00:04:47,760
directory.

71
00:04:47,760 --> 00:04:54,690
So let's navigate to there using DCD command type Alice and we will see bunch of files and directories

72
00:04:54,750 --> 00:04:57,000
inside of this pie chart directory.

73
00:04:57,000 --> 00:05:04,440
We want to go to the bin directory palace once again and inside this bin directory we want to run this

74
00:05:04,440 --> 00:05:07,050
by charm dot as each file.

75
00:05:07,050 --> 00:05:10,000
Now you might notice that this is a dot as each extension.

76
00:05:10,020 --> 00:05:12,660
Therefore we need to run it using bash.

77
00:05:12,660 --> 00:05:17,900
We simply just type in bash and then by Trump dot as H.

78
00:05:17,940 --> 00:05:21,560
Now this is another command that might require road privileges in order to run.

79
00:05:21,570 --> 00:05:27,120
So in case you're using the U.S. Virgin of clinics and you are not to count your same just by sudo and

80
00:05:27,120 --> 00:05:33,300
then bash by turned up as each type in the password and they should execute with no problems.

81
00:05:33,300 --> 00:05:37,130
So let's run this.

82
00:05:37,370 --> 00:05:42,320
It will run the by chance but as each program and it should start by charm for us.

83
00:05:42,380 --> 00:05:43,250
Here it is.

84
00:05:43,250 --> 00:05:48,920
We got the chart opened up and before we actually click on Create new project we want to go down here

85
00:05:48,950 --> 00:05:57,470
under the configure and click on Create Desktop Entry we want to check create the entry for all users

86
00:05:57,500 --> 00:06:04,610
and click on Ok once we do that we can simply just click on Create new project.

87
00:06:04,620 --> 00:06:10,890
Call it test since this is the test project and we are not going to code anything inside of this project

88
00:06:11,430 --> 00:06:14,470
and it should load up this window right here.

89
00:06:14,490 --> 00:06:16,660
It will create the virtual environment for you.

90
00:06:16,680 --> 00:06:22,260
It will be some tips for the programming and also for the pie chart which we are not really interested

91
00:06:22,260 --> 00:06:28,540
in and when everything is done and everything will go the top we should be ready to code.

92
00:06:28,550 --> 00:06:31,070
So let's click on close right here.

93
00:06:31,070 --> 00:06:32,150
Let's enlarge this.

94
00:06:32,930 --> 00:06:35,030
So this is how pi term looks like.

95
00:06:35,030 --> 00:06:41,840
Now in order to create a file and stopped coding you can go to the test right click on it click on new

96
00:06:42,050 --> 00:06:43,540
and then byte on file.

97
00:06:44,090 --> 00:06:46,240
Let's call it test dot P Y.

98
00:06:48,470 --> 00:06:52,080
And it will let you code python program right here.

99
00:06:52,370 --> 00:07:03,550
So you could see if you just type print Hello World and then go on the run run the program from the

100
00:07:03,550 --> 00:07:04,750
test.

101
00:07:05,050 --> 00:07:08,950
And here it is the output which says hello world.

102
00:07:08,990 --> 00:07:14,510
Now if you install by turn for the first time these letters right here might be too small for you.

103
00:07:14,510 --> 00:07:21,680
Let's see how we can increase the font of these letters so you can go onto the file go to the settings

104
00:07:23,600 --> 00:07:31,290
under the settings you want to go to the editor click on font and under the font you can change whichever

105
00:07:31,290 --> 00:07:32,150
font you like.

106
00:07:32,160 --> 00:07:34,870
So let's say 20 to click on OK.

107
00:07:35,370 --> 00:07:38,440
And the letters are now larger.

108
00:07:38,550 --> 00:07:43,830
So now that you got the pie chart ready in the next section we're going to start off with our first

109
00:07:43,830 --> 00:07:48,450
project which is going to be a port scanner in Python 3.

110
00:07:48,990 --> 00:07:49,320
OK.

111
00:07:49,500 --> 00:07:52,050
So that will be about it for dictatorial.

112
00:07:52,050 --> 00:07:53,250
Thank you for watching.

113
00:07:53,290 --> 00:07:56,490
And let's get straight into the hacking in the next section.

114
00:07:56,490 --> 00:07:57,270
Take care.

115
00:07:57,330 --> 00:07:57,630
By.
