当前位置:网站首页>实验楼----PHP大法
实验楼----PHP大法
2022-07-28 17:04:00 【51CTO】
题目:http://ctf5.shiyanbar.com/DUTCTF/index.php

查看此文件发现

查看此文件:ctf5.shiyanbar.com/DUTCTF/index.php.txt
得到代码:
此处得知,会首先在提交的id中查找是否包含hackerDJ,如果包含则退出
另需要对id进行url解码,判断解码后的值是否等于hackerDJ,如果相当则得到flag
此处需要构造hackerDJ,让其同时满足此处的要求,因此可以对hackerDJ进行url编码
编码后的字符就满足了第一个条件,随后因为进行了解码过程,则会自动将我们编码后的字符
解码为需要的hackerDJ,最后得到我们需要对hackerDJ做2次编码
先将h进行url编码得到%68

对%68再次编码得到%2568

最后拼接url得到结果

边栏推荐
- Answer questions about the pixel, resolution and size of the picture, as well as the display size of the monitor.
- Temporary URL
- Go's sleep
- After CentOS uses docker to run mysql, the remote connection needs to open the port
- 一文简述:SRv6基本原理
- 7-day sales of video number exceed one million
- 低码在数字化转型中扮演什么角色?
- Introduction to the principle of signal source
- 华为中兴在英国败诉,不交专利授权费将被禁售!
- Through private channels such as official account, direct the live broadcast of video number
猜你喜欢

Fluent: exception handling

Power adapter global definition

Performance parameters of spectrum analyzer

Cloud container and cloud native

示波器参数详解

直播|StarRocks 技术内幕 :低基数全局字典优化

About the difference between root and alias under localization

欧美六国最快5日达 菜鸟推出快线产品 优化“端到端”履约服务
![[dry goods] how to establish a close relationship between support and products?](/img/ec/bc36beb0935968fec3791910e2cb0a.png)
[dry goods] how to establish a close relationship between support and products?

连线:谁拥有未来的艺术?OpenAI允许Dall-E用户将作品商用化,目前而言
随机推荐
How does the video Number import the public domain traffic to the private domain
Introduction to main parameters of antenna
After CentOS uses docker to run mysql, the remote connection needs to open the port
Yu Chengdong: Huawei is trying to cope with the US chip ban
示波器参数详解
1.08 billion dollars! TCL technology acquires Samsung Suzhou 8.5 generation line: the production capacity will increase by 60% in the next year!
Video number from 2-3 games per week to 3 games per day
The required error of solidity is reported
Members who have opened a website need to download e-book messages for free
Characteristics required for making a good video Number
Mongodb create index
Application of Internet of things in smart city
Nearly 200000 people watched a live calligraphy video
Advanced Design System(ADS)2009 射频仿真入门
天线的原理、分类及要求
频谱仪原理简介一
Iptables configuration
初识结构体
蛰伏两年!瓴盛科技首款AIoT芯片发布:三星11nm工艺,集成NPU内核!
Internet intelligence, how to define the next generation network transformation