White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics

Statement before class:
1. This sharing is only for learning exchanges, please consciously abide by laws and regulations!
2. Search: Kali and programming, learn more online*** dry goods!
3. Kali and programming are updated on time every day, please learn and pay attention!

1. Background Introduction
FTP is used to transfer files between two computers, and is one of the most widely used services in the Internet. It can set the usage rights of each user according to actual needs, and it also has cross-platform features, that is, FTP clients and servers can be implemented in operating systems such as UNIX, Linux, and Windows, and files can be transferred between each other across platforms . Therefore, FTP service is one of the resource sharing methods often used in the network. The FTP protocol has two working modes: PORT and PASV, namely, active mode and passive mode.
FTP (File Transfer Protocol) is a file transfer protocol, which is a TCP-based protocol that uses a client/server model. Through the FTP protocol, users can upload or download files on the FTP server. Although there are many sites downloading through HTTP protocol, FTP protocol can well control the number of users and bandwidth distribution, and upload and download files quickly and conveniently. Therefore, FTP has become the preferred server for file upload and download in the network. At the same time, it is also an application program through which users can connect their computers with all servers running FTP protocol around the world, and access a large number of programs and information on the servers. The function of FTP service is to realize the remote transmission of complete files.
2. Resource equipment
1. One virtual machine with Kali Linux installed;
2. One virtual machine for the victim's Win2008 server;
3. One Xiaobai ready to go.
3. Strategic arrangement
3.1 Configure and add FTP site, as shown in the figure below.
3.1.1 Click the start menu/select management tools/select Internet Information Services (IIS) manager
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.1.2 right-click the website/select add FTP site
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics

3.1.3 Customize FTP site name, as shown in the figure below.
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.1.4 Customize the physical path of the FTP site, as shown in the figure below.
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.1.5 Click Next
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.2 Set and bind SSL
3.2.1 Enter the local IP address of Windows server 2008/Set FTP port to 21/Set SSL to none/Next

White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.3 View the user list of Windows server 2008, as shown in the figure below.
Steps: Win+R/cmd/input command: net user
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.3 Add users to Windows server 2008, as shown in the figure below.
Step: net user username password/add
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics

3.4 Specify what authentication and authorization information to the FTP server, as shown in the figure below.
Steps: Specify the user as the newly created user/set the permissions to be readable and writable/Complete
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.5 Delete the history of IE browser browsing
Steps: Click Security in the upper right corner/select delete browsing history
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.6 Open FTP in the browser, as follows As shown in the figure.
Steps: Enter ftp://Ip in the URl field. Enter the account information set to create the FTP server/login in the pop-up window.
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.7 Scan the Windows server 2008 FTP (21) port using the *** host nmap, as shown in the figure below.
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.8 Use Metasploit (msf)*** framework to perform VPN on Windows server 2008 FTP service, as shown in the figure below.

White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics

White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basicsWhite hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics

3.9 search ftp_version
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
3.10 show options

Rhosts the SET IP 3.11 (the SET rhosts 192.168.78.165)
3.12 the SET Threads 5
3.13 Show Options
White hat*** and network security engineer teach you: Use Kali Linux to remotely log in to the FTP server basics
_ ____ To be continued ____

PS: This is the end of the study, thank you for watching, for more dry goods, please continue to pay attention to this number!
Hard work and originality, everyone, please remember to praise and pay attention! You can also search: Kali and programming, learn more Kali Linux*** and white hat programming skills!

3.9 search ftp_version

3.10 show options

3.11 set rhosts IP(set rhosts 192.168.78.165)
3.12 set threads 5
3.13 show options

_ ____ To be continued ____

Hard work and originality, every time you comment, like and follow, is our continuous creative motivation! You can also search: Kali and programming, learn more Kali Linux*** and white hat programming skills!

Click me to learn more Kali Linux*** testing and network*** practical skills! Please add link description

Guess you like

Origin blog.51cto.com/14308022/2539770