Praying: 1 vulnhub walkthrough

This blog post details a walkthrough of the 'Praying: 1' virtual machine on Vulnhub. The author first discovers a vulnerable MantisBT installation with an arbitrary password reset exploit, leading to a shell. Further exploration reveals user information, which is used to escalate privileges. By exploiting sudo access and modifying a file, the author ultimately gains root access." 121933511,8383725,现代密码学:哈希函数的生日攻击解析,"['密码学', '数学', '安全定义']
摘要由CSDN通过智能技术生成

Praying: 1

虚拟机信息:http://www.vulnhub.com/entry/praying-1,575/

1. 获取shell

80/tcp   open   http           Apache httpd 2.4.41 ((Ubuntu))

服务器只开放了80端口,访问后为apache默认页面,于是用dirb跑了一下目录,发现了admin目录。

==> DIRECTORY: http://192.168.56.105/admin/

发现后发现为mantis的登陆页面

m
测试了一下发现依然存在任意账户口令重置漏洞。修改aministrator账户登陆,发现版本为2.3.0。

reset
利用searchsploit直接找到了命令执行代码。

Mantis Bug Tracker 2.3.0 - Remote Code E | php/webapps/48818.py

于是得到了第一个shell。

msf6 exploit(multi/handler) > run

[*] Started reverse TCP handler on 192.168.56.101:4444 
[*] Command shell s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值