hack the box[HTB]web题之Fuzzy

Fuzzy

题目描述

We have gained access to some infrastructure which we believe is connected to the internal network of our target. We need you to help obtain the administrator password for the website they are currently developing.

流程

大致是说给我们一个内网入口,叫我们去获得管理员密码

登网站看一下

欢迎来到Acme的公司…XXX(看着就是简介)
在这里插入图片描述
上图肯定不会是管理员界面,用目录扫描工具扫一下有什么吧。

gohb@gohb:~/桌面$ gobuster dir -u http://docker.hackthebox.eu:30568/ -w /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt 

在这里插入图片描述
css,js这是拿来渲染界面的没啥用,/api 应该是什么接口之类的文件,扫一下下面有什么

gohb@gohb:~$ gobuster dir -u http://docker.hackthebox.eu:30568/api -w /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt -x php,txt,html,htm

index.html 估计是首页,看看action.php吧
在这里插入图片描述
进入action.php界面如下:
在这里插入图片描述
提示说参数未设置,估计是后面要跟什么参数吧,用wfuzz测一下

wfuzz --hh=24 -c  -w /usr/share/dirb/wordlists/big.txt http://docker.hackthebox.eu:30568/api/action.php?FUZZ=testc

在这里插入图片描述
找到个reset,risorse(只有reset下面有东西),继续wfuzz

gohb@gohb:~/桌面$ wfuzz --hh=27 -c  -w /usr/share/dirb/wordlists/big.txt http://docker.hackthebox.eu:30568/api/action.php?reset=FUZZ

在这里插入图片描述
扫到一个参数20和334,?reset=334好像错了
在这里插入图片描述

?reset=20成功

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值