当前位置:网站首页>Bugkuctf-web24 (problem solving ideas and steps)
Bugkuctf-web24 (problem solving ideas and steps)
2022-07-02 09:40:00 【hangshao0.0】
Look at the question
Look everywhere for , No additional information
Grab the bag
Find out “ link ” There is a hidden in that place a label , Click the jump , Get the code
Analysis of the code
<?php
if(isset($_GET['v1']) && isset($_GET['v2']) && isset($_GET['v3'])){
$v1 = $_GET['v1'];
$v2 = $_GET['v2'];
$v3 = $_GET['v3'];
if($v1 != $v2 && md5($v1) == md5($v2)){
if(!strcmp($v3, $flag)){
echo $flag;
}
}
}
?>
Follow again md5 of , In fact, I have written an article before
https://blog.csdn.net/weixin_45254208/article/details/115425962
But not only to meet md5, Also make variables $ v3 It's equal to the variable $ flag,strcmp Unrecognized array , Go straight back to 0, It seems , All three variables can be used to construct an array to bypass
structure payload
http://114.67.246.176:17268/?v1[]=1&v2[]=2&v3[]=3
OK, Out flag 了
边栏推荐
- 三相并网逆变器PI控制——离网模式
- ZK configuration center -- configuration and use of config Toolkit
- Redis installation and deployment (windows/linux)
- Navicat remote connection MySQL reports an error 1045 - access denied for user 'root' @ '222.173.220.236' (using password: yes)
- How to use PHP spoole to implement millisecond scheduled tasks
- Amq6126 problem solving ideas
- 2837xd 代码生成——补充(2)
- 上班第一天的报错(Nessus安装winpcap报错)
- 每天睡觉前30分钟阅读_day3_Files
- 2837xd Code Generation - stateflow (4)
猜你喜欢
Bold prediction: it will become the core player of 5g
idea查看字节码配置
2837xd 代碼生成——StateFlow(4)
Microservice practice | Eureka registration center and cluster construction
2837xd code generation - Summary
2837xd code generation - stateflow (4)
Typora installation package sharing
Chrome浏览器标签管理插件–OneTab
Number structure (C language) -- Chapter 4, compressed storage of matrices (Part 2)
Tinyxml2 reading and modifying files
随机推荐
2837xd Code Generation - stateflow (4)
Learn combinelatest through a practical example
JDBC回顾
Chrome用户脚本管理器-Tampermonkey 油猴
图像识别-数据增广
Oracle modifies tablespace names and data files
MySQL default transaction isolation level and row lock
Discussion on improving development quality and reducing test bug rate
图像识别-数据标注
Bold prediction: it will become the core player of 5g
别找了,Chrome浏览器必装插件都在这了
VIM operation command Encyclopedia
Number structure (C language) -- Chapter 4, compressed storage of matrices (Part 2)
BugkuCTF-web21(详细解题思路及步骤)
VIM操作命令大全
Creation and jump of activity
hystrix 实现请求合并
2837xd 代码生成——补充(3)
Typora安装包分享
Chrome视频下载插件–Video Downloader for Chrome