目的:纯粹为了体验一把wordpress
两台电脑:kali+metasploitable2(虚拟机 IP:192.168.1.114)
1、在kali中下载好wordpress-4.0-zh_CN.zip
2、在kali /root 路径下新建ftp目录,将下载好的压缩包放入ftp目录
3、kali 中执行如下操作:
root@localhost:~#
ftp 192.168.1.114 (metasploitable2的IP地址)
Connected to 192.168.1.114.
220 (vsFTPd 2.3.4)
Name (192.168.1.114:root): msfadmin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> lcd /root/ftp
Local directory now /root/ftp
ftp> put wordpress-4.0-zh_CN.zip
local: wordpress-4.0-zh_CN.zip remote: wordpress-4.0-zh_CN.zip
200 PORT command
Connected to 192.168.1.114.
220 (vsFTPd 2.3.4)
Name (192.168.1.114:root): msfadmin
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> lcd /root/ftp
Local directory now /root/ftp
ftp> put wordpress-4.0-zh_CN.zip
local: wordpress-4.0-zh_CN.zip remote: wordpress-4.0-zh_CN.zip
200 PORT command