@@ -7,15 +7,14 @@ This module allows us to scan through a series of IP Addresses and provide detai
7
7
### Install ftp server on Kali Linux:
8
8
9
9
1 . ``` apt-get install vsftpd ```
10
- 2 . Allow local users to log in and to allow ftp uploads by editing file /etc/vsftpd.conf uncommenting the following:
10
+ 2 . Allow local users to log in and to allow ftp uploads by editing file ` /etc/vsftpd.conf ` uncommenting the following:
11
11
```
12
12
local_enable=YES
13
13
write_enable=YES
14
14
chroot_list_enable=YES
15
15
chroot_list_file=/etc/vsftpd.chroot_list
16
16
```
17
- 3 . ** IMPORTANT:** For allowing anonymous access set ``` anonymous_enable=YES ```
18
- 4 . Create the file /etc/vsftpd.chroot_list and add the local users you want allow to connect to FTP server. Start service and test connections:
17
+ 3 . Create the file ` /etc/vsftpd.chroot_list ` and add the local users you want allow to connect to FTP server. Start service and test connections:
19
18
5 . ``` service vsftpd start ```
20
19
21
20
### Installing FTP for IIS 7.5 in Windows:
@@ -47,6 +46,9 @@ This module allows us to scan through a series of IP Addresses and provide detai
47
46
4 . Do: ``` run ```
48
47
49
48
## Sample Output
49
+
50
+ ### On vsFTPd 3.0.3 on Kali
51
+
50
52
```
51
53
msf > use auxiliary/scanner/ftp/ftp_version
52
54
msf auxiliary(ftp_version) > set RHOSTS 127.0.0.1
@@ -62,20 +64,15 @@ msf auxiliary(ftp_version) >
62
64
```
63
65
## Confirming using NMAP
64
66
```
65
- root@kali:~# nmap -sV 127.0.0.1
67
+ root@kali:~# nmap -sV 127.0.0.1 -p21
66
68
67
- Starting Nmap 7.40SVN ( https://nmap.org ) at 2017-04-24 00:12 IST
69
+ Starting Nmap 7.40SVN ( https://nmap.org ) at 2017-04-24 23:11 IST
68
70
Nmap scan report for localhost (127.0.0.1)
69
- Host is up (0.0000020s latency).
70
- Not shown: 997 closed ports
71
- PORT STATE SERVICE VERSION
72
- 21/tcp open ftp vsftpd 3.0.3
73
- 111/tcp open rpcbind 2-4 (RPC #100000)
74
- 5432/tcp open postgresql PostgreSQL DB 9.5.4
71
+ Host is up (0.000035s latency).
72
+ PORT STATE SERVICE VERSION
73
+ 21/tcp open ftp vsftpd 3.0.3
75
74
Service Info: OS: Unix
76
75
77
- Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
78
- Nmap done: 1 IP address (1 host up) scanned in 6.35 seconds
79
76
root@kali:~#
80
77
81
78
```
0 commit comments