当前位置:网站首页>“百度杯”CTF比赛 2017 二月场,Web:爆破-1
“百度杯”CTF比赛 2017 二月场,Web:爆破-1
2022-07-03 07:00:00 【Part 02】
题目内容:
flag就在某六位变量中。
include "flag.php";
$a = @$_REQUEST['hello'];
if(!preg_match('/^\w*$/',$a )){
die('ERROR');
}
eval("var_dump($$a);");
show_source(__FILE__);
?>只匹配纯字母,在 var_dump 中有两个 $,使用 GLOBALS dump 出全部变量

hello=GLOBALS
边栏推荐
- Summary of remote connection of MySQL
- UTC时间、GMT时间、CST时间
- Setting up the development environment of dataworks custom function
- [Fiddler actual operation] how to use Fiddler to capture packets on Apple Mobile Phones
- Specified interval inversion in the linked list
- Class and object summary
- JMeter JSON extractor extracts two parameters at the same time
- The education of a value investor
- Abstract learning
- Distributed ID
猜你喜欢

2022-06-23 VGMP-OSPF-域间安全策略-NAT策略(更新中)

Journal quotidien des questions (11)

机器学习 | 简单但是能提升模型效果的特征标准化方法(RobustScaler、MinMaxScaler、StandardScaler 比较和解析)

10000小时定律不会让你成为编程大师,但至少是个好的起点

2022-06-23 vgmp OSPF inter domain security policy NAT policy (under update)

golang操作redis:写入、读取kv数据

Practical plug-ins in idea

Flask Foundation

Personally design a highly concurrent seckill system

多个全局异常处理类,怎么规定执行顺序
随机推荐
dataworks自定義函數開發環境搭建
error C2017: 非法的转义序列
Laravel Web Framework
萬卷書 - 價值投資者指南 [The Education of a Value Investor]
Ruoyi interface permission verification
C2338 Cannot format an argument. To make type T formattable provide a formatter<T> specialization:
[LeetCode]404. 左叶子之和
The dynamic analysis and calculation of expressions are really delicious for flee
DNS forward query:
Inno Setup 制作安装包
【code】if (list != null && list.size() > 0)优化,集合判空实现方式
php安装composer
The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?
MySQL installation
[classes and objects] explain classes and objects in simple terms
MySQL mistakenly deleted the root account and failed to log in
How can I split a string at the first occurrence of “-” (minus sign) into two $vars with PHP?
golang操作redis:写入、读取hash类型数据
Error c2017: illegal escape sequence
Modify MySQL password