Skip to content

Commit 7192836

Browse files
committed
few edits added
1 parent 03099cd commit 7192836

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

documentation/modules/auxiliary/scanner/ftp/ftp_version.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ This module allows us to scan through a series of IP Addresses and provide detai
77
### Install ftp server on Kali Linux:
88

99
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:
1111
```
1212
local_enable=YES
1313
write_enable=YES
1414
chroot_list_enable=YES
1515
chroot_list_file=/etc/vsftpd.chroot_list
1616
```
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:
1918
5. ```service vsftpd start```
2019

2120
### 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
4746
4. Do: ```run```
4847

4948
## Sample Output
49+
50+
### On vsFTPd 3.0.3 on Kali
51+
5052
```
5153
msf > use auxiliary/scanner/ftp/ftp_version
5254
msf auxiliary(ftp_version) > set RHOSTS 127.0.0.1
@@ -62,20 +64,15 @@ msf auxiliary(ftp_version) >
6264
```
6365
## Confirming using NMAP
6466
```
65-
root@kali:~# nmap -sV 127.0.0.1
67+
root@kali:~# nmap -sV 127.0.0.1 -p21
6668
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
6870
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
7574
Service Info: OS: Unix
7675
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
7976
root@kali:~#
8077
8178
```

0 commit comments

Comments
 (0)