当前位置:网站首页>[BJDCTF2020]Easy MD5
[BJDCTF2020]Easy MD5
2022-08-08 18:47:00 【努力做大佬m0_68074153】
1.万能密码ffifdyop
查看源码没有什么消息,抓包查看在相应包的http头部发现了hint。
select * from 'admin' where password=md5($pass,true)
这里我们可以使用万能密码,ffifdyop,具体可看师傅的文章ffifdyop——绕过中一个奇妙的字符串。
成功进入下一个界面。
2.MD5碰撞
查看源码发现php代码
<!--
$a = $GET['a'];
$b = $_GET['b'];
if($a != $b && md5($a) == md5($b)){
// wow, glzjin wants a girl friend.
-->
这里又用到了我们的MD5碰撞与弱口令。
构建参数a=s878926199a&b=s155964671a成功进入了下一个界面。具体关于MD5碰撞可以查看ctf.show_web5(MD5碰撞)。
3.3个=的MD5碰撞绕过
这里直接给出了源码。
<?php
error_reporting(0);
include "flag.php";
highlight_file(__FILE__);
if($_POST['param1']!==$_POST['param2']&&md5($_POST['param1'])===md5($_POST['param2'])){
echo $flag;
}
这里和上个界面差不多,只是==变成了===。===MD5的绕过我们可以通过传入数组来绕过。
param1[]=1¶m2[]=2
成功得到flag。
边栏推荐
- 堆排序(Heap Sort)实现
- How to add F4 Value Help trial version to the input parameters of the report in the ABAP report
- BP神经网络
- Implement the entire process of Mock API with tools
- Goose Factory Robot Dog Fancy Crossing 10m Plum Blossom Pile: Front Flip, Single Pile Jump, Get Up and Bow... No stumble in the whole process
- Oracle - table
- 21天学习挑战赛——机器学习02
- Why do programmers only close monitor from none computer after work?Look at the answer ~ each big web site
- hdu1042 N!(大数)
- leetcode 240.搜索二维矩阵II 分治思想
猜你喜欢
leetcode 240.搜索二维矩阵II 分治思想
熬夜拜读349页阿里面试通关手册,成功闯入字节
El - tree set radio, click finish after assemble
odoo 登录布局调整
干货:从零设计高并发架构
小白转行做3D游戏建模,有没有前途?
分布式文件系统fastDFS
Laravel queue consumption instance and timed task add task consumption
ptorch
How to add F4 Value Help trial version to the input parameters of the report in the ABAP report
随机推荐
LeetCode:每日一题【第二周】
浅谈C语言简单实现二分查找
MIMO雷达波束赋形
Michael Bronstein 系列长文:迈向几何深度学习(之三)——第一个几何神经网络模型
openEuler 社区 2022 年 7 月运作报告
干货:从零设计高并发架构
Ability in general, but it can be large horizontal jump freely?Where is the better?
请问shake数据库中mongoshake同步过程中,src_mongo挂了,同步服务不会退出吗?
【761. Special binary sequence】
Laravel 队列消费实例和定时任务添加任务消费
nyoj714 Card Trick (The 6th Henan Province Programming Contest)
PG 之 huge page
Shell编程之循环语句与函数
Azure Neural TTS 持续上新,助力企业开拓小语种市场
How to add F4 Value Help to the input parameters of the report in the ABAP report
ABAP 报表中如何给报表的输入参数增添 F4 Value Help 试读版
BP神经网络
一起了解分层架构&SOA架构
3D角色建模师和3D角色动画师哪个更有前景?哪个更适合小白入门?
企业进行知识共享的好处有哪些?