栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

BUUCTF,Web:[极客大挑战 2019]BuyFlag

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

BUUCTF,Web:[极客大挑战 2019]BuyFlag

attention

If you want to buy the FLAG:
You must be a student from CUIT!!!
You must be answer the correct password!!!


only Cuit's students can buy the FLAG

三个提示,买,用money=100000000,是个CUIT的学生,正确密码

源码

	~~~post money and password~~~

if (isset($_POST['password'])) 
{
	$password = $_POST['password'];
	if (is_numeric($password)) 
    {
		echo "password can't be number
"; } elseif ($password == 404) { echo "Password Right!
"; } }

弱比较

password=404a

这是密码

抓包 post 仍然没有反应,第二个提示没用,学生能对应的只能是 cookie 的 user

 改为 1

三个条件满足了两个,money 参数太长

使用科学计数法得到 flag,运算不可用 

 

 flag{baf3e10e-319b-4315-a300-09be81b69856}

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/733477.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号