1
00:00:00,360 --> 00:00:06,480
Right now, can you Linux image containers, most common tools used in the field for ventilation testing

2
00:00:06,480 --> 00:00:07,840
and red team hacking.

3
00:00:08,800 --> 00:00:11,950
Now, however, it is not practical to include every single tool.

4
00:00:12,760 --> 00:00:13,240
All right.

5
00:00:13,270 --> 00:00:16,329
So for that, we will use the APT and Act.

6
00:00:16,329 --> 00:00:22,780
It is a set of tools that helps manage messages or applications on Debian based system.

7
00:00:23,500 --> 00:00:26,290
OK, so the first thing let's start with the update.

8
00:00:26,920 --> 00:00:30,310
So we will use Act Update Command.

9
00:00:30,400 --> 00:00:30,850
OK.

10
00:00:31,630 --> 00:00:34,450
Again, it will show us problem permission denied.

11
00:00:34,450 --> 00:00:36,040
We need to provide this to the command.

12
00:00:36,050 --> 00:00:38,470
So sort of shift 151 as we learned previously.

13
00:00:39,240 --> 00:00:41,650
So sudo update this enter.

14
00:00:41,860 --> 00:00:48,580
So here it will start updating the repository and resources here the resources list.

15
00:00:49,480 --> 00:00:50,530
Let's read a little bit.

16
00:00:51,530 --> 00:00:56,990
Now, with this done now here, you can see that to list the upgradeable commands.

17
00:00:57,350 --> 00:01:00,920
So control at sea control shift V, as you can see.

18
00:01:01,830 --> 00:01:07,640
So it would show us everything that can be upgradeable in the system and with the.

19
00:01:08,420 --> 00:01:08,870
All right.

20
00:01:09,860 --> 00:01:14,840
Not in my case, I didn't want to integrate everything, I just want to upgrade some of them, for example.

21
00:01:15,170 --> 00:01:15,650
So.

22
00:01:16,710 --> 00:01:21,480
I would child type sudo APT Upgrade Command or Sub Command.

23
00:01:22,180 --> 00:01:24,540
OK, and then choose the want we want.

24
00:01:24,540 --> 00:01:26,310
So for example, Metasploit.

25
00:01:28,120 --> 00:01:29,050
That's framework.

26
00:01:29,350 --> 00:01:32,890
And from where I get this, I get it from here.

27
00:01:33,010 --> 00:01:35,770
So if I scroll up a little bit, here it is.

28
00:01:35,770 --> 00:01:37,840
So Metasploit framework.

29
00:01:38,230 --> 00:01:38,670
All right.

30
00:01:39,040 --> 00:01:41,270
So just copy and paste that conservative.

31
00:01:41,330 --> 00:01:41,680
See?

32
00:01:43,090 --> 00:01:49,660
And they did this, and but conservative TV presenter, it would start upgrading, and it will tell

33
00:01:49,660 --> 00:01:55,030
you what it will install, what it will upgrade and all of that stuff, you know that it will start

34
00:01:55,300 --> 00:01:57,730
downloading 600 megabytes.

35
00:01:58,000 --> 00:02:00,400
I don't mean that to be honest for now.

36
00:02:00,730 --> 00:02:03,310
It will do the job so we don't have to upgrade.

37
00:02:04,340 --> 00:02:09,949
Either the whole system, by the way, upgrading the whole system just worked like this without providing

38
00:02:09,949 --> 00:02:10,820
any tool.

39
00:02:11,240 --> 00:02:13,490
OK, now forget about the gray.

40
00:02:13,520 --> 00:02:19,500
This is the great, which is the autocomplete from the Kelly Bash terminal.

41
00:02:19,670 --> 00:02:23,180
OK, we have you here, so it will sudo apt upgrade.

42
00:02:23,280 --> 00:02:24,710
As simple as that, like this?

43
00:02:24,860 --> 00:02:25,160
OK.

44
00:02:25,370 --> 00:02:27,350
And it will start upgrading the whole system.

45
00:02:27,650 --> 00:02:32,090
Now what if I want to install a specific package that is not here?

46
00:02:32,480 --> 00:02:35,240
So, for example, we do not have BSB.

47
00:02:35,900 --> 00:02:37,130
So I want to install it.

48
00:02:37,430 --> 00:02:40,940
So as we learn sudo apt for now now not to upgrade.

49
00:02:41,000 --> 00:02:44,660
Of course, because BHP is not here the same thing.

50
00:02:44,900 --> 00:02:48,230
Update to update their resources so it will be installed.

51
00:02:48,800 --> 00:02:52,370
So sudo apt install BHP and press enter.

52
00:02:53,120 --> 00:02:56,000
As you can see that BHP is already with the new way.

53
00:02:56,030 --> 00:03:00,530
So let's have another thing that BHP might ask Esquibel, for example.

54
00:03:01,520 --> 00:03:03,680
As you can see, my skull is not found.

55
00:03:04,130 --> 00:03:05,660
All right, so far, so good.

56
00:03:06,020 --> 00:03:08,060
Now how to search for such a thing?

57
00:03:08,780 --> 00:03:09,110
OK.

58
00:03:09,410 --> 00:03:11,960
In that case, I would use that search command.

59
00:03:12,320 --> 00:03:15,980
So sudo sudo apt search this time.

60
00:03:17,600 --> 00:03:22,130
My ask you press enter, it will search for everything.

61
00:03:23,180 --> 00:03:28,040
For my school, as you can see by then, my scroll view or whatever.

62
00:03:28,340 --> 00:03:29,090
A lot of stuff.

63
00:03:30,200 --> 00:03:31,180
I noticed packages.

