当前位置:网站首页>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 了 

边栏推荐
- 在SQL注入中,为什么union联合查询,id必须等于0
- JVM instruction mnemonic
- Required request body is missing: (cross domain problem)
- Demand delineation executive summary
- JDBC回顾
- Record personal understanding and experience of game console configuration
- 并网逆变器PI控制(并网模式)
- Chrome user script manager tempermonkey monkey
- 2837xd 代码生成——总结篇
- How to install PHP in CentOS
猜你喜欢

2837xd 代码生成——补充(2)

Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedd

Chrome browser plug-in fatkun installation and introduction

自定义Redis连接池

Off grid control of three-phase inverter - PR control

Creation and jump of activity

Tinyxml2 reading and modifying files

From concept to method, the statistical learning method -- Chapter 3, k-nearest neighbor method

Web security and defense

2837xd 代码生成——补充(3)
随机推荐
Mysql默认事务隔离级别及行锁
上班第一天的报错(AWVS卸载不彻底)
Bold prediction: it will become the core player of 5g
QT qlabel style settings
From concept to method, the statistical learning method -- Chapter 3, k-nearest neighbor method
Chrome browser tag management plug-in – onetab
Double non undergraduate students enter the factory, while I am still quietly climbing trees at the bottom (Part 1)
别找了,Chrome浏览器必装插件都在这了
自定義Redis連接池
Microservice practice | Eureka registration center and cluster construction
JDBC review
Read 30 minutes before going to bed every day_ day4_ Files
int与string、int与QString互转
图像识别-数据增广
zk配置中心---Config Toolkit配置与使用
记录下对游戏主机配置的个人理解与心得
Methods of classfile
Typora安装包分享
三相逆变器离网控制——PR控制
How to install PHP in CentOS