当前位置:网站首页>实验楼----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得到结果

边栏推荐
- MediaTek has submitted an application to the US side, striving to supply goods to China after September 15
- busybox最新版(busybox apk)
- 美国对华为禁令开始波及欧洲芯片厂商
- syntax error: non-declaration statement outside function bodygo 和 syntax error: unexpected {, expect
- 中芯国际上半年净利13.86亿元,N+1工艺已进入客户产品验证阶段
- The growth path of hardware engineers (0) -- Understanding components
- Video number from 2-3 games per week to 3 games per day
- DC simulation example of ADS simulation
- ADS仿真 之 交流仿真和S参数仿真示例
- Answer questions about the pixel, resolution and size of the picture, as well as the display size of the monitor.
猜你喜欢

频谱分析仪的性能参数

"Cloud strategy" will become an important pillar of enterprise digital transformation

GIS数据漫谈(六)— 投影坐标系统

Detailed explanation of oscilloscope parameters

USB Type-C 之CC线简介

Introduction to CC cable of USB type-C

多线程与高并发—— 源码解析 AQS 原理

示波器参数详解

WordPress prompt error in establishing database connection

USB Type-C PD快充简介
随机推荐
Food safety | will the salt content of bread exceed the standard? A few tips to teach you to eat bread correctly!
MongoDB创建索引
网络RJ45接口详解
Detailed explanation of oscilloscope parameters
1.08 billion dollars! TCL technology acquires Samsung Suzhou 8.5 generation line: the production capacity will increase by 60% in the next year!
There is a special cryptology language called asn.1
微信公众号授权登录后报redirect_uri参数错误的问题
Composition and principle of vector network analyzer (vector network)
.net WCF WF4.5 状态机、书签与持久化
Trial record of ModelBox end cloud collaborative AI development kit (rk3568) (III)
Introduction to USB type-C PD fast charging
Introduction to main parameters of antenna
GIS数据漫谈(六)— 投影坐标系统
"Cloud strategy" will become an important pillar of enterprise digital transformation
busybox最新版(busybox apk)
solidity转账函数的实现(基于transfer)
中芯国际上半年净利13.86亿元,N+1工艺已进入客户产品验证阶段
频谱仪原理简介一
The diversion between video number and official account is convenient and considerable
With so many open source frameworks, which one is better?