64
00:03:31,460 --> 00:03:31,870
OK.

65
00:03:33,800 --> 00:03:35,480
So we can choose whatever we want.

66
00:03:35,660 --> 00:03:38,930
So, for example, this one or this one or whatever.

67
00:03:38,960 --> 00:03:46,040
OK, now if I want my school server press presenter, you can see that this is the default core one,

68
00:03:46,040 --> 00:03:47,900
which is the default mass currency of our core.

69
00:03:48,080 --> 00:03:51,110
This is what my server or default may ask.

70
00:03:51,110 --> 00:03:51,930
One Simple.

71
00:03:51,950 --> 00:03:53,600
Just copy and paste it.

72
00:03:53,690 --> 00:03:56,870
So sudo apt get install.

73
00:03:57,260 --> 00:04:00,420
And just copy and paste this, for example, and press into.

74
00:04:00,470 --> 00:04:01,790
I don't need that for now.

75
00:04:01,850 --> 00:04:05,150
OK, now, for example, actually, let's have.

76
00:04:05,240 --> 00:04:06,260
Let's have it installed.

77
00:04:06,320 --> 00:04:15,140
So sudo apt from here, let's copy and paste that sudo apt install default mascarell and it will start

78
00:04:15,140 --> 00:04:16,190
installing OK.

79
00:04:16,610 --> 00:04:19,490
And here, as you can see that this tool and it is ready.

80
00:04:19,910 --> 00:04:23,330
Now what if I don't need this and I want to remove it?

81
00:04:23,510 --> 00:04:27,140
So I want to install the other one, which is this one.

82
00:04:27,650 --> 00:04:28,980
The department is quite simple.

83
00:04:29,180 --> 00:04:32,570
The default might ask ourselves, OK, how to do such a thing?

84
00:04:32,870 --> 00:04:36,380
I use this command sudo apt get remove.

85
00:04:36,410 --> 00:04:42,470
By the way, you can see that we are using the APT command and with some commands install, update,

86
00:04:42,470 --> 00:04:48,110
upgrade list upgradable and remove so remote search and remove.

87
00:04:48,410 --> 00:04:49,070
So remove.

88
00:04:49,310 --> 00:04:53,000
And just put the name of the wreckage and let's remove it.

89
00:04:53,300 --> 00:04:59,000
It would ask me, Yeah, after this operation, 10 kilobytes of the disk would be freed.

90
00:04:59,210 --> 00:04:59,900
But it's yes.

91
00:05:00,320 --> 00:05:03,170
And you can see that now it has been removed.

92
00:05:03,650 --> 00:05:04,100
All right.

93
00:05:04,790 --> 00:05:05,690
So far, so good.

94
00:05:05,990 --> 00:05:13,100
Now, by the way, sometimes this doesn't remove everything just to remove that pointer or some.

95
00:05:14,340 --> 00:05:17,850
Dependencies, but if you want to remove everything you need to what?

96
00:05:18,000 --> 00:05:25,350
Dash Dash command, but be aware and be cautious while using the bird because the bird, it will remove

97
00:05:25,560 --> 00:05:28,120
everything related to this package.

98
00:05:28,500 --> 00:05:29,670
So if I press into.

99
00:05:30,690 --> 00:05:33,960
You can see that, but the way it is already installed.

100
00:05:34,380 --> 00:05:36,780
Sorry, uninstalled and removed.

101
00:05:36,900 --> 00:05:38,700
So yeah, and nothing to be removed.

102
00:05:38,850 --> 00:05:43,560
OK, now again, I'm telling you that on a production system, not on that server.

103
00:05:44,600 --> 00:05:46,400
Not on the Kelly Linux system.

104
00:05:46,730 --> 00:05:48,380
Of course, including Enix, we don't care.

105
00:05:49,310 --> 00:05:52,220
We want things to be running and to start.

106
00:05:53,150 --> 00:05:55,190
Attacking the systems, right?

107
00:05:55,910 --> 00:06:01,340
Because after all, we are looking from the perspective of a team, not the blue team here.

108
00:06:01,610 --> 00:06:05,770
Now finally, we have another thing, which is that the wreckage?

109
00:06:05,840 --> 00:06:09,410
OK, now this is not using the APT.

110
00:06:09,590 --> 00:06:15,720
So if I am Typekit, this is a package manager for Debian, as you can see, which means Debian McCaig.

111
00:06:15,950 --> 00:06:17,180
So which means packages?

112
00:06:17,480 --> 00:06:17,900
All right.

113
00:06:18,200 --> 00:06:19,460
So sudo.

114
00:06:20,150 --> 00:06:24,290
The package will use Dash II command, which was means installed.

115
00:06:24,470 --> 00:06:27,770
And what the name of the package, for example, just did.

116
00:06:29,390 --> 00:06:36,950
Deep, the EP, OK, now this is just at this, no, not something to be installed, but I can, for

117
00:06:36,950 --> 00:06:44,030
example, if I want to install specific packages from the internet, for Britain, for the my -- good

118
00:06:44,030 --> 00:06:46,160
or whatever, and I don't need to use the APT.

119
00:06:46,520 --> 00:06:48,200
I want it to be installed.

120
00:06:48,740 --> 00:06:50,300
Debian file OK.

121
00:06:50,510 --> 00:06:55,430
So after I install it, for example, its name is tist sudo the package.

122
00:06:55,790 --> 00:07:00,210
I install this package, which is diabetic and it does start install.

123
00:07:00,540 --> 00:07:00,890
Right?

124
00:07:01,130 --> 00:07:01,820
OK, good.

125
00:07:01,970 --> 00:07:02,870
So far, so good.

