1
00:00:07,080 --> 00:00:10,740
So sudo dnf
list and without

2
00:00:10,740 --> 00:00:14,400
any arguments,
that's showing all.

3
00:00:15,089 --> 00:00:19,469
Well, I think the best way to figure
out if an FTP server has been installed is

4
00:00:19,469 --> 00:00:23,850
grab FTP, because there's no guarantee that the
name of the package is starting with FTP.

5
00:00:24,890 --> 00:00:31,002
And there we can see that
there is a vsftpd arc. But hey,

6
00:00:31,002 --> 00:00:37,115
there is one thing that we
are overlooking here. Does that mean that

7
00:00:37,115 --> 00:00:43,227
the VSFTPD has been installed? Well,
let's analyze by doing a RPM QA

8
00:00:43,227 --> 00:00:49,340
which is querying all packages, pipe
grep, vsftpd and that's showing no vsftpd.

9
00:00:49,799 --> 00:00:54,945
You know what the problem is?
The problem is that in sudo dnf

10
00:00:54,945 --> 00:01:00,090
list there is packages that are
listed as installed packages right here.

11
00:01:00,609 --> 00:01:05,310
And there are packages that
are not listed as installed packages.

12
00:01:05,890 --> 00:01:10,250
And that is the
case for this vsftpd.

13
00:01:10,849 --> 00:01:14,189
And it's not even easy to
see that it's not currently installed.

14
00:01:14,790 --> 00:01:20,634
But hey, there is sudo dnf list
installed that is only showing installed packages. If

15
00:01:20,634 --> 00:01:26,477
you want to know if it's installed,
grab on that for for FTP and there

16
00:01:26,478 --> 00:01:32,322
you can see no FTP has currently
been installed. So that is really something to

17
00:01:32,322 --> 00:01:38,165
be aware of if you are using
sudo dnf list and the result is a

18
00:01:38,165 --> 00:01:44,009
large list of packages. Make
the difference between installed and uninstalled.

19
00:01:44,950 --> 00:01:50,600
Now next we need to use a software
manager to install the package that contains nmap. Now

20
00:01:50,600 --> 00:01:56,250
I don't want to do that. I want
to do DNF install minus YVS ftpd because we

21
00:01:56,250 --> 00:02:01,900
already installed MMAP earlier. Feel free to install
a different utility if you want to as well.

22
00:02:02,420 --> 00:02:04,640
And that is what we
needed to do for this lab.
